Merge pull request #22 from wirc-sjsu/develop-w21
[WRF-Fire-merge.git] / test / em_fire / fireflux_med / 72x1.pbs
blobf22bae8c40bc463fdac4495a1fb93e562a982a60
1 #!/bin/bash
2 # copy this script to your run directory and modify as desired
3 # do NOT commit a copy!
5 # Set the number of nodes and processes per node
6 # each node contains 12 processing cores
7 #PBS -l nodes=6:ppn=12
9 # Set the maximum amount of the time the job will run (HH:MM:SS)
10 #PBS -l walltime=30:00:00
12 # Give the job a name
13 #PBS -N ffmed_72x1
15 # Keep all environment variables from the current session (PATH, LD_LIBRARY_PATH, etc)
16 #PBS -V
18 # Merge stderr and stdout
19 #PBS -j oe
21 # Set log file
22 #PBS -o 72x1.log
24 # Change to the run directory (where job was submitted)
25 cd $PBS_O_WORKDIR
27 WD=72x1.dir
28 rm -rf $WD
29 mkdir $WD
30 cd $WD
31 pwd
32 ln -s ../ideal.exe .
33 ln -s ../input_fc .
34 ln -s ../input_ht .
35 ln -s ../input_lu .
36 ln -s ../input_sounding .
37 ln -s ../LANDUSE.TBL .
38 ln -s ../namelist.fire .
39 ln -s ../namelist.input .
40 ln -s ../wrf.exe .
42 cat $PBS_NODEFILE > nodes
43 mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
44 mpirun_rsh -np 72 -hostfile nodes OMP_NUM_THREADS=1 ./wrf.exe