MetOffice / monio

Met Office NetCDF I/O (MONIO) written in C++ for file I/O in JEDI-based DA (JADA).
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

cmake failures when building outside of bundle #30

Closed DJDavies2 closed 11 months ago

DJDavies2 commented 11 months ago

Building monio outside a bundle fails like this:

Found CMake version 3.22.2
CMake Error at /home/h01/frwd/cylc-run/mi-be984/share/installs/cmake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenMP (missing: OpenMP_Fortran_FOUND Fortran) (found
  version "4.5")
Call Stack (most recent call first):
  /home/h01/frwd/cylc-run/mi-be984/share/installs/cmake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /home/h01/frwd/cylc-run/mi-be984/share/installs/cmake/share/cmake-3.22/Modules/FindOpenMP.cmake:598 (find_package_handle_standard_args)
  /home/h01/frwd/cylc-run/mi-be984/share/installs/cmake/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /home/h01/frwd/cylc-run/mi-be984/share/installs/oops/lib64/cmake/oops/oops-import.cmake:27 (find_dependency)
  /home/h01/frwd/cylc-run/mi-be984/share/installs/oops/lib64/cmake/oops/oops-config.cmake:83 (include)
  CMakeLists.txt:35 (find_package)