Hello,
I try to compile GSI3.7 with cmake and I face some problems. My modules used to compile the GSI3.7 are 1) Intel_compiler/18.0.4 ; 2) mkl/18.0.4 ; 3) MPI/mpich/intel2018 ; 4) hdf5/1.8.11 ; 5) netcdf/4.4 ; 6) cmake/3.20.3 ; 7) curl/7.59.0 .
Error is main as follows:
The hostname is ln1
-- BUILD_CORELIBS manually-specified as ON
Setting paths for Generic System
/vol6/home/tianxj/yhluo/gsi/comGSIv3.7_EnKFv1.3
Setting Intel flags
Compiler version is 18.0.5
Compiler version is 18.0.5
Using installed FindMPI
include dirs are /vol6/software/mpi/mpi-intel2018/include
include PATH /vol6/software/mpi/mpi-intel2018/include
MPI version is 3.0
MPI f90 version is TRUE
MPI f08 version is FALSE
-- Could NOT find CURL (missing: CURL_INCLUDE_DIR) (found version "7.59.0")
trying to find lapack, GENERIC,
-- Configuring done
CMake Warning (dev) at libsrc/w3nco/CMakeLists.txt:14 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target
"/vol6/home/tianxj/yhluo/gsi/build/lib/libsigio_v2.0.1.a" of target
"w3nco_v2.0.6" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0110 is not set: add_test() supports arbitrary characters in test
names. Run "cmake --help-policy CMP0110" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
The following name given to add_test() is invalid if CMP0110 is not set or
set to OLD:
`
arw_binary´
This warning is for project developers. Use -Wno-dev to suppress it.
And the all ouput is in the picture.
Thank you in advance.
error.png , error2.png