[MPIWG Fortran] INTENT and ASYNCHRONOUS

Jeff Squyres (jsquyres) jsquyres at cisco.com
Wed Jun 6 10:08:47 CDT 2018


Fortran gurus --

We just got a problem report in Open MPI (https://www.mail-archive.com/users@lists.open-mpi.org/msg32381.html) for a Fortran compile failure:

-----
  OMPI_FORTRAN_IGNORE_TKR_TYPE, INTENT(IN), ASYNCHRONOUS :: origin_addr
                                            ^
"../../../../../openmpi-master-201806060243-64a5baa/ompi/mpi/fortran/use-mpi-f08/accumulate_f08.F90", Line = 16, Column = 46: ERROR: Attributes ASYNCHRONOUS and INTENT must not appear in the same attribute list.
-----

Is that Fortran compiler correct?  I.e., does Fortran forbid the use of INTENT and ASYNCHRONOUS in the same attribute list?

Or is this a compiler bug?

-- 
Jeff Squyres
jsquyres at cisco.com



More information about the mpiwg-fortran mailing list