Merge pull request #22 from wirc-sjsu/develop-w21
[WRF-Fire-merge.git] / test / em_fire / fireflux_med / wrf.pbs
blobf24b94e64578f1f1ed43d65915c980f88645a121
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=4: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 fireflux_med
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 wrf.log
24 # Change to the run directory (where job was submitted)
25 cd $PBS_O_WORKDIR
27 cat $PBS_NODEFILE |sort -u > nodes
28 rm -f rsl.* *_*.txt wrfo* wrfr*
29 #mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
30 mpirun_rsh -np 4 -hostfile nodes OMP_NUM_THREADS=12 ./wrf.exe