Skip to content

Commit

Permalink
MPI library clarification and WRF-Hydro version numbering fix
Browse files Browse the repository at this point in the history
  • Loading branch information
scrasmussen committed Nov 6, 2024
1 parent 478044c commit bb3f440
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/README.build.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ https://ral.ucar.edu/projects/wrf_hydro
- Cray (ftn)
- Intel (ifort)
- NVidia (nvfortran)
* MPI libraries (MPICH or Open MPI)
* MPI library (MPICH, Open MPI, etc.)
* NetCDF C & Fortran libraries v4.0+

Please note that these libraries need to be compiled with the same set of
Expand All @@ -26,16 +26,16 @@ Download and unpack the source code and navigate to the directory where you
will compile the code:

```
$ wget https://github.com/NCAR/wrf_hydro_nwm_public/archive/refs/tags/v5.4.0.tar.gz
$ tar zxf v5.4.0.tar.gz
$ wget https://github.com/NCAR/wrf_hydro_nwm_public/archive/refs/tags/v5.3.0.tar.gz
$ tar zxf v5.3.0.tar.gz
$ cd wrf_hydro_nwm_public-5.3.0/src
```

2. Compile using CMake

Create build directory, configure with CMake, and then compile.
Create build directory, configure with CMake, and then compile.
See the [CMake Build link](https://github.com/NCAR/wrf_hydro_nwm_public/blob/main/docs/BUILD.md#cmake-build)
for a table of WRF-Hydro specific configuration options.
for a table of WRF-Hydro specific configuration options.
The user can enable debug mode, nudging, etc.

```
Expand All @@ -49,7 +49,6 @@ This should result in the creation of a 'Run' directory populated with the
appropriate template parameter tables and namelists for the land surface model
selected as well as a model executable that is then symlinked to wrf_hydro.exe.

Note that, as mentioned above, passing the environment variable file as an
Note that, as mentioned above, passing the environment variable file as an
argument to the compile script is optional. However, if this is not passed the
desired environment variables must be set prior to running the compile script.

0 comments on commit bb3f440

Please sign in to comment.