Newsgroups: comp.parallel.mpi
From: tony@aurora.cs.msstate.edu (Tony Skjellum)
Subject: Re: What are the parameters in MPI_Init ()?
Organization: Mississippi State University
Date: 4 Jul 1995 01:17:33 GMT
Message-ID: <3ta4rd$65s@NNTP.MsState.Edu>

In C, the form is

main(int argc, char **argv)
{
   MPI_Init(&argc, &argv);
   /* your parallel program */
   MPI_Finalize();
}

In Fortran, these arguments are unavailable and:

	program xyyzzy
	call MPI_INIT
C	your parallel program
	call MPI_FINALIZE
	stop
	end

is an example.
-Tony Skjellum


Lum Wing Fung Adrian (ma_adlum@uxmail.ust.hk) wrote:
: Dear all,
: 	What are the arguements in the function MPI_Init?  What should
: I passed into it?  What is the usage of passing those parameters?  Should
: I just pass two NULL when start the program?  Thanks.

: --
:  ___       _ _             _      _     _           
: / __| __ _(_) |___ _ _    /_\  __| |_ _(_)__ _ _ _  
: \__ \/ _` | | / _ \ '_|  / _ \/ _` | '_| / _` | ' \ 
: |___/\__,_|_|_\___/_|   /_/ \_\__,_|_| |_\__,_|_||_| ճߦۤ
: o Sailor Venus ...

--
Anthony Skjellum, Asst. Professor, MSU/CS/ERC, Ph: (601)325-8435; FAX: (601)325-8997.
Mosaic: http://www.erc.msstate.edu/~tony; e-mail: tony@cs.msstate.edu
Maxim:  "There is no lifeguard at the gene pool." - C. H. Baldwin
Quote:  "What a rain of ashes falls on him that sees the new and cannot leave the old."-Shak.


