-
Notifications
You must be signed in to change notification settings - Fork 0
/
iqs_1D
31 lines (23 loc) · 832 Bytes
/
iqs_1D
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
#PBS -N amp_test_myintegerdt
#PBS -l select=1:ncpus=6:mpiprocs=1:mem=6GB
#PBS -l place=scatter:excl
#PBS -l walltime=30:00:00
#PBS -joe
#PBS -ko
JOB_NUM=${PBS_JOBID%%\.*}
cd $PBS_O_WORKDIR
ln -s $HOME/$PBS_JOBNAME.o$JOB_NUM $PBS_JOBNAME.o$JOB_NUM
NSLOTS=`cat $PBS_NODEFILE | wc -l`
NSTART=`cat $PBS_NODEFILE | uniq`
source /etc/profile.d/modules.sh
export MODULEPATH=$MODULEPATH:/apps/projects/moose/modulefiles
module load moose-dev-gcc
export OMP_NUM_THREADS=1
export MV2_ENABLE_AFFINITY=0
date
echo $NSLOTS
mpiexec -n $NSLOTS ../../yak-opt -i iqs_1D.i Executioner/dt=mydt Executioner/n_micro=myamp Outputs/file_base=iqs_1D_dt_myintegerdt_amp_myintegeramp --n-threads=1 > console_iqs_1D_dt_myintegerdt_amp_myintegeramp.txt
date
rm $PBS_JOBNAME.o$JOB_NUM
mv $HOME/$PBS_JOBNAME.o$JOB_NUM $PBS_JOBNAME.o$JOB_NUM