Skip to content
New issue

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

Warning message configuring on Summit with CMake 3.23.2, gcc 11.2.0, and Cuda 11.7.1 #52

Open
zhangchonglin opened this issue May 16, 2023 · 0 comments

Comments

@zhangchonglin
Copy link

While building on Summit with CMake 3.23.2, gcc 11.2.0, and Cuda 11.7.1, CMake configuration produced the following warning message:

-- CMAKE_VERSION: 3.23.2
-- Omega_h_VERSION: 10.5.0
-- USE_XSDK_DEFAULTS: OFF
-- BUILD_TESTING: OFF
-- BUILD_SHARED_LIBS: OFF
-- CMAKE_INSTALL_PREFIX: /ccs/home/zhangc20/pumi-pic/install_cuda11.7.1/omega_h/install
-- Omega_h_CHECK_BOUNDS: OFF
-- Omega_h_THROW: OFF
-- Omega_h_DATA: 
-- Omega_h_USE_EGADS: OFF
-- EGADS_PREFIX: 
-- Omega_h_USE_Kokkos: ON
-- Kokkos_PREFIX: /ccs/home/zhangc20/pumi-pic/install_cuda11.7.1/kokkos/install/lib64/cmake
-- Omega_h_USE_CUDA_AWARE_MPI: OFF
-- Omega_h_USE_SimModSuite: OFF
-- Omega_h_VALGRIND: 
-- Omega_h_EXAMPLES: OFF
-- Omega_h_USE_MPI: on
-- Omega_h_ENABLE_DEMANGLED_STACKTRACE: OFF
-- Omega_h_DBG: OFF
-- Omega_h_USE_MPI: on
-- MPI_PREFIX: 
-- Omega_h_USE_ZLIB: ON
-- ZLIB_PREFIX: 
-- Omega_h_USE_Kokkos: ON
-- Kokkos_PREFIX: /ccs/home/zhangc20/pumi-pic/install_cuda11.7.1/kokkos/install/lib64/cmake
-- Enabled Kokkos devices: CUDA;SERIAL
-- kokkos_launch_compiler is enabled globally. C++ compiler commands with -DKOKKOS_DEPENDENCE will be redirected to the appropriate compiler for Kokkos
-- Kokkos_CONFIG: /ccs/home/zhangc20/pumi-pic/install_cuda11.7.1/kokkos/install/lib64/cmake/Kokkos/KokkosConfig.cmake
-- Kokkos_VERSION: 3.7.01
-- Omega_h_USE_libMeshb: OFF
-- Omega_h_USE_Gmsh: OFF
-- Omega_h_USE_Gmodel: OFF
-- Omega_h_USE_SEACASExodus: OFF
-- Omega_h_USE_pybind11: OFF
-- Omega_h_USE_CUDA: on
-- Omega_h_USE_MPI: on
-- Omega_h_USE_OpenMP: OFF
-- Omega_h_USE_CUDA: on
-- Omega_h_USE_DOLFIN: OFF
-- Omega_h_SEMVER = 10.5.0-sha.e1be29b0+100101100000000000
-- Configuring done
CMake Warning at src/CMakeLists.txt:252 (add_executable):
  Cannot generate a safe runtime search path for target msh2osh because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libcuda.so.1] in /usr/lib64 may be hidden by files in:
      /sw/summit/cuda/11.7.1/lib64

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  src/CMakeLists.txt:261 (osh_add_exe)
  src/CMakeLists.txt:265 (osh_add_util)


CMake Warning at src/CMakeLists.txt:252 (add_executable):
  Cannot generate a safe runtime search path for target osh2vtk because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libcuda.so.1] in /usr/lib64 may be hidden by files in:
      /sw/summit/cuda/11.7.1/lib64

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  src/CMakeLists.txt:261 (osh_add_exe)
  src/CMakeLists.txt:266 (osh_add_util)


CMake Warning at src/CMakeLists.txt:252 (add_executable):
  Cannot generate a safe runtime search path for target oshdiff because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libcuda.so.1] in /usr/lib64 may be hidden by files in:
      /sw/summit/cuda/11.7.1/lib64

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  src/CMakeLists.txt:261 (osh_add_exe)
  src/CMakeLists.txt:267 (osh_add_util)

.....

-- Generating done
-- Build files have been written to: /ccs/home/zhangc20/pumi-pic/install_cuda11.7.1/omega_h/build

Note: warning message truncated as the warnings are the same except different line numbers for the following line:

  src/CMakeLists.txt:267 (osh_add_util)

The build was working fine. Reporting here in case it's an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant