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)
35 ln -s ..
/input_sounding .
36 #ln -s ../LANDUSE.TBL .
37 ln -s ..
/namelist.fire .
38 ln -s ..
/namelist.input .
40 if [ -e ..
/input_tign_g
]
42 ln -s ..
/input_tign_g .
45 #cat $PBS_NODEFILE | sort -u > nodes
46 cat $PBS_NODEFILE > nodes
47 mpirun_rsh
-np 1 -hostfile nodes OMP_NUM_THREADS
=1 .
/ideal.exe
48 mv rsl.error
.0000 ideal.error.log
49 mv rsl.out
.0000 ideal.out.log
50 mpirun_rsh
-np 12 -hostfile nodes OMP_NUM_THREADS
=1 .
/wrf.exe