Closed climbfuji closed 3 years ago
I'm testing it on WCOSS-Dell. I had to add two lines for the compilation of the https://github.com/NOAA-EMC/NCEPLIBS-external: 587 18:25 module use /gpfs/dell2/emc/modeling/noscrub/emc.nemspara/soft/modulefiles 588 18:25 module load netcdf_parallel/4.7.4
I'm testing it on WCOSS-Dell. I had to add two lines for the compilation of the https://github.com/NOAA-EMC/NCEPLIBS-external: 587 18:25 module use /gpfs/dell2/emc/modeling/noscrub/emc.nemspara/soft/modulefiles 588 18:25 module load netcdf_parallel/4.7.4
Thanks, I'll add them, hopefully correct. Further down, for building the model. You shouldn't (have to) load esmf/8.0.0_ParallelNetCDF
, because this is built by NCEPLIBS-external. Can you try that, please?
I still haven't got to the model. It is failing in NCEPLIBS: -- Installing NCEPLIBS from /gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS/COMPONENTS -- Installing NCEPLIBS at /gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS-external-1 -- Installing NCEPLIBS modulefiles at /gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS-external-1/modules, NCEPLIBS shell scripts at /gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS-external-1/bin CMake Error at CMakeLists.txt:259 (find_package): By not providing "FindNetCDF.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "NetCDF", but CMake did not find one.
Could not find a package configuration file provided by "NetCDF" with any of the following names:
NetCDFConfig.cmake
netcdf-config.cmake
Add the installation prefix of "NetCDF" to CMAKE_PREFIX_PATH or set "NetCDF_DIR" to a directory containing one of the above files. If "NetCDF" provides a separate development package or SDK, be sure it has been installed.
I still haven't got to the model. It is failing in NCEPLIBS: -- Installing NCEPLIBS from /gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS/COMPONENTS -- Installing NCEPLIBS at /gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS-external-1 -- Installing NCEPLIBS modulefiles at /gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS-external-1/modules, NCEPLIBS shell scripts at /gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS-external-1/bin CMake Error at CMakeLists.txt:259 (find_package): By not providing "FindNetCDF.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "NetCDF", but CMake did not find one.
Could not find a package configuration file provided by "NetCDF" with any of the following names:
NetCDFConfig.cmake netcdf-config.cmake
Add the installation prefix of "NetCDF" to CMAKE_PREFIX_PATH or set "NetCDF_DIR" to a directory containing one of the above files. If "NetCDF" provides a separate development package or SDK, be sure it has been installed.
You didn't clone NCEPLIBS with the --recursive
option, I suppose. That means the CMakeModules
submodule/subdirectory is missing.
600 18:49 git clone --recursive https://github.com/NOAA-EMC/NCEPLIBS 604 18:49 git branch -a 605 18:49 git chackout release/public-v2
Maybe wrong branch?
600 18:49 git clone --recursive https://github.com/NOAA-EMC/NCEPLIBS 604 18:49 git branch -a 605 18:49 git chackout release/public-v2
Maybe wrong branch?
I think this leaves you with the submodules (none) of the develop branch. You need to do
git clone --recursive -b release/public-v2 https://github.com/NOAA-EMC/NCEPLIBS
will try now It's compiling make failed somewhere, I'll start from the beginning.
make[2]: Leaving directory /gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS/build' [ 80%] Built target crtm make[1]: Leaving directory
/gpfs/dell2/emc/modeling/noscrub/Ratko.Vasic/wrk/tmp/NCEPLIBS-external-1/doc/src/NCEPLIBS/build'
make: *** [all] Error 2
Scanning dependencies of target NEMS.exe [100%] Building Fortran object CMakeFiles/NEMS.exe.dir/NEMS/src/MAIN_NEMS.F90.o [100%] Linking Fortran executable NEMS.exe [100%] Built target NEMS.exe
Scanning dependencies of target NEMS.exe [100%] Building Fortran object CMakeFiles/NEMS.exe.dir/NEMS/src/MAIN_NEMS.F90.o [100%] Linking Fortran executable NEMS.exe [100%] Built target NEMS.exe
Great, thanks for that. Where the instructions I sent you by email complete? I need to update the README file in this PR. Thanks!
This PR
This has been tested on all platforms (with ufs-weather-model as in https://github.com/ufs-community/ufs-weather-model/pull/248) except odin.intel, wcoss_cray, Docker container: