Question on PGF95 - INTEL IFORT Compatibility

Hi,

I would like to know if the pgf95 is compatible with the INTEL ifort compiler. What I’m trying to do is to to take .so files produced with pgf95 and then compile some other fortran programs with INTEL ifort and then link these .o files with the pgf95 .so files using INTEL. Is this possible? I saw the pgf95 options fPIC, Kpic and KPIC which are provided for compatibility with other compilers. Should I use one and which one of these while compiling and linking the .so? Thanks in advance!

user123

Hi,

The runtime of each compilers will not be compatible. There are some runtime libraries that are dependent on each compiler and will cause undefined reference when you link.

Hongyon

Thank you.