3 # Set the number of nodes and processes per node
4 # each node contains 12 processing cores
7 # Set the maximum amount of the time the job will run (HH:MM:SS)
8 #PBS -l walltime=24:00:00
13 # Keep all environment variables from the current session (PATH, LD_LIBRARY_PATH, etc)
18 # Change to the run directory (where job was submitted)
23 # If the binary supports openmp, we should specify the number of thread to use
24 # per process using the OMP_NUM_THREADS variable.
25 export OMP_NUM_THREADS
=1
27 # Execute the program through mpi with the machine file specified by PBS
28 mpirun
-np 12 -machinefile $PBS_NODEFILE .
/wrf.exe