MPI_Init man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

MPI_Init(3)			      MPI			   MPI_Init(3)

NAME
       MPI_Init -  Initialize the MPI execution environment

SYNOPSIS
       int MPI_Init( int *argc, char ***argv )

INPUT PARAMETERS
       argc   - Pointer to the number of arguments
       argv   - Pointer to the argument vector

THREAD AND SIGNAL SAFETY
       This  routine must be called by one thread only.	 That thread is called
       the main thread and must be the thread that calls MPI_Finalize .

NOTES
       The MPI standard does not say what a program can do before an  MPI_INIT
       or  after an MPI_FINALIZE .  In the MPICH implementation, you should do
       as little as possible.  In particular, avoid anything that changes  the
       external	 state of the program, such as opening files, reading standard
       input or writing to standard output.

NOTES FOR FORTRAN
       The Fortran binding for MPI_Init has only the error return
       subroutine MPI_INIT( ierr )
       integer ierr

ERRORS
       All MPI routines (except MPI_Wtime and  MPI_Wtick  )  return  an	 error
       value;  C routines as the value of the function and Fortran routines in
       the last argument.  Before the value is returned, the current MPI error
       handler	is called.  By default, this error handler aborts the MPI job.
       The error handler may be changed with MPI_Comm_set_errhandler (for com‐
       municators),	 MPI_File_set_errhandler      (for     files),	   and
       MPI_Win_set_errhandler  (for   RMA   windows).	 The   MPI-1   routine
       MPI_Errhandler_set  may	be used but its use is deprecated.  The prede‐
       fined error handler MPI_ERRORS_RETURN may be used to cause error values
       to  be  returned.  Note that MPI does not guarentee that an MPI program
       can continue past an error; however, MPI implementations	 will  attempt
       to continue whenever possible.

       MPI_SUCCESS
	      - No error; MPI routine completed successfully.
       MPI_ERR_OTHER
	      -	 This  error class is associated with an error code that indi‐
	      cates that an attempt was made to call MPI_INIT a	 second	 time.
	      MPI_INIT may only be called once in a program.

SEE ALSO
       MPI_Init_thread, MPI_Finalize

LOCATION
       init.c

				   1/2/2012			   MPI_Init(3)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net