User Tools

Site Tools


howto:wrf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howto:wrf [2019/06/18 14:52]
ccrosby [Running ARW / WRF at the CHPC]
howto:wrf [2019/06/18 14:55] (current)
ccrosby [WRF, Parallel NetCDF and I/O Quilting]
Line 47: Line 47:
 #PBS -m abe #PBS -m abe
 #PBS -M username@unseenuniversity.ac.za #PBS -M username@unseenuniversity.ac.za
-### Source the WRF-3.environment:​ +### Source the WRF-4.1.1 environment:​ 
-export WRFDIR=/​apps/​chpc/​earth/​WRF-3.8-impi_hwl+export WRFDIR=/​apps/​chpc/​earth/​WRF-4.1.1-pnc-impi
 . $WRFDIR/​setWRF . $WRFDIR/​setWRF
 # Set the stack size unlimited for the intel compiler # Set the stack size unlimited for the intel compiler
Line 82: Line 82:
 nnodes=`cat hosts | wc -l` nnodes=`cat hosts | wc -l`
 # Run real.exe with one process per node # Run real.exe with one process per node
-exe=$WRFDIR/​WRFV3/​run/​real.exe+exe=$WRFDIR/​WRF/​run/​real.exe
 mpirun -np $nnodes -machinefile hosts $exe &> real.out mpirun -np $nnodes -machinefile hosts $exe &> real.out
 # Run wrf.exe with the full number of processes # Run wrf.exe with the full number of processes
-exe=$WRFDIR/​WRFV3/​run/​wrf.exe+exe=$WRFDIR/​WRF/​run/​wrf.exe
 mpirun -np $nproc -machinefile $PBS_NODEFILE $exe &> wrf.out mpirun -np $nproc -machinefile $PBS_NODEFILE $exe &> wrf.out
 </​file>​ </​file>​
Line 105: Line 105:
 #PBS -m abe #PBS -m abe
 #PBS -M username@unseenuniversity.ac.za #PBS -M username@unseenuniversity.ac.za
-### Source the WRF-3.environment with parallel NetCDF: +### Source the WRF-4.1.1 environment with parallel NetCDF: 
-export WRFDIR=/​apps/​chpc/​earth/​WRF-3.8-pnc-impi+export WRFDIR=/​apps/​chpc/​earth/​WRF-4.1.1-pnc-impi
 . $WRFDIR/​setWRF . $WRFDIR/​setWRF
 # Set the stack size unlimited for the intel compiler # Set the stack size unlimited for the intel compiler
Line 114: Line 114:
 export PBS_JOBDIR=/​home/​username/​scratch/​WRFV3_test/​run export PBS_JOBDIR=/​home/​username/​scratch/​WRFV3_test/​run
 cd $PBS_JOBDIR cd $PBS_JOBDIR
-exe=$WRFDIR/​WRFV3/​run/​wrf.exe+exe=$WRFDIR/​WRF/​run/​wrf.exe
 # Clear and re-set the lustre striping for the job directory. ​ For the lustre configuration ​ # Clear and re-set the lustre striping for the job directory. ​ For the lustre configuration ​
 # used by CHPC, a stripe size of 12 should work well. # used by CHPC, a stripe size of 12 should work well.
Line 140: Line 140:
 export OMP_STACKSIZE=2G export OMP_STACKSIZE=2G
 ### Source the appropriate environment script ### Source the appropriate environment script
-. /​apps/​chpc/​earth/​WRF-4.0-pnc-impi/​setWRF+. /​apps/​chpc/​earth/​WRF-4.1.1-pnc-impi/​setWRF
 export PBSJOBDIR=/​home/​userid/​lustre/​WRFrun/​wrf4.out export PBSJOBDIR=/​home/​userid/​lustre/​WRFrun/​wrf4.out
 cd $PBSJOBDIR cd $PBSJOBDIR
/var/www/wiki/data/pages/howto/wrf.txt · Last modified: 2019/06/18 14:55 by ccrosby