This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:wrf [2020/10/14 13:46] ccrosby [Running ARW / WRF at the CHPC] |
howto:wrf [2022/10/27 18:42] (current) thlatshwayo |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ====== Warning: mpirun parameters changed ====== | ====== Warning: mpirun parameters changed ====== | ||
| - | It has been necessary to change some of our MPI installations. | + | It has been necessary to change some of our MPI installations. |
| '' | '' | ||
| Line 56: | Line 56: | ||
| #PBS -l select=10: | #PBS -l select=10: | ||
| #PBS -l walltime=3: | #PBS -l walltime=3: | ||
| - | #PBS -o /home/username/scratch/ | + | #PBS -o /mnt/lustre/users/ |
| - | #PBS -e /home/username/scratch/ | + | #PBS -e /mnt/lustre/users/jblogs/ |
| #PBS -m abe | #PBS -m abe | ||
| - | #PBS -M username@unseenuniversity.ac.za | + | #PBS -M jblogs@unseenuniversity.ac.za |
| ### Source the WRF-4.1.1 environment: | ### Source the WRF-4.1.1 environment: | ||
| export WRFDIR=/ | export WRFDIR=/ | ||
| Line 67: | Line 67: | ||
| ##### Running commands | ##### Running commands | ||
| # Set PBS_JOBDIR to where YOUR simulation will be run | # Set PBS_JOBDIR to where YOUR simulation will be run | ||
| - | export PBS_JOBDIR=/ | + | export PBS_JOBDIR=/ |
| # First though, change to YOUR WPS directory | # First though, change to YOUR WPS directory | ||
| - | export WPS_DIR=/export/home/username/scratch/WPS_test | + | export WPS_DIR=/mnt/lustre/users/jblogs/WPS_test |
| cd $WPS_DIR | cd $WPS_DIR | ||
| # Clean the directory of old files | # Clean the directory of old files | ||
| Line 114: | Line 114: | ||
| #PBS -l select=10: | #PBS -l select=10: | ||
| #PBS -l walltime=3: | #PBS -l walltime=3: | ||
| - | #PBS -o /home/username/scratch/ | + | #PBS -o /mnt/lustre/users/ |
| - | #PBS -e /home/username/scratch/ | + | #PBS -e /mnt/lustre/users/jblogs/ |
| #PBS -m abe | #PBS -m abe | ||
| - | #PBS -M username@unseenuniversity.ac.za | + | #PBS -M jblogs@unseenuniversity.ac.za |
| ### Source the WRF-4.1.1 environment with parallel NetCDF: | ### Source the WRF-4.1.1 environment with parallel NetCDF: | ||
| export WRFDIR=/ | export WRFDIR=/ | ||
| Line 125: | Line 125: | ||
| ##### Running commands | ##### Running commands | ||
| # Set PBS_JOBDIR to where YOUR simulation will be run | # Set PBS_JOBDIR to where YOUR simulation will be run | ||
| - | export PBS_JOBDIR=/ | + | export PBS_JOBDIR=/ |
| cd $PBS_JOBDIR | cd $PBS_JOBDIR | ||
| exe=$WRFDIR/ | exe=$WRFDIR/ | ||
| Line 147: | Line 147: | ||
| #PBS -l walltime=06: | #PBS -l walltime=06: | ||
| #PBS -N WRF4-10X6X4 | #PBS -N WRF4-10X6X4 | ||
| - | #PBS -o /home/userid/ | + | #PBS -o /mnt/lustre/ |
| - | #PBS -e /home/userid/ | + | #PBS -e /mnt/lustre/ |
| ### These two stack size settings are essential for use with Intel-compiled code | ### These two stack size settings are essential for use with Intel-compiled code | ||
| ulimit -s unlimited | ulimit -s unlimited | ||
| Line 154: | Line 154: | ||
| ### Source the appropriate environment script | ### Source the appropriate environment script | ||
| . / | . / | ||
| - | export PBSJOBDIR=/home/userid/ | + | export PBSJOBDIR=/mnt/lustre/ |
| cd $PBSJOBDIR | cd $PBSJOBDIR | ||
| ### Get total number of MPI ranks | ### Get total number of MPI ranks | ||