Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Wrappers should put include path *after* user args
From: Jed Brown (jed_at_[hidden])
Date: 2009-12-04 16:34:01


On Fri, 4 Dec 2009 16:20:23 -0500, Jeff Squyres <jsquyres_at_[hidden]> wrote:
> Oy -- more specifically, we should not be putting -I/usr/include on
> the command line *at all* (because it's special and already included
> by the compiler search paths; similar for /usr/lib and /usr/lib64).

If I remember correctly, the issue was that some versions of gfortran
were not searching /usr/include for mpif.h.

> Can you send the contents of your $prefix/share/openmpi/mpif90-wrapper-data.txt?

Attached.

Jed


# There can be multiple blocks of configuration data, chosen by
# compiler flags (using the compiler_args key to chose which block
# should be activated. This can be useful for multilib builds. See the
# multilib page at:
# https://svn.open-mpi.org/trac/ompi/wiki/compilerwrapper3264
# for more information.

project=Open MPI
project_short=OMPI
version=1.3.4
language=Fortran 90
compiler_env=FC
compiler_flags_env=FCFLAGS
compiler=/usr/bin/gfortran
module_option=-I
extra_includes=
preprocessor_flags=
compiler_flags=-pthread
linker_flags=
libs=-lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
required_file=
includedir=${includedir}
libdir=${libdir}