NVlabs / nvbio

NVBIO is a library of reusable components designed to accelerate bioinformatics applications using CUDA.
BSD 3-Clause "New" or "Revised" License
206 stars 50 forks source link

moderngpu Makefile:129: recipe for target 'all' failed #42

Open marcovth opened 3 years ago

marcovth commented 3 years ago

Hello ...

I am getting the same error while compiling in my HPC account, as here with this singularity build.

Can you give any suggestions to try, or is the source code simply too old for the current system updates?

Thanks in advance.

sudo singularity build ./nvbio.sif ./nvbio.def.txt

Bootstrap: docker From: nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04

%post rm /etc/apt/sources.list.d/nvidia-ml.list && apt-get clean apt-get -y update -qq apt-get -y install git cmake

#git clone --recursive git@github.com:vmiheer/nvbio.git  ## Connection error.
git clone https://github.com/NVlabs/nvbio.git
cd nvbio
mkdir build
cd build
cmake ..
make -j8

#################

[ 35%] Linking C static library libhtslib.a [ 35%] Building CXX object contrib/moderngpu/CMakeFiles/moderngpu.dir/src/mgpuutil.cpp.o [ 36%] Building CXX object contrib/moderngpu/CMakeFiles/moderngpu.dir/src/sparsematrix.cpp.o [ 36%] Building CXX object contrib/moderngpu/CMakeFiles/moderngpu.dir/src/mmio.cpp.o /nvbio/contrib/moderngpu/src/mmio.cpp: In function 'char mm_typecode_to_str(char)': /nvbio/contrib/moderngpu/src/mmio.cpp:460:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] int error =0; ^~~~~ [ 36%] Built target htslib [ 37%] Linking CXX static library libmoderngpu.a [ 37%] Built target moderngpu Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 FATAL: While performing build: while running engine: exit status 2

ChrisBollands commented 2 years ago

Hi there, did you ever fix this issue? I am encountering the same trying to make -j8