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
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-01-22 11:50:15

On Jan 21, 2014, at 11:49 PM, Paul Hargrove <phhargrove_at_[hidden]> wrote:

> 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

Wow. Pulling on this thread turned up a whole pile of bugs :-\, including several other names that are >=32 characters:

Found long name: ompi_type_create_indexed_block_f (32)
Found long name: ompi_type_create_hindexed_block_f (33)
Found long name: pompi_type_create_indexed_block_f (33)
Found long name: pompi_type_create_hindexed_block_f (34)
Found long name: pompi_file_get_position_shared_f (32)
Found long name: pompi_file_write_ordered_begin_f (32)

Can you do me a favor and cd into ompi/mpi/fortran/use-mpi-f08 and try to manually "make type_create_indexed_block_f08.lo" and see if it also complains? That's a 32 character name -- let's see if the limit is >=32 or >=33...

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

I'll ask Pathscale; thanks.

Jeff Squyres
For corporate legal information go to: