-
Notifications
You must be signed in to change notification settings - Fork 35
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
[global_batched_kokkos] Kokkos build failure #220
Comments
Are you building Kokkos inline? You should change the KOKKOS_ARCH to HSW in your cmake. |
Yes building inline, lets table the AVX512 intrinsic renaming I still have issue with openmp=true and cuda=false now I get:
here's my actual cmake rm -rf *; LDFLAGS="-L/software/user_tools/centos-7.2.1511/cades-cnms/spack/opt/spack/linux-centos7-x86_64/gcc-8.2.0/gcc-6.5.0-egooyqwfmyg6msi5xykwsvniotp774yx/lib6 -Wl,-rpath,/software/user_tools/centos-7.2.1511/cades-cnms/spack/opt/spack/linux-centos7-x86_64/gcc-8.2.0/gcc-6.5.0-egooyqwfmyg6msi5xykwsvniotp774yx/lib6"\
cmake -DQMC_USE_KOKKOS=1 -DKOKKOS_PREFIX="/lustre/or-hydra/cades-cnms/epd/dev/kokkos" \
-DKOKKOS_ENABLE_CUDA=false -DKOKKOS_ENABLE_OPENMP=true -DKOKKOS_ARCH="HSW;Pascal60" \
-DKOKKOS_ENABLE_CUDA_UVM=true -DKOKKOS_ENABLE_CUDA_LAMBDA=true \
-DKOKKOS_ENABLE_EXPLICIT_INSTANTIATION=false -DCMAKE_CXX_COMPILER=/lustre/or-hydra/cades-cnms/epd/dev/kokkos/bin/nvcc_wrapper \
-DCMAKE_CXX_FLAGS="-Drestrict=__restrict__ -D__forceinline=inline " -GNinja .. |
Could you change the title starting with [branch name] |
Problem looks to be that you are using nvcc_wrapper to build the code with KOKKOS_ENABLE_CUDA=false. Try building again with gcc directly. |
tried that, get this:
|
Perfect. I need to update the CMakeLists.txt, The only executable you can build at the moment is miniqmc_sync_move_noref . |
Using gcc 6.5.0 on x86
[33/61] Building CXX object kokkos/CMakeFiles/kokkos.dir/core/src/impl/Kokkos_HostSpace.cpp.o
FAILED: /lustre/or-hydra/cades-cnms/epd/dev/kokkos/bin/nvcc_wrapper -I/lustre/or-hydra/cades-cnms/epd/dev/kokkos/core/src -I/lustre/or-hydra/cades-cnms/epd/dev/kokkos/containers/src -I/lustre/or-hydra/cades-cnms/epd/dev/kokkos/algorithms/src -Ikokkos -I/software/dev_tools/swtree/cs400_centos7.2_pe2016-08/cuda/9.2/centos7.2_binary/include -Drestrict=restrict -D__forceinline=inline -O3 -DNDEBUG --std=c++11 -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored -expt-extended-lambda -march=core-avx2 -mtune=core-avx2 -arch=sm_60 -MD -MT kokkos/CMakeFiles/kokkos.dir/core/src/impl/Kokkos_HostSpace.cpp.o -MF kokkos/CMakeFiles/kokkos.dir/core/src/impl/Kokkos_HostSpace.cpp.o.d -o kokkos/CMakeFiles/kokkos.dir/core/src/impl/Kokkos_HostSpace.cpp.o -c /lustre/or-hydra/cades-cnms/epd/dev/kokkos/core/src/impl/Kokkos_HostSpace.cpp
/software/user_tools/centos-7.2.1511/cades-cnms/spack/opt/spack/linux-centos7-x86_64/gcc-8.2.0/gcc-6.5.0-egooyqwfmyg6msi5xykwsvniotp774yx/lib/gcc/x86_64-pc-linux-gnu/6.5.0/include/avx512fintrin.h(12943): error: identifier "__builtin_ia32_kmov16" is undefined
The text was updated successfully, but these errors were encountered: