Good morning. I’m kind of new to using Portland Group. I’m trying to compile our in house software consisting of a library and misc binaries. In the final link stage of the library I get this error:
/usr/bin/ld: /usr/pgi/linux86-64/5.2/lib/libstd.a(fstream.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/usr/pgi/linux86-64/5.2/lib/libstd.a: could not read symbols: Bad value
We are using the 5.2 64bit version on a quad AMD Opteron system.