Back to home page

MITgcm

 
 

    


File indexing completed on 2023-05-28 05:10:54 UTC

view on githubraw file Latest commit b4daa243 on 2023-05-28 03:53:22 UTC
b4daa24319 Shre*0001 /*
                0002 ##########################################################
                0003 # This file is part of the AdjoinableMPI library         #
                0004 # released under the MIT License.                        #
                0005 # The full COPYRIGHT notice can be found in the top      #
                0006 # level directory of the AdjoinableMPI distribution.     #
                0007 ########################################################## 
                0008 */
                0009 #ifndef _AMPI_PASSTHOURGH_H_
                0010 #define _AMPI_PASSTHOURGH_H_
                0011 
                0012 /**
                0013  * \file 
                0014  * \ingroup UserInterfaceHeaders
                0015  * prototypes for wrapper routines with identical signatures that pass the parameters through to the MPI routines; we do this to gave a consistent AMPI naming scheme and avoid having to mix  AMPI and MPI calls
                0016  */ 
                0017 
                0018 /** \ingroup UserInterfaceDeclarations
                0019  * @{
                0020  */
                0021 
                0022 /**
                0023  * simple wrapper; signature is identical to MPI original 
                0024  */
                0025 int AMPI_Comm_size(MPI_Comm comm, 
                0026                    int *size);
                0027 
                0028 /**
                0029  * simple wrapper; signature is identical to MPI original 
                0030  */
                0031 int AMPI_Comm_rank(MPI_Comm comm, 
                0032                    int *rank);
                0033 
                0034 /** 
                0035  * simple wrapper; signature is identical to MPI original 
                0036  */
                0037 int AMPI_Get_processor_name(char *name, 
                0038                             int *resultlen );
                0039 
                0040 /**
                0041  * simple wrapper; signature is identical to MPI original
                0042  */
                0043 int AMPI_Pack_size(int incount,
                0044                    MPI_Datatype datatype,
                0045                    MPI_Comm comm,
                0046                    int *size);
                0047 
                0048 /** @} */
                0049 
                0050 #endif