You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 4%] Building CUDA object nipet/CMakeFiles/mmr_auxe.dir/src/aux_module.cu.o
cd /home/ofn77899/nipet/build/nipet && /usr/bin/nvcc -Dmmr_auxe_EXPORTS -I/home/ofn77899/nipet/niftypet/nipet/src -I/usr/include/python3.6m -I/home/ofn77899/.local/lib/python3.6/site-packages/numpy/core/include -I/home/ofn77899/nipet/niftypet/nipet/include -O3 -DNDEBUG --generate-code=arch=compute_30,code=[compute_30,sm_30] -Xcompiler=-fPIC -std=c++14 -x cu -c /home/ofn77899/nipet/niftypet/nipet/src/aux_module.cu -o CMakeFiles/mmr_auxe.dir/src/aux_module.cu.o
/home/ofn77899/.local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h(84): error: expected a "}"
/home/ofn77899/.local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h(89): warning: parsing restarts here after previous syntax error
/home/ofn77899/.local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h(450): error: identifier "NPY_NTYPES_ABI_COMPATIBLE" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_00005c59_00000000-6_aux_module.cpp1.ii".
I then tried to install CUDA Toolkit from NVidia, and got 10.1. With it it works, both with conda and stock python.
Maybe 9.1, which is installed by Ubuntu is not sufficient for NiftyPET?
The text was updated successfully, but these errors were encountered:
The cuda compiler version has to be compatible with the C++ compiler. The usual way of installing CUDA is via https://developer.nvidia.com/cuda-toolkit-archive, which firstly uses apt-get install cuda rather than nvidia-cuda-toolkit and secondly doesn't even provide CUDA 9 for Ubuntu 18.04.
Don't mix and match deprecated things with new things!
On a Ubuntu 18.04 I cannot build NiftyPET. See SyneRBI/SIRF-SuperBuild#494
I ran
Error
I then tried to install CUDA Toolkit from NVidia, and got 10.1. With it it works, both with conda and stock python.
Maybe 9.1, which is installed by Ubuntu is not sufficient for NiftyPET?
The text was updated successfully, but these errors were encountered: