Jeff is right-- if you've already confirmed ompi,
just use the ompi specific arguments to get the
MPI LDFLAGS out. I withdraw the comment about adding
a feature to ompi_info.

It is unfortunate, but true, that the mpi compiler wrappers
give no hint of the existence of -show, --showme:link, etc
before passing on the --help argument to the underlying
compilers.

Granted on a proper installation, 'man mpif90' will tell
you about the -show switches, but there's an awful lot
of private installations of mpi where $mpiprefix/man
doesn't end up in the manpath and $mpiprefix/bin doesn't
end up in the regular PATH.

Ben


Reply via email to