Dear UFS's support team,
I'm a new user of UFS model. Currently, I have been compiling the UFS model with Short-Range Weather Application. However, at the make stage, I got the error like that:
[ 4%] Performing configure step for 'UFS_UTILS'
[ 8%] Performing configure step for 'ufs_weather_model'
[ 12%] Performing configure step for 'EMC_post'
CMake Error at CMakeLists.txt:22 (message):
NONE is not a valid application.Valid Applications are:
ATM;ATMAERO;ATMW;S2S;S2SW;NG-GODAS;NG-GODAS-NEMSDATM
-- Configuring incomplete, errors occurred!
See also "/work/users/weather/user/manh/ufs-srweather-app/build/src/ufs_weather_model/src/ufs_weather_model-build/CMakeFiles/CMakeOutput.log".
make[2]: *** [src/ufs_weather_model/src/ufs_weather_model-stamp/ufs_weather_model-configure] Error 1
make[1]: *** [src/CMakeFiles/ufs_weather_model.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMake Error at /work/users/weather/user/manh/WRF-CMAQ/LIBRARIES/cmake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find NetCDF (missing: NetCDF_INCLUDE_DIRS)
Call Stack (most recent call first):
/work/users/weather/user/manh/WRF-CMAQ/LIBRARIES/cmake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
CMakeModules/Modules/FindNetCDF.cmake:291 (find_package_handle_standard_args)
CMakeLists.txt:52 (find_package)
-- Configuring incomplete, errors occurred!
See also "/work/users/weather/user/manh/ufs-srweather-app/build/src/UFS_UTILS/src/UFS_UTILS-build/CMakeFiles/CMakeOutput.log".
make[2]: *** [src/UFS_UTILS/src/UFS_UTILS-stamp/UFS_UTILS-configure] Error 1
make[1]: *** [src/CMakeFiles/UFS_UTILS.dir/all] Error 2
CMake Error at CMakeLists.txt:34 (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.cmakeAdd 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.
-- Configuring incomplete, errors occurred!
See also "/work/users/weather/user/manh/ufs-srweather-app/build/src/EMC_post/src/EMC_post-build/CMakeFiles/CMakeOutput.log".
make[2]: *** [src/EMC_post/src/EMC_post-stamp/EMC_post-configure] Error 1
make[1]: *** [src/CMakeFiles/EMC_post.dir/all] Error 2
make: *** [all] Error 2
This is my result after running the cmake stage:
UFS Short Range Weather App Configuration Summary
===================================================
# General
---------
SRWA Version: 1.0.0
Configured On: Sat Jul 3 11:31:02 +07 2021
Host System: x86_64-Linux-3.10.0-957.27.2.el7.x86_64
Build Directory: /work/users/weather/user/manh/ufs-srweather-app/build
Install Prefix: /work/users/weather/user/manh/ufs-srweather-app
# Compiling Options
-------------------
C Compiler: /usr/bin/cc
CFLAGS:
CPPFLAGS:
C++ Compiler: /usr/bin/c++
Fortran Compiler: /usr/bin/gfortran
-- Configuring done
-- Generating done
-- Build files have been written to: /work/users/weather/user/manh/ufs-srweather-app/build
Please help me to solve this problem!
Any suggestions will be appreciated.
Thanks all,
Bests,
Manh,
- 172 views