-
-
Save anonymous/30e5f15373dd116dda41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#PBS -N GPUtest | |
#PBS -q gpu | |
#PBS -l nodes=2:ppn=4 -n | |
#PBS -j oe | |
#PBS -m abe | |
#PBS -M Parker.deWaal@vai.org | |
cd $PBS_O_WORKDIR | |
export PATH=$PATH:/home/parker.dewaal/applications/GPUmpi/bin | |
list=`cat $PBS_NODEFILE|uniq`;for item in $list; do echo 10.152.220.$((`echo $item |sed -e 's/node//g;s/^0*//g'` +20));done >nodes | |
grompp_mpi -f prod.mdp -c ../npt/npt.gro -p topol -o prod1 | |
mpirun -f nodes -np 8 mdrun_mpi -deffnm prod1 -pin on -gpu_id 0123 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment