We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On arm-darwin/conda with gfortran-clang-mpich toolchain, PAHM erroneously complains about a compiler mismatch.
Setting CMAKE_C_COMPILER to: /opt/conda/envs/schism/bin/mpicc. Setting CMAKE_Fortran_COMPILER to: /opt/conda/envs/schism/bin/mpifort. -- The C compiler identification is Clang 14.0.6 -- The Fortran compiler identification is GNU 11.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /opt/conda/envs/schism/bin/mpicc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking whether Fortran compiler has -isysroot -- Checking whether Fortran compiler has -isysroot - no -- Checking whether Fortran compiler supports OSX deployment target flag -- Checking whether Fortran compiler supports OSX deployment target flag - yes -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /opt/conda/envs/schism/bin/mpifort - skipped -- PROJECT_NAME ................ PaHM -- PROJECT_VERSION ............. 1.0.0 -- PROJECT_SOURCE_DIR .......... /Users/Lemmen/devel/noaa/CoastalApp/PAHM -- PROJECT_BINARY_DIR .......... /Users/Lemmen/devel/noaa/CoastalApp/PAHM/build -- CMAKE_C_COMPILER ............ /opt/conda/envs/schism/bin/mpicc -- CMAKE_C_COMPILER_ID ......... Clang 14.0.6 (mpicc) -- CMAKE_CXX_COMPILER .......... -- CMAKE_CXX_COMPILER_ID ....... () -- CMAKE_Fortran_COMPILER ...... /opt/conda/envs/schism/bin/mpifort -- CMAKE_Fortran_COMPILER_ID ... GNU 11.3.0 (mpifort) -- CMAKE_SYSTEM_NAME ........... Darwin -- CMAKE_Platform .............. conda -- SYS_NAME .................... darwin -- SYS_COMPILER_ID ............. gnu -- CMAKE_BUILD_TYPE ............ Release -- CMAKE_SOURCE_DIR ............ /Users/Lemmen/devel/noaa/CoastalApp/PAHM -- CMAKE_BINARY_DIR ............ /Users/Lemmen/devel/noaa/CoastalApp/PAHM/build -- CMAKE_MODULE_PATH ........... /Users/Lemmen/devel/noaa/CoastalApp/PAHM/cmake;/Users/Lemmen/devel/noaa/CoastalApp/PAHM/cmake/Platforms;/Users/Lemmen/devel/noaa/CoastalApp/PAHM/cmake/Modules -- CMAKE_INSTALL_PREFIX ........ /Users/Lemmen/devel/noaa/CoastalApp/PAHM_INSTALL -- CMAKE_INSTALL_BINDIR ........ /Users/Lemmen/devel/noaa/CoastalApp/PAHM_INSTALL -- CMAKE_INSTALL_LIBDIR ........ /Users/Lemmen/devel/noaa/CoastalApp/PAHM_INSTALL -- CMAKE_INSTALL_INCLUDEDIR .... /Users/Lemmen/devel/noaa/CoastalApp/PAHM_INSTALL/include -- CMAKE_INSTALL_DATADIR ....... /Users/Lemmen/devel/noaa/CoastalApp/PAHM_INSTALL/share -- CMAKE_INSTALL_DOCDIR ........ /Users/Lemmen/devel/noaa/CoastalApp/PAHM_INSTALL/share/doc -- Found NetCDF: /opt/conda/envs/schism/include (found version "4.8.1") found components: C Fortran -- FindNetCDF defines targets: -- - NetCDF_VERSION [4.8.1] -- - NetCDF_PARALLEL [TRUE] -- - NetCDF_C_CONFIG_EXECUTABLE [/opt/conda/envs/schism/bin/nc-config] -- - NetCDF::NetCDF_C [SHARED] [Root: /opt/conda/envs/schism] Lib: /opt/conda/envs/schism/lib/libnetcdf.dylib -- - NetCDF_Fortran_CONFIG_EXECUTABLE [/opt/conda/envs/schism/bin/nf-config] -- - NetCDF::NetCDF_Fortran [SHARED] [Root: /opt/conda/envs/schism] Lib: /opt/conda/envs/schism/lib/libnetcdff.dylib CMake Error at cmake/check_netcdf.cmake:143 (message): The NetCDF library specified is not compatible with the specified compilers.It will not be enabled. Specify a different path or disable NetCDF.Ensure that you specify the same compilers to build PAHM as were used to build the NetCDF library. Call Stack (most recent call first): CMakeLists.txt:238 (include) -- Configuring incomplete, errors occurred!
But in fact, /opt/conda/envs/schism/bin/nf-config was built with the above diagnosed compilers.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On arm-darwin/conda with gfortran-clang-mpich toolchain, PAHM erroneously complains about a compiler mismatch.
But in fact, /opt/conda/envs/schism/bin/nf-config was built with the above diagnosed compilers.
The text was updated successfully, but these errors were encountered: