File: msub_sun_chpc.sh

package info (click to toggle)
gpaw 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 14,328 kB
  • sloc: python: 111,596; ansic: 16,082; sh: 1,230; csh: 139; makefile: 56
file content (23 lines) | stat: -rwxr-xr-x 622 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
###These lines are for Moab
#MSUB -l nodes=1:ppn=8
#MSUB -l walltime=02:00:00
#MSUB -l partition=nehalem|harpertown|westmere

. /opt/gridware/modules-3.2.7/modules.sh
export APPS=`echo ~/CAMd`
export MODULEFILES="${APPS}/modulefiles"
module use --append ${MODULEFILES}
module load python
module load nose
module load numpy
module load python-ase
module load gpaw-setups
module load gpaw/0.9.0.8965-1

export OMP_NUM_THREADS=1

##### Running commands
cat $PBS_NODEFILE
NP=`cat $PBS_NODEFILE | wc -l`
mpirun -x PYTHONPATH -x GPAW_SETUP_PATH -x PATH -np $NP -machinefile $PBS_NODEFILE gpaw-python `which gpaw-test`