WRF-Chem 4.5.2 (Apolo 3)

Basic Information

Module

The production module for this version is:

module use /opt/ohpc/pub/moduledeps/gnu14-openmpi5
module load wrf-chem/4.5.2

Module dependencies configured in Apolo 3:

gnu14/14.2.0
openmpi5/5.0.7
phdf5/1.14.6
netcdf/4.9.3
netcdf-fortran/4.6.2
zlib/1.2.11
flex/2.6.4
bison/3.8.2

Environment variables exported by the module:

WRF_DIR=/opt/ohpc/pub/apps/WRF/wrf-chem/v4.5.2
WRF_CHEM=1
WRF_KPP=1

High-level Build Process

This section summarizes the process used to build and deploy WRF-Chem 4.5.2 on Apolo 3.

  1. Load compiler and MPI toolchain:

    module load gnu14/14.2.0
    module load openmpi5/5.0.7
    
  2. Configure NetCDF and GRIB-related environment variables (NetCDF-C, NetCDF-Fortran, JasPer/libpng stack).

  3. Build or validate required dependencies (zlib, libpng, jasper, flex, bison).

  4. Configure WRF-Chem with GNU/OpenMPI and chemistry options:

    export WRF_CHEM=1
    export WRF_KPP=1
    ./configure
    
  5. Compile the model (typically em_real case) and validate generated binaries.

  6. Deploy application files to:

    • /opt/ohpc/pub/apps/WRF/wrf-chem/v4.5.2

  7. Publish the module file under:

    • /opt/ohpc/pub/moduledeps/gnu14-openmpi5/wrf-chem/4.5.2

Mode of Use

  1. Load the module:

    module load wrf-chem/4.5.2
    
  2. Go to a working directory and prepare your simulation files.

  3. Ensure your namelist.input is consistent with your WPS-generated met_em files.

  4. Run the standard WRF-Chem workflow:

    ./real.exe
    ./wrf.exe
    
  5. For production runs, submit through Slurm according to Apolo 3 policies.

Quick Validation

After loading the module, validate the environment with:

echo $WRF_DIR
which mpirun
ls $WRF_DIR/main/{real.exe,wrf.exe}

References

Authors

  • Julian Valencia