#!/bin/bash ######################################################################## # SUN Grid Engine job wrapper # parallel job on opteron queue ######################################################################## #$ -N URu2Si2 #$ -pe mpi 8-64 #$ -q wp5_hp #$ -j y #$ -M haule@physics.rutgers.edu #$ -m e #$ -v LMTO_DMFT_ROOT,LD_LIBRARY_PATH ######################################################################## # DON'T remove the following line! source $TMPDIR/sge_init.sh ######################################################################## #export PATH=/opt/mpich2-gnu/bin:$PATH export LMTO_DMFT_ROOT=/home/haule/lmto_dmft/bin source /etc/profile.d/mklvarsem64t.sh source /etc/profile.d/ifortvars.sh echo "/opt/mpich-1.2.7-gnu/bin/mpirun -np $NSLOTS -machinefile $TMPDIR/machines" > mpi_prefix.dat #echo "rcp -r $HOST:$SGE_O_WORKDIR/ksum $HOME/$jobdir/" > what_should_copy.dat rcp -r rupc06:$SGE_O_WORKDIR/ksum $HOME/$jobdir/ rcp -r rupc06:$SGE_O_WORKDIR/imp.? $HOME/$jobdir/ #rcp -r rupc04:$SGE_O_WORKDIR/ksum /parallel/$jobdir/ /opt/mpich-1.2.7-gnu/bin/mpirun -np $NSLOTS -machinefile $TMPDIR/machines /usr/local/bin/mpi4py ./dmft.py