Hello everyone,

I've stumbled upon the following problem trying to build openmpi 1.2
on RHEL4 with the Portland Group compiler  suite. The check for the
Fortran90 compiler fails if the compiler flags contain -g:

configure: WARNING: *** Could not determine the f90 compiler flag to
indicate where modules reside
configure: error: *** Cannot continue

config.log contains this:

/tmp/pgf90Z2ohzWqopVcX.o(.debug_info+0x92): undefined reference to
`..Dm_ompi_mod_flag'

This was the command executed by configure:
pgf90 -O2 -g conftest.f90 -Isubdir

It will work if -g is not used or if the linking step is done separate
from the compilation of conftest.f90. The Portland Group support is
still trying to figure out if this is a bug in their compiler.

Regards, Götz Waschk

--
AL I:40: Do what thou wilt shall be the whole of the Law.

Reply via email to