1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MPICCommToFortranComm</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="MPICCommToFortranComm"><H1>MPICCommToFortranComm</H1></A>
Converts a MPI_Comm represented in C to one appropriate to pass to a Fortran routine.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
int MPICCommToFortranComm(MPI_Comm comm,int *fcomm)
</PRE>
Not collective
<P>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<DT><B>cobj </B> -the C MPI_Comm
<br>
<P>
<H3><FONT COLOR="#CC3333">Output Parameter</FONT></H3>
<DT><B>fobj </B> -the Fortran MPI_Comm
<br>
<P>
<P>
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
<A HREF="../Sys/MPICCommToFortranComm.html#MPICCommToFortranComm">MPICCommToFortranComm</A>() must be called in a C/C++ routine.
MPI 1 does not provide a standard for mapping between
Fortran and C MPI communicators; this routine handles the
mapping correctly on all machines.
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
Fortran, C, MPI_Comm, convert, interlanguage
<BR>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../Sys/MPIFortranCommToCComm.html#MPIFortranCommToCComm">MPIFortranCommToCComm</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>advanced
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/fortran/custom/zoptions.c.html#MPICCommToFortranComm">src/fortran/custom/zoptions.c</A>
<BR><A HREF="./index.html">Index of all Sys routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/vec/examples/tutorials/ex7.c.html">src/vec/examples/tutorials/ex7.c.html</A><BR>
</BODY></HTML>
|