forked from MCSclimate/MCT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added stub code for MPI_Intercomm_merge
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ SRCS_C = mpi.c \ | |
handles.c \ | ||
comm.c \ | ||
error.c \ | ||
ic_merge.c \ | ||
group.c \ | ||
time.c \ | ||
pack.c \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
#include "mpiP.h" | ||
|
||
/* | ||
* MPI_Intercomm_merge - Creates an intracommunicator from an intercommunicator | ||
* This is just a stub for now to support mpi function calls even in Serial | ||
* applications. In the case of a serial program, this function is a no-op and | ||
* only ever returns MPI_SUCCESS | ||
*/ | ||
|
||
int MPI_Intercomm_merge( MPI_Comm intercomm, int high, MPI_Comm *newintracomm ) | ||
{ | ||
newintracomm = (MPI_Comm *)intercomm; | ||
return(MPI_SUCCESS); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters