2 # copy this script to your run directory and modify as desired
4 # Set the number of nodes and processes per node
5 # each node contains 12 processing cores
8 # Set the maximum amount of the time the job will run (HH:MM:SS)
9 #PBS -l walltime=03:00:00
14 # Keep all environment variables from the current session (PATH, LD_LIBRARY_PATH, etc)
17 # Merge stderr and stdout
23 # Change to the run directory (where job was submitted)
30 rm -f rsl.
* wrfout
* wrfrst
* core
*
36 ln -s ..
/input_sounding .
37 ln -s ..
/LANDUSE.TBL .
38 ln -s ..
/namelist.fire .
39 ln -s ..
/namelist.fire_emissions .
40 ln -s ..
/namelist.input .
42 if [ -e ..
/input_tign_g
]
44 ln -s ..
/input_tign_g .
47 #cat $PBS_NODEFILE | sort -u > nodes
48 cat $PBS_NODEFILE > nodes
50 mpirun
-np 1 -f nodes .
/ideal.exe
51 mv rsl.error
.0000 ideal.error.log
52 mv rsl.out
.0000 ideal.out.log
53 mpirun
-np 6 -f nodes .
/wrf.exe