Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] 1.7.4rc: Fortran + XLF = broken
From: Paul Hargrove (phhargrove_at_[hidden])
Date: 2014-01-17 21:10:36


Back in Sep 2012 I reported that the trunk was broken with IBM's Fortran
compilers. The last email I could find on that thread is
http://www.open-mpi.org/community/lists/devel/2012/09/11519.php

Well, the errors with current 1.7 nightly tarball (1.7.4rc2r30303) may have
changed slightly, but things are still quite broken. I've tested xlf-13.1
and 14.1 (correspond to xlc-11.1 and 12.1, respectively).

The warnings and error from both versions look to be identical, though I've
not checked too closely. I've attached relevant outputs from both builds.

Warnings about command line options occur because "-D..." is *not* the
right way to define preprocessor symbols with the XL fortran compilers.
 One must use "-WF,-D..." instead.

There are warnings from mpi-ignore-tkr-interfaces.h which are all "modern
fortran" stuff that means almost nothing to me.

However, both finally die with:
  PPFC mpi-f08.lo
/soft/compilers/ibmcmp-may2012/xlf/bg/14.1/bin/.orig/xlf90: 1501-216 (W)
command option -_REENTRANT is not recognized - passed to ld
"/home/hargrove/SCRATCH/OMPI/openmpi-1.7-latest-linux-ppc64-xlc-12.1/openmpi-1.7.4rc2r30303/ompi/mpi/fortran/use-mpi-f08/mpi-f08.F90",
1516-194 (S) A binding label must not be the same as the name of a program
unit, common block, external procedure, and another binding label, ignoring
differences in case.
"/home/hargrove/SCRATCH/OMPI/openmpi-1.7-latest-linux-ppc64-xlc-12.1/openmpi-1.7.4rc2r30303/ompi/mpi/fortran/use-mpi-f08/mpi-f08.F90",
1516-194 (S) A binding label must not be the same as the name of a program
unit, common block, external procedure, and another binding label, ignoring
differences in case.
"/home/hargrove/SCRATCH/OMPI/openmpi-1.7-latest-linux-ppc64-xlc-12.1/openmpi-1.7.4rc2r30303/ompi/mpi/fortran/use-mpi-f08/mpi-f08.F90",
1520-031 (W) Option DLINES is ignored within Fortran 90 free form and IBM
free form.
** mpi_f08 === End of Compilation 1 ===

I report this for completeness and will accept "we don't care about that
compiler family" as a response.

-Paul

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900