Skip to content
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

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

Open
marcovth opened this issue May 20, 2021 · 1 comment
Open

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

marcovth opened this issue May 20, 2021 · 1 comment

Comments

@marcovth
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants