Hi all, <div><br /></div><div>I experienced the following error when compiling ELPA library. Could you please point me the direction? Thanks so much.</div><div><br /></div><div>





<p>==================== Installing ELPA ====================</p>
<p>wget  --quiet https://www.cp2k.org/static/downloads/elpa-2022.11.001.tar.gz</p>
<p>elpa-2022.11.001.tar.gz: OK</p>
<p>Checksum of elpa-2022.11.001.tar.gz Ok</p>
<p>Installing from scratch into /home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/elpa-2022.11.001/cpu</p>
<p>Installing from scratch into /home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/elpa-2022.11.001/nvidia</p>
<p> 7974 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:7974:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 7974 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>../test/shared/GPU/test_gpu_vendor_agnostic_layerFunctions.c: In function 'gpuFree':</p>
<p>../test/shared/GPU/test_gpu_vendor_agnostic_layerFunctions.c:104:11: warning: implicit declaration of function 'cudaFreeFromC' [-Wimplicit-function-declaration]</p>
<p>  104 |    return cudaFreeFromC(a);</p>
<p>      |           ^~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:6719:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 6719 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:6719:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 6719 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>../test/shared/GPU/test_gpu_vendor_agnostic_layerFunctions.c: In function 'gpuMemcpy':</p>
<p>../test/shared/GPU/test_gpu_vendor_agnostic_layerFunctions.c:113:11: warning: implicit declaration of function 'cudaMemcpyFromC' [-Wimplicit-function-declaration]</p>
<p>  113 |    return cudaMemcpyFromC(dest, src, count, dir);</p>
<p>      |           ^~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:5285:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 5285 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:5285:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 5285 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:3681:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 3681 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:3681:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 3681 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:1872:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 1872 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:1872:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 1872 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>  PPFC     src/GPU/CUDA/libelpa_openmp_private_la-mod_cuda.lo</p>
<p>In file included from ../src/elpa2/kernels/complex_avx_2hv_double_precision.c:54:</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:9043:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 9043 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:9043:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 9043 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:7974:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 7974 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:7974:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 7974 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:6719:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 6719 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:6719:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 6719 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:5285:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 5285 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:5285:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 5285 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:3681:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 3681 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:3681:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 3681 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:1872:40: warning: 'always_inline' function might not be inlinable [-Wattributes]</p>
<p> 1872 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:51:47: note: in definition of macro 'CONCAT2_8ARGS'</p>
<p>   51 | #define CONCAT2_8ARGS(a, b, c, d, e, f, g, h) a ## b ## c ## d ## e ## f ## g ## h</p>
<p>      |                                               ^</p>
<p>../src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c:1872:27: note: in expansion of macro 'CONCAT_8ARGS'</p>
<p> 1872 | static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIMD_SET,_,BLOCK,hv_,WORD_LENGTH) (DATA_TYPE_PTR q, DATA_TYPE_PTR hh, int nb, int ldq</p>
<p>      |                           ^~~~~~~~~~~~</p>
<p>  PPFC     src/GPU/OpenMP/libelpa_openmp_private_la-mod_openmp_offload.lo</p>
<p>  PPFC     src/GPU/ROCm/libelpa_openmp_private_la-mod_hip.lo</p>
<p>  PPFC     src/helpers/libelpa_openmp_private_la-mod_scalapack_interfaces.lo</p>
<p>  PPFC     src/ftimings/libelpa_openmp_private_la-ftimings_value.lo</p>
<p>  PPFC     src/invert_trm/GPU/CUDA/libelpa_openmp_private_la-mod_invert_trm_cuda.lo</p>
<p>  PPFC     src/cholesky/GPU/CUDA/libelpa_openmp_private_la-mod_cholesky_cuda.lo</p>
<p>  PPFC     src/helpers/libelpa_openmp_private_la-mod_blas_interfaces.lo</p>
<p>  PPFC     src/elpa2/GPU/libelpa_openmp_private_la-interface_c_gpu_kernel.lo</p>
<p>  PPFC     src/helpers/libelpa_openmp_private_la-mod_thread_affinity.lo</p>
<p>  PPFC     test/shared/libelpatest_openmp_la-mod_tests_scalapack_interfaces.lo</p>
<p>  PPFC     test/shared/libelpatest_openmp_la-mod_tests_blas_interfaces.lo</p>
<p>  PPFC     test/shared/GPU/CUDA/libelpatest_openmp_la-test_cuda.lo</p>
<p>  PPFC     src/ftimings/libelpa_openmp_private_la-ftimings.lo</p>
<p>  PPFC     src/cholesky/GPU/libelpa_openmp_private_la-mod_cholesky_gpu.lo</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../src/GPU/CUDA/elpa_index_nvidia_gpu.cu -o src/GPU/CUDA/elpa_index_nvidia_gpu.o >/dev/null 2>&1</p>
<p>  PPFC     src/invert_trm/GPU/libelpa_openmp_private_la-mod_invert_trm_gpu.lo</p>
<p>  PPFC     src/elpa2/qr/libelpa_openmp_private_la-elpa_qrkernels.lo</p>
<p>  PPFC     test/shared/libelpatest_openmp_la-test_prepare_matrix.lo</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../src/GPU/CUDA/elpa_explicit_name_nvidia_gpu.cu -o src/GPU/CUDA/elpa_explicit_name_nvidia_gpu.o >/dev/null 2>&1</p>
<p>  PPFC     src/GPU/libelpa_openmp_private_la-mod_vendor_agnostic_layer.lo</p>
<p>  PPFC     test/shared/GPU/libelpatest_openmp_la-test_gpu_vendor_agnostic_layer.lo</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../src/GPU/CUDA/cuUtils.cu -o src/GPU/CUDA/cuUtils.o >/dev/null 2>&1</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../src/cholesky/GPU/CUDA/elpa_cholesky_cuda.cu -o src/cholesky/GPU/CUDA/elpa_cholesky_cuda.o >/dev/null 2>&1</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../src/elpa2/GPU/CUDA/ev_tridi_band_nvidia_gpu_complex.cu -o src/elpa2/GPU/CUDA/ev_tridi_band_nvidia_gpu_complex.o >/dev/null 2>&1</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../src/invert_trm/GPU/CUDA/elpa_invert_trm_cuda.cu -o src/invert_trm/GPU/CUDA/elpa_invert_trm_cuda.o >/dev/null 2>&1</p>
<p>  PPFC     src/general/libelpa_openmp_private_la-elpa_utilities.lo</p>
<p>  PPFC     src/helpers/libelpa_openmp_private_la-matrix_plot.lo</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../src/elpa2/GPU/CUDA/ev_tridi_band_nvidia_gpu_real.cu -o src/elpa2/GPU/CUDA/ev_tridi_band_nvidia_gpu_real.o >/dev/null 2>&1</p>
<p>  PPFC     src/libelpa_openmp_public_la-elpa_api.lo</p>
<p>  PPFC     src/general/libelpa_openmp_private_la-mod_elpa_skewsymmetric_blas.lo</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../src/GPU/CUDA/cudaFunctions.cu -o src/GPU/CUDA/cudaFunctions.o >/dev/null 2>&1</p>
<p>  PPFC     src/libelpa_openmp_private_la-elpa_abstract_impl.lo</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../test/shared/GPU/CUDA/test_cudaFunctions.cu -o test/shared/GPU/CUDA/test_cudaFunctions.o >/dev/null 2>&1</p>
<p>  PPFC     src/GPU/libelpa_openmp_private_la-check_for_gpu.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_global_product.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_v_add_s.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_solve_secular_equation.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_resort_ev.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_global_gather.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_transform_columns.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_check_monotony.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_distribute_global_column.lo</p>
<p>  PPFC     src/elpa2/kernels/libelpa_openmp_private_la-mod_single_hh_trafo_real.lo</p>
<p>  PPFC     src/elpa2/libelpa_openmp_private_la-elpa2_determine_workload.lo</p>
<p>  PPFC     src/elpa2/libelpa_openmp_private_la-mod_pack_unpack_cpu.lo</p>
<p>  PPFC     src/elpa2/libelpa_openmp_private_la-mod_pack_unpack_gpu.lo</p>
<p>  PPFC     src/libelpa_openmp_private_la-elpa_autotune_impl.lo</p>
<p>  PPFC     src/elpa2/kernels/libelpa_openmp_private_la-real.lo</p>
<p>  PPFC     src/elpa2/kernels/libelpa_openmp_private_la-complex.lo</p>
<p>  PPFC     src/elpa2/kernels/libelpa_openmp_private_la-real_simple.lo</p>
<p>  PPFC     src/elpa2/kernels/libelpa_openmp_private_la-complex_simple.lo</p>
<p>  PPFC     src/elpa2/kernels/libelpa_openmp_private_la-real_simple_block4.lo</p>
<p>  PPFC     src/elpa2/kernels/libelpa_openmp_private_la-real_simple_block6.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_add_tmp.lo</p>
<p>  PPFC     src/elpa2/libelpa_openmp_private_la-mod_compute_hh_trafo.lo</p>
<p>  PPFC     src/elpa2/libelpa_openmp_private_la-mod_redist_band.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_merge_systems.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_merge_recursive.lo</p>
<p>  PPFC     src/elpa1/libelpa_openmp_private_la-elpa1_compute_private.lo</p>
<p>  PPFC     src/solve_tridi/libelpa_openmp_private_la-mod_solve_tridi.lo</p>
<p>  PPFC     src/cholesky/libelpa_openmp_private_la-mod_elpa_cholesky.lo</p>
<p>  PPFC     src/invert_trm/libelpa_openmp_private_la-mod_elpa_invert_trm.lo</p>
<p>  PPFC     src/multiply_a_b/libelpa_openmp_private_la-mod_elpa_multiply_a_b.lo</p>
<p>  PPFC     src/elpa2/qr/libelpa_openmp_private_la-qr_utils.lo</p>
<p>  PPFC     src/elpa1/libelpa_openmp_private_la-elpa1_auxiliary.lo</p>
<p>libtool: compile:  ../nvcc_wrap -std=c++14 -allow-unsupported-compiler -arch sm_80 -O2 -I/usr/local/cuda-12.3/include --default-stream per-thread -Wl,--allow-multiple-definition -Wl,--enable-new-dtags -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/openblas-0.3.23/lib -L/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -Wl,-rpath,/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/install/scalapack-2.2.1/lib -L/usr/local/cuda-12.3/lib64 -I./ -I../ -c ../src/elpa2/GPU/CUDA/ev_tridi_band_nvidia_gpu_real_sm80.cu -o src/elpa2/GPU/CUDA/ev_tridi_band_nvidia_gpu_real_sm80.o >/dev/null 2>&1</p>
<p>  PPFC     src/elpa1/libelpa_openmp_private_la-elpa1.lo</p>
<p>  PPFC     src/elpa2/qr/libelpa_openmp_private_la-elpa_pdlarfb.lo</p>
<p>  PPFC     src/elpa2/qr/libelpa_openmp_private_la-elpa_pdgeqrf.lo</p>
<p>  PPFC     src/elpa2/libelpa_openmp_private_la-elpa2_compute.lo</p>
<p>  PPFC     src/elpa2/libelpa_openmp_private_la-elpa2.lo</p>
<p>  PPFC     src/libelpa_openmp_private_la-elpa_impl.lo</p>
<p>  PPFC     src/libelpa_openmp_public_la-elpa.lo</p>
<p>  CXXLD    libelpa_openmp_private.la</p>
<p>  FCLD     libelpa_openmp_public.la</p>
<p>  PPFC     test/shared/libelpatest_openmp_la-test_util.lo</p>
<p>  GEN      libelpa_openmp.la</p>
<p>  PPFC     test/shared/libelpatest_openmp_la-test_read_input_parameters.lo</p>
<p>  PPFC     test/shared/libelpatest_openmp_la-test_setup_mpi.lo</p>
<p>  PPFC     test/shared/libelpatest_openmp_la-test_analytic.lo</p>
<p>  PPFC     test/shared/libelpatest_openmp_la-test_check_correctness.lo</p>
<p>  PPFC     test/shared/libelpatest_openmp_la-test_blacs_infrastructure.lo</p>
<p>  PPFC     src/elpa2/elpa2_print_kernels_openmp-elpa2_print_kernels.o</p>
<p>  FCLD     elpa2_print_kernels_openmp</p>
<p>/usr/bin/ld: ./.libs/libelpa_openmp.a(ev_tridi_band_nvidia_gpu_real_sm80.o): in function `_GLOBAL__sub_I__Z20set_max_shared_bytesPKv':</p>
<p>tmpxft_0036498c_00000000-6_ev_tridi_band_nvidia_gpu_real_sm80.cudafe1.cpp:(.text.startup+0x41c): undefined reference to `std::ios_base::Init::Init()'</p>
<p>/usr/bin/ld: tmpxft_0036498c_00000000-6_ev_tridi_band_nvidia_gpu_real_sm80.cudafe1.cpp:(.text.startup+0x423): undefined reference to `std::ios_base::Init::~Init()'</p>
<p>collect2: error: ld returned 1 exit status</p>
<p>make[1]: *** [Makefile:69291: elpa2_print_kernels_openmp] Error 1</p>
<p>make[1]: *** Waiting for unfinished jobs....</p>
<p>make[1]: Leaving directory '/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/build/elpa-2022.11.001/build_nvidia'</p>
<p>make: *** [Makefile:68220: all] Error 2</p>
<p>make  install-am</p>
<p>make[1]: Entering directory '/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/build/elpa-2022.11.001/build_nvidia'</p>
<p>  FCLD     elpa2_print_kernels_openmp</p>
<p>/usr/bin/ld: ./.libs/libelpa_openmp.a(ev_tridi_band_nvidia_gpu_real_sm80.o): in function `_GLOBAL__sub_I__Z20set_max_shared_bytesPKv':</p>
<p>tmpxft_0036498c_00000000-6_ev_tridi_band_nvidia_gpu_real_sm80.cudafe1.cpp:(.text.startup+0x41c): undefined reference to `std::ios_base::Init::Init()'</p>
<p>/usr/bin/ld: tmpxft_0036498c_00000000-6_ev_tridi_band_nvidia_gpu_real_sm80.cudafe1.cpp:(.text.startup+0x423): undefined reference to `std::ios_base::Init::~Init()'</p>
<p>collect2: error: ld returned 1 exit status</p>
<p>make[1]: *** [Makefile:69291: elpa2_print_kernels_openmp] Error 1</p>
<p>make[1]: Leaving directory '/home/chungwen_liang_creyonbio_com/PROGRAMS/cp2k-2023/tools/toolchain/build/elpa-2022.11.001/build_nvidia'</p>
<p>make: *** [Makefile:90711: install] Error 2</p>
<p>Step elpa took 169.00 seconds.</p>
<p>Step ptscotch took 0.00 seconds.</p>
<p>Step superlu took 0.00 seconds.</p>
<p>Step pexsi took 0.00 seconds.</p>
<p>Step quip took 0.00 seconds.</p></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/25358bc6-6eca-43bc-8b5a-eea952d46a8bn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/25358bc6-6eca-43bc-8b5a-eea952d46a8bn%40googlegroups.com</a>.<br />