NCAR / wrf_hydro_nwm_public

WRF-Hydro model code
https://ral.ucar.edu/projects/wrf_hydro
Other
181 stars 139 forks source link

CMake Doesn't Build Crocus #610

Closed scrasmussen closed 2 years ago

scrasmussen commented 2 years ago

Expected Behavior

When building with CMake the Crocus modules should build.

Current Behavior

The following error occurs when using CMake.

/glade/u/home/soren/src/wrf_hydro/cmake-crocus-fix/trunk/NDHMS/Land_models/NoahMP/phys/module_sf_noahmpdrv.F:96:9:

   96 |     USE module_snowcro
      |         1
Fatal Error: Cannot open module file ‘module_snowcro.mod’ for reading at (1): No such file or directory

Possible Solution

Just need to add the Crocus files to the appropriate CMakeLists.txt files. Working on it!

Steps to Reproduce (for bugs)

  1. mkdir build; cd build
  2. cmake ..
  3. make