Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > b96b0d782c858619536ab397b702cc7e > files > 29

mpich2-doc-1.0.8-2mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MPE_IO_Stdout_to_file</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="MPE_IO_Stdout_to_file"><H1>MPE_IO_Stdout_to_file</H1></A>
Re-direct stdout to a file 
<H2>Synopsis</H2>
<PRE>
void MPE_IO_Stdout_to_file( char *name, int mode )
</PRE>
<H2>Parameters</H2>
<DL>
<DT><B>name </B><DD>Name of file.  If it contains '%d', this value will be replaced with
the rank of the process in 'MPI_COMM_WORLD'.

<P>
<DT><B>mode </B><DD>Mode to open the file in (see the man page for 'open').  A common
value is '0644' (Read/Write for owner, Read for everyone else).  
Note that this
value is `anded` with your current 'umask' value.
</DL>
<P>
<H2>Notes</H2>
Some systems may complain when standard output ('stdout') is closed.
<P><B>Location:</B>../src/misc/src/mpe_io.c<P>
</BODY></HTML>