#PBS -S /bin/bash #PBS -l nodes=1:ppn=128,walltime=480:00:00 #PBS -q chem-2 #PBS -o "VASP.out" #PBS -e "ERROR.out" #PBS -r n export P4_GLOBMEMSIZE=100000000 export PATH="/share/apps/medea/MD/Linux-x86_64/IntelMPI5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" export LD_LIBRARY_PATH="/share/apps/medea/MD/Linux-x86_64/IntelMPI5/lib:/share/apps/medea/MD/Linux-x86_64/IntelMPI5/bin:/share/apps/medea/MD/bin/Linux-x86_64:/share/apps/medea/MD/TaskServer/Tools/vasp6.4.1/Linux-x86_64:/share/apps/medea/MD/Linux-x86_64/IntelMPI5/lib" cd "/share/apps/medea/MD/TaskServer/Tasks/v-hpc-medea.nwu.ac.za-32000-task09999" echo "Running VASP on 128 cores on 1 nodes:" echo " Using executable /share/apps/medea/MD/TaskServer/Tools/vasp6.4.1/Linux-x86_64/vasp_std" echo "On nodes" cat $PBS_NODEFILE echo "" trap 'touch finished; touch interrupted' 2 9 15 mpirun -genv I_MPI_PIN 0 -np 128 "/share/apps/medea/MD/TaskServer/Tools/vasp6.4.1/Linux-x86_64/vasp_std" touch finished