Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Ben Allan (baallan_at_[hidden])
Date: 2007-06-05 16:22:25


What you really want, after configure has confirmed openmpi with the
macro check, is to extract the libraries listed in the output of
mpif90 -v test.f
that are needed.
Ideally someone could update ompi_config to output the link flags for 3 cases:
C++ linking without using mpicxx
F90 linking without using mpif90
F90 linking without f90
but that's a nontrivial bit of work.

The fortran lib extraction process can be rather hairy if done portably-- the
babel team at llnl has largely solved it in
babel-$VERSION/runtime/m4/llnl_confirm_babel_f90_support.m4
and related files obtainable from
http://www.llnl.gov/CASC/components/docs/babel-1.1.0.tar.gz

Ben