From: Norbert Sensen <sensen@uni-paderborn.de>
Newsgroups: comp.parallel.mpi
Subject: Re: MPI ch_p4 command line args
Date: Mon, 22 Mar 1999 16:03:22 +0100
Organization: University of Paderborn
Message-Id: <36F65BBA.26930416@uni-paderborn.de>
References: <7cu60n$n6g$1@newsfeeds.rpi.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:4793


"Saurabh S. Tendulkar" wrote:
> 
> I am trying to use mpich (1.1.2) for ch_p4. I need to give my executable
> one command line argument, which somehow I am not able to provide.

Hello,
you have to call MPI_Init befor you access the arguments of the program,
since inside this MPI_Init the arguments could be changed.
After the MPI_Init, only the arguments of your program remains.

Norbert Sensen
-- 
------------------------------------------------------------------
Norbert Sensen            
University of Paderborn       office: F2.411
Dept. of Computer Science     phone: +49 +5251 60-6728
Fuerstenallee 11              e-mail: sensen@uni-paderborn.de
33102 Paderborn               http://www.uni-paderborn.de/cs/sensen
Germany
------------------------------------------------------------------

