Changeset 5659
- Timestamp:
- 11/02/09 08:51:45 (3 weeks ago)
- Files:
-
- 1 modified
-
mpich2/trunk/src/mpi/comm/comm_create.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mpich2/trunk/src/mpi/comm/comm_create.c
r5398 r5659 19 19 /* -- End Profiling Symbol Block */ 20 20 21 /* Define MPICH_MPI_FROM_PMPI if weak symbols are not supported to build22 the MPI routines */23 #ifndef MPICH_MPI_FROM_PMPI24 #undef MPI_Comm_create25 #define MPI_Comm_create PMPI_Comm_create26 27 #endif28 29 21 /* prototypes to make the compiler happy in the case that PMPI_LOCAL expands to 30 22 * nothing instead of "static" */ … … 42 34 PMPI_LOCAL int MPIR_Comm_create_intra(MPID_Comm *comm_ptr, MPID_Group *group_ptr, MPI_Comm *newcomm); 43 35 PMPI_LOCAL int MPIR_Comm_create_inter(MPID_Comm *comm_ptr, MPID_Group *group_ptr, MPI_Comm *newcomm); 36 37 38 /* Define MPICH_MPI_FROM_PMPI if weak symbols are not supported to build 39 the MPI routines */ 40 #ifndef MPICH_MPI_FROM_PMPI 41 #undef MPI_Comm_create 42 #define MPI_Comm_create PMPI_Comm_create 44 43 45 44 /* This function allocates and calculates an array (*mapping_out) such that … … 486 485 } 487 486 487 #endif /* !defined(MPICH_MPI_FROM_PMPI) */ 488 488 489 489 #undef FUNCNAME
