pdidev / pdi

The PDI Data Interface
https://pdi.dev
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Decl'NetCDF Fails to build #412

Closed jbigot closed 2 months ago

jbigot commented 2 years ago
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1") 
-- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version "3.1") 
-- Found MPI: TRUE (found version "3.1") found components: C CXX 
-- Looking for NetCDF using cmake config file
-- Looking for NetCDF using nc-config
-- Looking for NetCDF using pkg-config
-- Looking for NetCDF using fallback strategy
-- Unable to locate lib `netcdf' ()
CMake Error at cmake/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find NetCDF: Found unsuitable version "", but required is at
  least "4.6.0" (found netCDF::netcdf)
Call Stack (most recent call first):
  cmake/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindNetCDF.cmake:351 (find_package_handle_standard_args)
  CMakeLists.txt:53 (find_package)

-- Configuring incomplete, errors occurred!
jbigot commented 2 years ago

mentioned in commit 1e72f5b09ce4587c2a88c3f54e4656c3ac299627

jbigot commented 2 years ago

mentioned in commit f063c99df55a5f2fd0cf1c9b07282c2786405ea9

jbigot commented 2 years ago

mentioned in commit 4803ec81b766c37e875fde61fbd1a45994e211b9

jbigot commented 2 years ago

mentioned in commit cfc4f5b14f18a35102b59e1df9b8b98dcbb3b2d4