User Tools

Site Tools


atmos:software:gsi:version_2.0:compile:hpc

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

  1. While in your home directory on hpc, open the file .bashrc with your favorite text editing program. ex. (vi , pico)
  2. 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
  3. After updating .bashrc, use the command
    source .bashrc

GSI v2.0

  1. Download GSI, which will come in the form of comGSI_v2.tar.gz.
  2. Then transfer the file to hpc with the command
     scp file username@hpc.atmos.und.edu:/home/username 
  3. Once the file is on hpc, you must untar and ungzip the file.
     tar xzf filename 
  4. Move into the new directory and use
    ./configure
    1. Use the same compiler as used in the construction of the associated WRFV3 linked in the .bashrc
  5. To compile use
    ./compile >& compile.log &
    
    tail -f compile.log
  6. To see if the compilation was successful, check run directory to see if gsi.exe was created.
  7. 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