(2023-02-27) Lab Notebook: HRLDAS
Warning
This is as a Lab Notebook which describes how to solve a specific problem at a specific time. Please keep this in mind as you read and use the content. Please pay close attention to the date, version information and other details.
HRLDAS installation (2023-02-27)
HRLDAS is the High Resolution Land Data Assimilation System. Its user guide can be found here and its code is located here.
To install on ICER, the command sequence is:
Clone the repository and submodules
git clone --recurse-submodules https://github.com/NCAR/hrldas
Change to the repository directory
cd ~/hrldas/hrldas
Configure the setup. For parallel computing, choose option 4.
perl configure
Run these commands in sequence:
module purge
ml iccifort/2020.1.217 impi/2019.7.217
ml JasPer/2.0.14
ml netCDF-Fortran/4.5.2
Open the file user_build_options in your favorite editor.
In this file, change the following lines:
COMPILERF90 = mpiifort
NETCDFMOD = -I/opt/software/netCDF-Fortran/4.5.2-iimpi-2020a/include
NETCDFLIB = -L/opt/software/netCDF-Fortran/4.5.2-iimpi-2020a/lib -lnetcdff -L/opt/software/netCDF/4.7.4-iimpi-2020a/lib64 -L/opt/software/iccifort/2020.1.217/lib/intel64 -lnetcdf -lnetcdf -lm -liomp5 -lpthread
Run make
. The compilation should succeed.
Warning
This is for Intel MPI compilation. It is likely that other architectures will have performance/instruction issues, especially intel14.