Why are libraries (e.g., -lblas, -lacml) not found in the linker stage of the PGI compilers?
The default behavior for the PGI compilers (pgcc, pgCC, pgf77, pgf90, pgf95) and the MPI compiler scripts (mpicc, mpiCC, mpif77, mpif90, mpif95) references the optimized 32-bit libraries in the lib directory of the PGI installation. To access the 64-bit libraries in the libso directory, use the -fpic option.