atmos:software:gsi:version_2.0:compile:hpc
Table of Contents
How to Compile GSI 2.0 of programs on HPC
*Can be downloaded from the DTC GSI site. Enter the email address in the line and press enter. You will only be asked to register the first time an email address is used. After that, only the email is needed.
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 tags are 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/username/WRFV3' export PATH=$WRF_DIR:$PATH
- After updating .bashrc, use the command
source .bashrc
GSI v2.0
- Download GSI, which will come in the form of comGSI_v2.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 into the new directory and use
./configure
- Use the same compiler as used in the construction of the associated WRFV3 linked in the .bashrc
- To compile use
./compile >& compile.log & tail -f compile.log
- To see if the compilation was successful, check run directory to see if gsi.exe was created.
- A tutorial with additional compilation instructions and instructions on test cases can be found here.
*created by Brandon Austin 10/16/10
atmos/software/gsi/version_2.0/compile/hpc.txt · Last modified: 2020/01/29 17:25 by 127.0.0.1