#!/bin/bash ######################################################################## # SUN Grid Engine job wrapper # parallel job on opteron queue ######################################################################## #$ -N FeO #$ -pe mpich2 10-130 #$ -q wp7_hp #$ -j y #$ -M haule@physics.rutgers.edu #$ -m e #$ -v WIEN_DMFT_ROOT,LD_LIBRARY_PATH ######################################################################## # DON'T remove the following line! source $TMPDIR/sge_init.sh ######################################################################## export WIEN_DMFT_ROOT=/home/haule/dmft_w2k/bin export PYTHONPATH=/home/haule/dmft_w2k/bin export SCRATCH="." export WIENROOT=/home/haule/wien export SMPD_OPTION_NO_DYNAMIC_HOSTS=1 source /etc/profile.d/ifortvars.sh source /opt/intel/mkl/9.0/tools/environment/mklvarsem64t.sh echo "/opt/mpich2/intel/10.1/bin/mpiexec -env LD_LIBRARY_PATH /opt/intel/mkl/9.0/lib/em64t -port $port -np $NSLOTS -machinefile $TMPDIR/machines" > mpi_prefix.dat # Copy current imp.x subdirectory, if exists. rcp -r rupc06:$SGE_O_WORKDIR/imp.? $HOME/$jobdir/ # First, run one LDA iteration, to get EF $WIENROOT/run_lapw -s lapw0 -e lcore -f FeO > lnohup.dat 2>&1 # Run dmft $WIEN_DMFT_ROOT/run_dmft.py > wnohup.dat 2>&1