1 ! -*- fortran -*- 2 ! 3 ! Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana 4 ! University Research and Technology 5 ! Corporation. All rights reserved. 6 ! Copyright (c) 2004-2005 The University of Tennessee and The University 7 ! of Tennessee Research Foundation. All rights 8 ! reserved. 9 ! Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 ! University of Stuttgart. All rights reserved. 11 ! Copyright (c) 2004-2005 The Regents of the University of California. 12 ! All rights reserved. 13 ! Copyright (c) 2006-2017 Cisco Systems, Inc. All rights reserved 14 ! $COPYRIGHT$ 15 ! 16 ! Additional copyrights may follow 17 ! 18 ! $HEADER$ 19 ! 20 21 ! 22 ! These "external" statements are specific to the MPI mpif.h 23 ! interface (and are toxic to the MPI module interfaces),. 24 ! 25 external MPI_NULL_COPY_FN, MPI_NULL_DELETE_FN 26 external MPI_COMM_NULL_COPY_FN, MPI_COMM_NULL_DELETE_FN 27 external MPI_TYPE_NULL_COPY_FN, MPI_TYPE_NULL_DELETE_FN 28 external MPI_DUP_FN, MPI_COMM_DUP_FN, MPI_TYPE_DUP_FN 29 external MPI_WIN_NULL_COPY_FN 30 external MPI_WIN_NULL_DELETE_FN 31 external MPI_WIN_DUP_FN 32 ! Note that MPI_CONVERSION_FN_NULL is a "constant" (it is only ever 33 ! checked for comparison; it is never invoked), but it is passed as 34 ! a function pointer (to MPI_REGISTER_DATAREP) and therefore must be 35 ! the same size/type. It is therefore external'ed here, and not 36 ! defined with an integer value in mpif-common.h. 37 external MPI_CONVERSION_FN_NULL 38 39 ! 40 ! double precision functions 41 ! 42 external MPI_WTIME, MPI_WTICK , PMPI_WTICK, PMPI_WTIME 43 double precision MPI_WTIME, MPI_WTICK , PMPI_WTICK, PMPI_WTIME 44 ! 45 ! address integer functions 46 ! 47 external MPI_AINT_ADD, MPI_AINT_DIFF 48 integer(kind=MPI_ADDRESS_KIND) MPI_AINT_ADD, MPI_AINT_DIFF