geoschem / GCHP

The "superproject" wrapper repository for GCHP, the high-performance instance of the GEOS-Chem chemical-transport model.
https://gchp.readthedocs.io
Other
23 stars 27 forks source link

Performing Test FORTRAN_COMPILER_SUPPORTS_FINDLOC: FAILURE #442

Closed InterstellarPenguin closed 2 months ago

InterstellarPenguin commented 2 months ago

Your name

Guo LinYang

Your affiliation

University of Chinese Academy of Science

What happened? What did you expect to happen?

Hi, all! I've encountered in issue while the process 'cmake'. Here is my steps and my environment file.

What are the steps to reproduce the bug?

(base) [zhujw@server02 build]$ source /public/home/zhujw/work/guoly/GCHP.intel23.env Currently Loaded Modulefiles: 1) compiler/intel/2017.5.239 2) mpi/intelmpi/2017.4.239 3) mathlib/netcdf/intel/4.4.1 4) compiler/cmake/3.23.5 5) apps/esmf/intelmpi/8.5.0 (base) [zhujw@server02 build]$ cmake ../CodeDir -DRUNDIR=.. -- The CXX compiler identification is Intel 17.0.5.20170817 -- The C compiler identification is Intel 17.0.5.20170817 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/hpc/software/compiler/intel/intel-compiler-2017.5.239/bin/intel64/icpc - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /public/software/mpi/intelmpi/2017.4.239/intel64/bin/mpiicc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found NetCDF: /public/software/mathlib/libs-intel/netcdf/4.4.1/lib/libnetcdff.so
-- Found ESMF: /public/software/apps/esmf-8.5.0/intelmpi/include (found version "8.5.0") -- Found MPI_C: /public/software/mpi/intelmpi/2017.4.239/intel64/bin/mpiicc (found version "3.1") -- Found MPI_CXX: /public/software/mpi/intelmpi/2017.4.239/intel64/lib/libmpicxx.so (found version "3.1") -- Found MPI_Fortran: /public/software/mpi/intelmpi/2017.4.239/intel64/bin/mpiifort (found version "3.1") -- Found MPI: TRUE (found version "3.1")
-- Found Git: /usr/bin/git (found version "1.8.3.1") -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void -- Check size of void - done -- Check size of off_t -- Check size of off_t - done -- Performing Test FORTRAN_COMPILER_SUPPORTS_ASSUMED_TYPE -- Performing Test FORTRAN_COMPILER_SUPPORTS_ASSUMED_TYPE: SUCCESS -- Performing Test FORTRAN_COMPILER_SUPPORTS_FINDLOC -- Performing Test FORTRAN_COMPILER_SUPPORTS_FINDLOC: FAILURE CMake Error at ESMA_cmake/compiler/flags/Intel_Fortran.cmake:59 (message): Unknown processor. Contact Matt Thompson Call Stack (most recent call first): ESMA_cmake/compiler/esma_compiler.cmake:9 (include) ESMA_cmake/esma.cmake:48 (include) CMakeLists.txt:55 (include)

-- Configuring incomplete, errors occurred! See also "/public/home/zhujw/work/guoly/run-GCHP/Jena-test/build/CMakeFiles/CMakeOutput.log". image

Please attach any relevant configuration and log files.

CMakeOutput.log GCHP.intel23.env.txt

What GCHP version were you using?

14.4.3

What environment were you running GCHP on?

Local cluster

What compiler and version were you using?

ifort version 17.0.5

What MPI library and version were you using?

Intel(R) MPI Library for Linux* OS, Version 2017 Update 4 Build 20170817 (id: 17752)

Will you be addressing this bug yourself?

Yes

Additional information

No response

InterstellarPenguin commented 2 months ago

The issue has been solved by changing environment varibles and cleaning the build dir