1
1

Add some comments explaining why these functions have an interface but

no definition.

This commit was SVN r9962.
Этот коммит содержится в:
Jeff Squyres 2006-05-17 22:22:29 +00:00
родитель c3aeaed77b
Коммит a7c854f878
2 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,20 @@
!
! Copyright (c) 2004-2005 The Regents of the University of California.
! All rights reserved.
! Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
! $COPYRIGHT$
!
! Additional copyrights may follow
!
! $HEADER$
!
! Note about these declarations: these are "external" functions in
! mpif.h. However, if we don't declare them here, compilers will add
! them to the "mpi" module namespace, and result in linker errors if MPI
! F90 applications try to use them. because the implementations of
! these functions are not in the MPI module namespace -- they're the F77
! functions.
interface interface

Просмотреть файл

@ -9,6 +9,7 @@
! University of Stuttgart. All rights reserved. ! University of Stuttgart. All rights reserved.
! Copyright (c) 2004-2005 The Regents of the University of California. ! Copyright (c) 2004-2005 The Regents of the University of California.
! All rights reserved. ! All rights reserved.
! Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
! $COPYRIGHT$ ! $COPYRIGHT$
! !
! Additional copyrights may follow ! Additional copyrights may follow
@ -20,6 +21,10 @@ module mpi
include "mpif.h" include "mpif.h"
! The MPI attribute callback functions need to be explictly called out
! so that they don't end up in the MPI namespace. See a longer
! explanation in attr_fn-f90-interfaces.h.
include "attr_fn-f90-interfaces.h" include "attr_fn-f90-interfaces.h"
! This file is generated, and is *huge*. Its size is directly related ! This file is generated, and is *huge*. Its size is directly related