Updated HPC scripts.

这个提交包含在:
Craig Warren
2016-08-09 11:56:46 +01:00
父节点 ea9abccdf2
当前提交 21632a43ce
共有 4 个文件被更改,包括 9 次插入12 次删除

查看文件

@@ -0,0 +1,31 @@
#!/bin/sh
#####################################################################################
### Change to current working directory:
#$ -cwd
### Specify runtime (hh:mm:ss):
#$ -l h_rt=01:00:00
### Email options:
#$ -m ea -M joe.bloggs@email.com
### Parallel environment ($NSLOTS):
#$ -pe sharedmem 16
### Job script name:
#$ -N gprmax_omp.sh
#####################################################################################
### Initialise environment module
. /etc/profile.d/modules.sh
### Load Anaconda environment for gprMax, i.e. Python 3 and required packages
module load anaconda
source activate gprMax
### Set number of OpenMP threads
export OMP_NUM_THREADS=$NSLOTS
### Run gprMax with input file
cd $HOME/gprMax
python -m gprMax mymodel.in -n 100