Hi,
When I compile a dynamic loaded library on linux and add the -static-nvidia option, the resulting .so file is corrupted and does not work. However the linker does not show any error message.
I used the following options:
“Linux_x86_64/20.7/compilers/bin/nvc++” -static-nvidia -ta=tesla:nollvm -Mcuda=cuda11.0,nollvm -Mcudalib=curand -s -fpic -o mylib.so
ldd on mylib.so shows “not a dynamic executable”.
Kind regards,
Rob