noaa-ocs-modeling / CoastalApp

CoastalApp will be deprecated. Please switch to https://github.com/oceanmodeling/ufs-coastal . CoastalApp is a NUOPC application implemented following UFS best practices to couple coastal ocean models and other domains (Sea Ice, Atmosphere, Wave, Inland Hydrology, ...)
https://github.com/oceanmodeling/ufs-coastal
Creative Commons Zero v1.0 Universal
13 stars 32 forks source link

building -tp parmetis fails on multiple platforms (Levante, femto) #169

Closed platipodium closed 1 year ago

platipodium commented 1 year ago
./build.sh -y -plat levante --compiler intel --component "atmesh adcirc schism ww3 ww3data" --tp parmetis --clean -2

fails with

cd build/Linux-x86_64 && cmake /home/g/g260077/devel/noaa/CoastalApp/thirdparty_open/parmetis -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_C_FLAGS="-DIDXTYPEWIDTH=32 -DREALTYPEWIDTH=32" -DGKLIB_PATH=/home/g/g260077/devel/noaa/CoastalApp/thirdparty_open/parmetis/metis/GKlib -DMETIS_PATH=/home/g/g260077/devel/noaa/CoastalApp/thirdparty_open/parmetis/metis -DCMAKE_INSTALL_PREFIX=/home/g/g260077/devel/noaa/CoastalApp/thirdparty_open/parmetis/del -DCMAKE_C_COMPILER=mpiicc -DCMAKE_CXX_COMPILER=mpiicpc
Re-run cmake no build system arguments
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
  The CMAKE_C_COMPILER:

    mpiicc

  is not a full path and was not found in the PATH.

Of course, they are on the path and work

$> mpiicpc --version
icpc (ICC) 2021.5.0 20211109
Copyright (C) 1985-2021 Intel Corporation.  All rights reserved.

Same error on femto.

platipodium commented 1 year ago

related to #102

pvelissariou1 commented 1 year ago

This issue has been resolved with the latest updates of the CoastalApp build system. If @platipodium reports further issues we will reopen it.