View Single Post
Old 2020-01-11, 15:39   #3
EdH's Avatar
"Ed Hall"
Dec 2009
Adirondack Mtns

2×32×197 Posts

I'm trying to get a CUDA build running in Colab. I think I've removed all the 2.0 references, but I have the following error:
"/usr/local/cuda/bin/nvcc" -arch sm_30 -ptx -o stage1_core_sm30.ptx gnfs/poly/stage1/stage1_core_gpu/
"/usr/local/cuda/bin/nvcc" -arch sm_35 -ptx -o stage1_core_sm35.ptx gnfs/poly/stage1/stage1_core_gpu/
"/usr/local/cuda/bin/nvcc" -arch sm_50 -ptx -o stage1_core_sm50.ptx gnfs/poly/stage1/stage1_core_gpu/
cd cub && make WIN=0 WIN64=0 sm=300,350,520 && cd ..
make[1]: Entering directory '/content/msieve/cub'
"/usr/local/cuda/bin/nvcc" -gencode=arch=compute_52,code=\"sm_52,compute_52\"  -gencode=arch=compute_35,code=\"sm_35,compute_35\"  -gencode=arch=compute_30,code=\"sm_30,compute_30\" -DSM520 -DSM350 -DSM300 -o -Xptxas -v -Xcudafe -# -shared -Xptxas -abi=no -Xcompiler -fPIC -Xcompiler -fvisibility=hidden -I"/usr/local/cuda/bin/..//include" -I. -O3  
Front end time                       0.76 (CPU)       1.00 (elapsed)
Back end time                        0.04 (CPU)       0.00 (elapsed)
Total compilation time               0.81 (CPU)       1.00 (elapsed)
Front end time                       0.99 (CPU)       1.00 (elapsed)
Back end time                        0.06 (CPU)       0.00 (elapsed)
Total compilation time               1.07 (CPU)       1.00 (elapsed)
ptxas error   : Invalid value 'no' for option -abi.
ptxas fatal   : Ptx assembly aborted due to errors
Makefile:75: recipe for target '' failed
make[1]: *** [] Error 255
make[1]: Leaving directory '/content/msieve/cub'
Makefile:347: recipe for target 'cub/built' failed
make: *** [cub/built] Error 2
EdH is offline   Reply With Quote