Hello Paul,

the only possible values for --with-openmpi-inside are "yes" and "1.7" where the latter value is interpreted as *since*. Prior version 1.7 the Open MPI configure provides both F77 and FC for specifying Fortran compilers. The VT configure only provides FC, so it sets FC (if not set) to F77.

Kind regards,
Matthias Jurenz


On 05.08.2014 02:40, Paul Hargrove wrote:
I noticed that Open MPI is passing
    --with-openmpi-inside=1.7
in the arguments passed to
    ompi/contrib/vt/vt/configure
and
    ompi/contrib/vt/vt/extlib/otf/configure

The extlib/otf case just tests if the value is set, but the top-level vt/configure is checking for the specific string "1.7":

# Check whether we are inside Open MPI package
inside_openmpi="no"
AC_ARG_WITH(openmpi-inside, [],
[
        AS_IF([test x"$withval" = "xyes" -o x"$withval" = "x1.7"],
        [
                inside_openmpi="$withval"
                CPPFLAGS="-DINSIDE_OPENMPI $CPPFLAGS"

                # Set FC to F77 if Open MPI version < 1.7
AS_IF([test x"$withval" = "xyes" -a x"$FC" = x -a x"$F77" != x],
                [FC="$F77"])
        ])
])

That logic looks a bit fragile with respect to any future changes.
Specifically the inner AS_IF is true for the desired condition "version < 1.7" only because the outer AS_IF currently ensures the only possible values of "$withval" are "yes" and "1.7".

-Paul

--
Paul H. Hargrove phhargr...@lbl.gov <mailto:phhargr...@lbl.gov>
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900


_______________________________________________
devel mailing list
de...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
Link to this post: 
http://www.open-mpi.org/community/lists/devel/2014/08/15505.php

--
Matthias Jurenz

Technische Universität Dresden
Center for Information Services and High Performance Computing (ZIH)
01062 Dresden, Germany
Phone: +49 (351) 463-31945
Fax: +49 (351) 463-37773
E-Mail: matthias.jur...@tu-dresden.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to