gms-bbg / gamess-issues

GAMESS issue tracking
7 stars 1 forks source link

Error building LIBCCHEM on SUMMIT #50

Closed hrmoncada closed 3 years ago

hrmoncada commented 3 years ago

Question: Need help build games-dev/libcchem/rysq???. I type the process I follow and the ERRORs I got it

**error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

error This file requires compiler and library support**

Got the following ERROR:

b/lib -L/usr/lib -L/usr/lib64 -lmpiprofilesupport -lmpi_ibm_mpifh -lmpi_ibm -libverbs /usr/bin/ld: cannot find -lcchem /usr/bin/ld: cannot find -lrysq collect2: error: ld returned 1 exit status set rc=1 unset echo

Unfortunately, there was an error while linking GAMESS. 0.832u 0.390s 0:02.11 57.8% 0+0k 280704+5504io 0pf+0w "lked.log" 46L, 9634C 46,1 Bot

  1. From the ERROR above, -LCCHEM and _LRYSQ and the information from the file "libcchem/tools/cmakebuild" I try to build RYSQ.

Here I show you my steps, what I did and the errors I got it.

~libcchem/rysq$ mkdir build ~libcchem/rysq$ cd build

-- Configuring incomplete, errors occurred! See also "/ccs/home/hmoncada/repos_GAMESS/GAMESS/gamess_dev_test_1/libcchem/rysq/build2/CMakeFiles/CMakeOutput.log".

-- CMAKE_BUILD_TYPE: Release -- A GPU board was specified. GPU code is enabled. -- Detecting Boost: /autofs/nccs-svm1_sw/summit/.swci/1-compute/opt/spack/20180914/linux-rhel7-ppc64le/gcc-6.4.0/boost-1.66.0-l6qu5nrynyuksm4ex7gswb6rsvvhsj42 - done -- Configuring done CMake Warning (dev) in CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "rysq". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in src/cuda/kernel/CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "cudaKernel". This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done -- Build files have been written to: /ccs/home/hmoncada/repos_GAMESS/GAMESS/gamess_dev_test_1/libcchem/rysq/build

NOTE: I know that I have an issue with C++11, I add "-std=c++11" on the cmake path to fix the problem. But it does not solve the problem

Currently Loaded Modules: 1) hsi/5.0.2.p5 7) cuda/10.1.243 13) nsight-compute/2021.1.0 2) xalt/1.2.1 8) python/3.6.6-anaconda3-5.3.0 14) hdf5/1.10.4 3) lsf-tools/2.0 9) spectrum-mpi/10.3.1.2-20200121 15) cmake/3.18.2 4) darshan-runtime/3.1.7 10) essl/6.2.0-20190419 16) git/2.20.1 5) DefApps 11) fftw/3.3.8 6) gcc/6.4.0 12) boost/1.66.0

hrmoncada commented 3 years ago

Fixed