Install or run a Fedora 33 host. Install CUDA from official NVIDIA repo. Install dependencies. Clone marian, then execute 'mkdir marian/build; cd marian build; cmake ..; make -j4' .
Context
Marian version: v1.10.0+6f6d4846
CMake command:
[vlisivka@apollo5 build]$ LANG=C cmake ..
-- Project name: marian
-- Project version: v1.10.0+6f6d4846
CMake Warning at CMakeLists.txt:74 (message):
CMAKE_BUILD_TYPE not set; setting to Release
-- Checking support for CPU intrinsics
-- Could not find hardware support for AVX2 on this machine.
-- Could not find hardware support for AVX512 on this machine.
-- SSE2 support found
-- SSE3 support found
-- SSE4.1 support found
-- SSE4.2 support found
-- AVX support found
-- Found CUDA libraries: /usr/local/cuda/lib64/libcurand.so /usr/local/cuda/lib64/libcusparse.so /usr/local/cuda/lib64/libcublas.so
-- Found Tcmalloc: /usr/lib64/libtcmalloc_minimal.so
-- VERSION: 0.1.94
-- Found TCMalloc: /usr/lib64/libtcmalloc_minimal.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vlisivka/workspace/marian/build
Workaround: compile without CUDA support, for CPU only.
This bug is already fixed in marian-dev, but not backported to marian. See: https://github.com/marian-nmt/marian-dev/issues/798 .
Bug description
Marian compiles succesfully, but fails on linking stage with following error message:
How to reproduce
Install or run a Fedora 33 host. Install CUDA from official NVIDIA repo. Install dependencies. Clone marian, then execute 'mkdir marian/build; cd marian build; cmake ..; make -j4' .
Context
-- Checking support for CPU intrinsics -- Could not find hardware support for AVX2 on this machine. -- Could not find hardware support for AVX512 on this machine. -- SSE2 support found -- SSE3 support found -- SSE4.1 support found -- SSE4.2 support found -- AVX support found -- Found CUDA libraries: /usr/local/cuda/lib64/libcurand.so /usr/local/cuda/lib64/libcusparse.so /usr/local/cuda/lib64/libcublas.so -- Found Tcmalloc: /usr/lib64/libtcmalloc_minimal.so -- VERSION: 0.1.94 -- Found TCMalloc: /usr/lib64/libtcmalloc_minimal.so -- Configuring done -- Generating done -- Build files have been written to: /home/vlisivka/workspace/marian/build