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=09: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 .
48 #cat $PBS_NODEFILE | sort -u > nodes
49 cat $PBS_NODEFILE > nodes
51 which mpirun_rsh
>> env.log
52 mpirun
-np 1 -f nodes .
/ideal.exe
53 mv rsl.error
.0000 ideal.error.log
54 mv rsl.out
.0000 ideal.out.log
55 #matlab < ../make_usgs.m
56 mpirun
-np 12 -f nodes .
/wrf.exe