marian-nmt / marian

Fast Neural Machine Translation in C++
https://marian-nmt.github.io
Other
1.21k stars 227 forks source link

marian-server is missing #384

Closed liakhandrii closed 2 years ago

liakhandrii commented 2 years ago

Bug description

I am installing Marian using the official docs from here https://marian-nmt.github.io/docs/ I have no trouble compiling it, but marian-server is missing after compilation.

Is this expected behavior? If so, how do I get marian-server to be compiled?

How to reproduce

sudo apt-get install git cmake build-essential libboost-system-dev libprotobuf17 protobuf-compiler libprotobuf-dev openssl libssl-dev libgoogle-perftools-dev
git clone https://github.com/marian-nmt/marian
mkdir marian/build
cd marian/build
cmake ..
make -j4

Context

-- Building with -march=native and intrinsics will be chosen automatically by the compiler to match the current machine. -- Checking support for CPU intrinsics -- Could not find hardware support for AVX512 on this machine. -- Compiling code for Pascal GPUs -- Compiling code for Volta GPUs -- Compiling code for Turing GPUs -- Compiling code for Ampere GPUs -- Compiling code for Ampere RTX GPUs -- Found CUDA libraries: /usr/local/cuda/lib64/libcurand.so;/usr/local/cuda/lib64/libcusparse.so;/usr/local/cuda/lib64/libcublas.so;/usr/local/cuda/lib64/libcublasLt.so -- Found Tcmalloc: /usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so -- Could NOT find MKL (missing: MKL_LIBRARIES MKL_INCLUDE_DIRS MKL_INTERFACE_LIBRARY MKL_SEQUENTIAL_LAYER_LIBRARY MKL_CORE_LIBRARY) -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- VERSION: 0.1.94 -- Found TCMalloc: /usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /home/andrii/translation/marian/build

snukky commented 2 years ago

After installing libboost-system-dev:

cmake -DCOMPILE_SERVER=on ..

Indeed, it seems it's missing in the instructions.

liakhandrii commented 2 years ago

Yes, did the trick. Thanks!