when I was compiling fotran code with the paramneter
pgf95 -Minfo -Mfixed -Mcuda
there are some error:
Linking Fortran shared library …/…/lib/libBim31L.so
/usr/bin/ld: /opt/pgi/linux86-64/10.5/lib/libcudafor.a(dev_allo.o): relocation R_X86_64_32 against `a local symbol’ can not be used when making a shared object; recompile with -fPIC
/opt/pgi/linux86-64/10.5/lib/libcudafor.a: could not read symbols: Bad value
I was tring to create a shared library, but it didn’t work, so does PGI 10.6 cuda fortran support shared library or not?