Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rob Latham
MPICH-BlueGene
Commits
d5a4685b
Commit
d5a4685b
authored
Nov 22, 2014
by
Pavan Balaji
Browse files
Move static function to sit inside !defined MPICH_MPI_FROM_PMPI.
Signed-off-by:
Wesley Bland
<
wbland@anl.gov
>
parent
26f9381c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpi/comm/intercomm_merge.c
View file @
d5a4685b
...
...
@@ -21,6 +21,12 @@ int MPI_Intercomm_merge(MPI_Comm intercomm, int high, MPI_Comm *newintracomm) __
/* -- End Profiling Symbol Block */
/* Define MPICH_MPI_FROM_PMPI if weak symbols are not supported to build
the MPI routines */
#ifndef MPICH_MPI_FROM_PMPI
#undef MPI_Intercomm_merge
#define MPI_Intercomm_merge PMPI_Intercomm_merge
/* This function creates VCRT for new communicator
* basing on VCRT of existing communicator.
*/
...
...
@@ -73,12 +79,6 @@ fn_fail:
return
mpi_errno
;
}
/* Define MPICH_MPI_FROM_PMPI if weak symbols are not supported to build
the MPI routines */
#ifndef MPICH_MPI_FROM_PMPI
#undef MPI_Intercomm_merge
#define MPI_Intercomm_merge PMPI_Intercomm_merge
#undef FUNCNAME
#define FUNCNAME MPIR_Intercomm_merge_impl
#undef FCNAME
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment