Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] 1.7.4rc: MPI_F08_INTERFACES_CALLBACKS build failure with PathScale 4.0.12.1
From: Paul Hargrove (phhargrove_at_[hidden])
Date: 2014-01-21 23:49:23


Jeff,

Looks like we may be getting closer, but are not quite there:

  PPFC mpi-f08.lo

   BIND(C, name="ompi_type_create_hindexed_block_f")
                ^
pathf95-1690 pathf95: ERROR OMPI_TYPE_CREATE_HINDEXED_BLOCK_F, File =
/global/homes/h/hargrove/GSCRATCH/OMPI/openmpi-1.7-latest-linux-x86_64-pathcc-4.0/openmpi-1.7.4rc2r30361/ompi/mpi/fortran/use-mpi-f08/mpi-f-interfaces-bind.h,
Line = 605, Column = 17
  NAME= specifier in BIND clause requires scalar character constant

pathf95-1044 pathf95: INTERNAL OMPI_COMM_CREATE_KEYVAL_F, File =
/global/homes/h/hargrove/GSCRATCH/OMPI/openmpi-1.7-latest-linux-x86_64-pathcc-4.0/openmpi-1.7.4rc2r30361/ompi/mpi/fortran/use-mpi-f08/mpi-f-interfaces-bind.h,
Line = 1242, Column = 38
  Internal : Unexpected ATP_PGM_UNIT in check_interoperable_pgm_unit()
make[2]: *** [mpi-f08.lo] Error 1
make[2]: Leaving directory
`/global/scratch2/sd/hargrove/OMPI/openmpi-1.7-latest-linux-x86_64-pathcc-4.0/BLD/ompi/mpi/fortran/use-mpi-f08'

The first error appears likely to be due to the 33-character name for the C
binding.
Not sure if that is a limitation allowed by the fortran spec, or an
arbitrary limitation in this compiler.

The "Internal" may be a show-stopper (not OMPI's fault), unless it goes
away once the prior error is resolved.

-Paul

On Tue, Jan 21, 2014 at 5:05 PM, Jeff Squyres (jsquyres) <jsquyres_at_[hidden]
> wrote:

> I'm glad you did this test; it pulled on a thread which eventually led me
> to realize that I fix I made on the trunk (and took to v1.7) for gfortran
> 4.9 was just the Wrong Thing to do.
>
> I've now reverted that fix on trunk/v1.7, which should put us in a good
> position for pathscale.
>
> It leaves us with a problem for gfortran 4.9, but that's not yet released.
> So the plan is to release OMPI 1.7.4 knowing that it will be broken for
> gfortran 4.9 (which makes an even stronger case for
> --disable-mpi-fortran-08), and plan to fix it in the 1.7.5 (or 1.8 if we
> skip 1.7.5) timeframe (which should hopefully be soon).
>
> I'll work on the --disable-mpi-fortran-08 switch tomorrow.
>
>
> On Jan 17, 2014, at 8:02 PM, Paul Hargrove <phhargrove_at_[hidden]> wrote:
>
> > FWIW: PathScale 3.2.99 compilers yield the same complaints.
> >
> > -Paul
> >
> >
> > On Fri, Jan 17, 2014 at 4:59 PM, Paul Hargrove <phhargrove_at_[hidden]>
> wrote:
> > Building the v1.7 tarball (1.7.4rc2r30303) with the PathScale compilers
> (v4.0.12.1) I hit the errors shown below. I've attached config.log and
> configure's stdout.
> >
> > "We don't care about that compiler" is an acceptable (to me) answer, but
> I am reporting this for completeness.
> >
> > -Paul
> >
> > PPFC mpi-f08-interfaces-callbacks.lo
> >
> > module mpi_f08_interfaces_callbacks
> > ^
> > pathf95-855 pathf95: ERROR MPI_F08_INTERFACES_CALLBACKS, File =
> /global/homes/h/hargrove/GSCRATCH/OMPI/openmpi-1.7.4-latest-linux-x86_64-pathcc-4.0/openmpi-1.7.4rc2r30303/ompi/mpi/fortran/base/mpi-f08-interfaces-callbacks.F90,
> Line = 9, Column = 8
> > The compiler has detected errors in module
> "MPI_F08_INTERFACES_CALLBACKS". No module information file will be created
> for this module.
> >
> >
> attribute_val_in,attribute_val_out,flag,ierror) BIND(C)
> >
> ^
> > pathf95-1691 pathf95: ERROR MPI_COMM_COPY_ATTR_FUNCTION, File =
> /global/homes/h/hargrove/GSCRATCH/OMPI/openmpi-1.7.4-latest-linux-x86_64-pathcc-4.0/openmpi-1.7.4rc2r30303/ompi/mpi/fortran/base/mpi-f08-interfaces-callbacks.F90,
> Line = 66, Column = 75
> > For "FLAG", LOGICAL(KIND=4) not allowed with BIND(C)
> >
> >
> attribute_val_in,attribute_val_out,flag,ierror) BIND(C)
> >
> ^
> > pathf95-1691 pathf95: ERROR MPI_WIN_COPY_ATTR_FUNCTION, File =
> /global/homes/h/hargrove/GSCRATCH/OMPI/openmpi-1.7.4-latest-linux-x86_64-pathcc-4.0/openmpi-1.7.4rc2r30303/ompi/mpi/fortran/base/mpi-f08-interfaces-callbacks.F90,
> Line = 89, Column = 74
> > For "FLAG", LOGICAL(KIND=4) not allowed with BIND(C)
> >
> >
> attribute_val_in,attribute_val_out,flag,ierror) BIND(C)
> >
> ^
> > pathf95-1691 pathf95: ERROR MPI_TYPE_COPY_ATTR_FUNCTION, File =
> /global/homes/h/hargrove/GSCRATCH/OMPI/openmpi-1.7.4-latest-linux-x86_64-pathcc-4.0/openmpi-1.7.4rc2r30303/ompi/mpi/fortran/base/mpi-f08-interfaces-callbacks.F90,
> Line = 112, Column = 75
> > For "FLAG", LOGICAL(KIND=4) not allowed with BIND(C)
> >
> > SUBROUTINE MPI_Grequest_cancel_function(extra_state,complete,ierror)
> BIND(C)
> > ^
> > pathf95-1691 pathf95: ERROR MPI_GREQUEST_CANCEL_FUNCTION, File =
> /global/homes/h/hargrove/GSCRATCH/OMPI/openmpi-1.7.4-latest-linux-x86_64-pathcc-4.0/openmpi-1.7.4rc2r30303/ompi/mpi/fortran/base/mpi-f08-interfaces-callbacks.F90,
> Line = 184, Column = 53
> > For "COMPLETE", LOGICAL(KIND=4) not allowed with BIND(C)
> >
> > pathf95: PathScale(TM) Fortran Version 4.0.12.1 (f14) Fri Jan 17, 2014
> 16:32:38
> > pathf95: 406 source lines
> > pathf95: 5 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
> > pathf95: "explain pathf95-message number" gives more information about
> each message
> > make[2]: *** [mpi-f08-interfaces-callbacks.lo] Error 1
> > make[2]: Leaving directory
> `/global/scratch2/sd/hargrove/OMPI/openmpi-1.7.4-latest-linux-x86_64-pathcc-4.0/BLD/ompi/mpi/fortran/base'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> `/global/scratch2/sd/hargrove/OMPI/openmpi-1.7.4-latest-linux-x86_64-pathcc-4.0/BLD/ompi'
> > make: *** [all-recursive] Error 1
> >
> >
> >
> > --
> > 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
> >
> >
> >
> > --
> > 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
> > _______________________________________________
> > devel mailing list
> > devel_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

-- 
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