Hello,
I am actually trying to compile mcx on a remote server that we use to do heavy computation.
I never had any problem doing that before, but yesterday I got this error
nvcc -c -g -lineinfo -Xcompiler -Wall -Xcompiler -fopenmp -m64 -DSAVE_DETECTORS -use_fast_math -arch=sm_30 -DMCX_TARGET_NAME='"Fermi MCX"' -DUSE_ATOMIC -use_fast_math -DSAVE_DETECTORS -o mcx_core.o mcx_core.cu nvcc fatal : Value 'sm_30' is not defined for option 'gpu-architecture'
I took a look around and didn't really find any good informations. Only that maybe it can be because of CUDA 11.0
I tried to take a look at the Makefile to make the compilation not using the arch option but I'm a bit lost.
So I was wondering if it could be a "bug" from the Makefile and it need to be updated or if it's on my side and I have to contact the server support.
Also There some hardware informations
- Server (Don't Work)
- Cuda compilation tools, release 11.0, V11.0.194
- NVIDIA T4
- Personal PC (Where it work)
- Cuda compilation tools, release 9.1, V9.1.85
- GPU: NVIDIA GeForce GTX 1060 3GB
Thank you in advance (If I found a solution will comeback and Update my post)