Open MPI logo

Open MPI User's Mailing List Archives

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

From: Jan De Laet (Jan.De.Laet_at_[hidden])
Date: 2006-06-02 03:51:52


Hi,

openmpi-1.1a9r10157's fortran bindings also fail to build with the
Pathscale 2.1 pathf90 compiler. At the same spot but with different
error messages (see below), which perhaps helps to clarify things. Any
help greatly appreciated as well.

Best regards,

Jan De Laet

=================================
make[4]: Leaving directory
`/data/home/jan/openmpi-1.1a9r10157/ompi/mpi/f90/scripts'
make[4]: Entering directory
`/data/home/jan/openmpi-1.1a9r10157/ompi/mpi/f90'
***************************************************************
* Compiling the mpi.f90 file may take a few minutes.
* This is quite normal -- do not be alarmed if the compile
* process seems to 'hang' at this point for several minutes.
***************************************************************
pathf90 -I../../../ompi/include -I../../../ompi/include -I. -I. -O3
-march=opteron -fPIC -DPIC -c -I. -o mpi.o mpi.f90

module mpi
       ^
pathf90-855 pathf90: ERROR MPI, File = mpi.f90, Line = 20, Column = 8
  The compiler has detected errors in module "MPI". No module
information file will be created for this module.

  subroutine mpi_type_null_delete_fn( type, type_keyval,
attribute_val_out, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
21, Column = 14
  "MPI_TYPE_NULL_DELETE_FN" has the EXTERNAL attribute, therefore it
must not be a procedure in an interface block.

  subroutine mpi_type_null_copy_fn( type, type_keyval, extra_state, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
26, Column = 14
  "MPI_TYPE_NULL_COPY_FN" has the EXTERNAL attribute, therefore it must
not be a procedure in an interface block.

  subroutine mpi_type_dup_fn( type, type_keyval, extra_state, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
34, Column = 14
  "MPI_TYPE_DUP_FN" has the EXTERNAL attribute, therefore it must not be
a procedure in an interface block.

  subroutine mpi_comm_null_delete_fn(comm, comm_keyval, attribute_val_out, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
42, Column = 14
  "MPI_COMM_NULL_DELETE_FN" has the EXTERNAL attribute, therefore it
must not be a procedure in an interface block.

  subroutine mpi_comm_null_copy_fn( comm, comm_keyval, extra_state, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
47, Column = 14
  "MPI_COMM_NULL_COPY_FN" has the EXTERNAL attribute, therefore it must
not be a procedure in an interface block.

  subroutine mpi_comm_dup_fn( comm, comm_keyval, extra_state, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
55, Column = 14
  "MPI_COMM_DUP_FN" has the EXTERNAL attribute, therefore it must not be
a procedure in an interface block.

  subroutine mpi_null_delete_fn( comm, comm_keyval, attribute_val_out, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
63, Column = 14
  "MPI_NULL_DELETE_FN" has the EXTERNAL attribute, therefore it must not
be a procedure in an interface block.

  subroutine mpi_null_copy_fn( comm, comm_keyval, extra_state, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
68, Column = 14
  "MPI_NULL_COPY_FN" has the EXTERNAL attribute, therefore it must not
be a procedure in an interface block.

  subroutine mpi_dup_fn( comm, comm_keyval, extra_state, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
76, Column = 14
  "MPI_DUP_FN" has the EXTERNAL attribute, therefore it must not be a
procedure in an interface block.

  subroutine mpi_win_null_delete_fn( window, win_keyval,
attribute_val_out, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
84, Column = 14
  "MPI_WIN_NULL_DELETE_FN" has the EXTERNAL attribute, therefore it must
not be a procedure in an interface block.

  subroutine mpi_win_null_copy_fn( window, win_keyval, extra_state, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
89, Column = 14
  "MPI_WIN_NULL_COPY_FN" has the EXTERNAL attribute, therefore it must
not be a procedure in an interface block.

  subroutine mpi_win_dup_fn( window, win_keyval, extra_state, &
             ^
pathf90-608 pathf90: ERROR MPI, File = attr_fn-f90-interfaces.h, Line =
97, Column = 14
  "MPI_WIN_DUP_FN" has the EXTERNAL attribute, therefore it must not be
a procedure in an interface block.

pathf90: PathScale(TM) Fortran 90 Version 2.1 (f14) Fri Jun 2, 2006
09:43:24

=========================================

Pathscale's error message pathf90-608:

Error : "%s" has the %s attribute, therefore it must not be a procedure
in an
interface block.

If an explicit interface is declared for a procedure, all information
describing the procedure must be specified inside the explicit interface,
with the exception of the ESC[1mOPTIONALESC[22m, ESC[1mPRIVATE
ESC[22mand ESC[1mPUBLIC ESC[22mattributes. The
procedure may be specified as a dummy argument.
========================================================

>Today's Topics:
>
> 1. openmpi-1.1a9r10157 Fails to build with Nag f95 Compiler
> (Doug Roberts)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 1 Jun 2006 16:45:50 -0400 (EDT)
>From: Doug Roberts <roberpj_at_[hidden]>
>Subject: [OMPI users] openmpi-1.1a9r10157 Fails to build with Nag f95
> Compiler
>To: users_at_[hidden]
>Message-ID: <Pine.LNX.4.63.0606011636080.22031_at_[hidden]>
>Content-Type: text/plain; charset="us-ascii"
>
>
>Hi, I'm using the NAGWare Fortran 95 compiler Release 5.0(414), but make
>fails as shown in the snippet below. I've attached the config.log,
>config.out and make.out files. The system is a dual processor Opteron
>server running a 2.6 x86_64 linux kernel and has a myrinet mx based
>interconnect which i define at configure time.
>
>make[4]: Entering directory
>`/opt/openmpi/openmpi-1.1a9r10157.bld/ompi/mpi/f90'
>./scripts/mpi-f90-interfaces.h.sh
>/opt/openmpi/openmpi-1.1a9r10157.bld/ompi/mpi/f90 > mpi-f90-interfaces.h
>***************************************************************
>* Compiling the mpi.f90 file may take a few minutes.
>* This is quite normal -- do not be alarmed if the compile
>* process seems to 'hang' at this point for several minutes.
>***************************************************************
>f95 -I../../../ompi/include -I../../../ompi/include -I. -I. -c -I. -o
>mpi.o mpi.f90
>Extension: mpi.f90: DOUBLE COMPLEX keyword
>Error: attr_fn-f90-interfaces.h, line 21: MPI_TYPE_NULL_DELETE_FN has
>already been declared EXTERNAL
> detected at SUBROUTINE_at_MPI_TYPE_NULL_DELETE_FN
>Warning: attr_fn-f90-interfaces.h, line 24: Unused dummy argument TYPE
> detected at MPI_TYPE_NULL_DELETE_FN@<end-of-statement>
>Warning: attr_fn-f90-interfaces.h, line 24: Unused dummy argument IERR
> detected at MPI_TYPE_NULL_DELETE_FN@<end-of-statement>
>Warning: attr_fn-f90-interfaces.h, line 24: Unused dummy argument
>EXTRA_STATE
> detected at MPI_TYPE_NULL_DELETE_FN@<end-of-statement>
>Warning: attr_fn-f90-interfaces.h, line 24: Unused dummy argument
>ATTRIBUTE_VAL_OUT
> detected at MPI_TYPE_NULL_DELETE_FN@<end-of-statement>
>Warning: attr_fn-f90-interfaces.h, line 24: Unused dummy argument
>TYPE_KEYVAL
> detected at MPI_TYPE_NULL_DELETE_FN@<end-of-statement>
>Error: attr_fn-f90-interfaces.h, line 26: MPI_TYPE_NULL_COPY_FN has
>already been declared EXTERNAL
> detected at SUBROUTINE_at_MPI_TYPE_NULL_COPY_FN
>
>Any help greatly appreciated,
>-Doug
>
>

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm