atmos:software:wrf:3.2.1:compile:hpc
Table of Contents
How to Compile WRF 3.2.1 suite of programs on HPC
*Can be downloaded from the WRF-ARW site. Scroll to the bottom and click whether you are a new or returning user. If you are new, you will have to fill out a simple for to register before downloading. Returning users will only need their email address they previously registered with.@default
Prep
- While in your home directory on hpc, open the file .bashrc with your favorite text editing program. ex. (vi , pico)
- Make sure that the following is included if using Portland Group compilers
#PORTLAND PGI=/opt/pgi; export PGI MANPATH=$MANPATH:$PGI/linux86-64/7.2/man LM_LICENSE_FILE=$PGI/license.dat:$LM_LICENSE_FILE PATH=$PGI/linux86-64/7.2/bin:$PATH PATH=$PGI/linux86-64/7.2/mpi2/mpich/python32/bin/:$PGI/linux86-64/7.2/mpi2/mpich/bin:$PATH #NETCDF export NETCDF='/usr/local/netcdf' export PATH=$NETCDF/bin:$PATH export WRF_DIR='/home/austinbl/wrf311/WRFV3' export PATH=$WRF_DIR:$PATH #NCAR Graphics export NCARG_ROOT=/usr/local export PATH=$NCARG_ROOT/bin:$PATH # for WPS export JASPERLIB='/usr/local/lib' export JASPERINC='/usr/local/include' export PATH=$JASPERLIB:$JASPERINC:$PATH
- After updating .bashrc, use the command
source .bashrc
WRFV3
- Download WRF version 3.2.1 which will come in the form of WRFV3.2.1.TAR.gz.
- Then transfer the file to hpc with the command
scp file username@hpc.atmos.und.edu:/home/username
- Once the file is on hpc, you must untar and ungzip the file.
tar xzf filename
- Move to the WRFV3 and use the online compilation instructions.
- If compiling with the Portland Group compilers, chose the following
4. Linux x86_64, PGI compiler with gcc (dm+sm)
WPS
- Download WPS and transfer to hpc as in WRFV3 steps 1 and 2.
- Use the online compiling instructions. Make sure to use the same compiler as used with WRFV3.
atmos/software/wrf/3.2.1/compile/hpc.txt · Last modified: 2020/01/29 17:25 by 127.0.0.1