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

2×32×197 Posts
Default

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:
Code:
"/usr/local/cuda/bin/nvcc" -arch sm_30 -ptx -o stage1_core_sm30.ptx gnfs/poly/stage1/stage1_core_gpu/stage1_core.cu
"/usr/local/cuda/bin/nvcc" -arch sm_35 -ptx -o stage1_core_sm35.ptx gnfs/poly/stage1/stage1_core_gpu/stage1_core.cu
"/usr/local/cuda/bin/nvcc" -arch sm_50 -ptx -o stage1_core_sm50.ptx gnfs/poly/stage1/stage1_core_gpu/stage1_core.cu
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 sort_engine.so sort_engine.cu -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 'sort_engine.so' failed
make[1]: *** [sort_engine.so] Error 255
make[1]: Leaving directory '/content/msieve/cub'
Makefile:347: recipe for target 'cub/built' failed
make: *** [cub/built] Error 2
Thoughts?
EdH is offline   Reply With Quote