Alain,

I thought the system was arranged as it was because some MPI implementations 
pass special arguments from the runtime system to the MPI library via special 
command-line arguments. Passing the args to MPI_Init allows the library to 
intercept those arguments (and erase them from the arg list seen by the rest of 
the program). I don't know if any real implementations work this way, but we 
may want to be careful about discouraging passing the real arg variables to 
MPI_Init.

 -Hal

----- Original Message -----
> From: "Matthias Troyer" <[email protected]>
> To: "alain miniussi" <[email protected]>, "Discussion of Boost.MPI 
> development" <[email protected]>
> Sent: Thursday, November 29, 2012 5:17:35 AM
> Subject: Re: [Boost-mpi] No arg init
> 
> Hi Alain,
> 
> You can indeed provide no arg initialization and just fake arguments
> for MPI-1.
> 
> Matthais
> 
> On Nov 29, 2012, at 12:13 PM, Alain O Miniussi
> <[email protected]> wrote:
> 
> > 
> > Hi,
> > 
> > While working on the thread issue, a question arises regarding the
> > no
> > arg initialization.
> > 
> > I understand that  some MPI1.x might not allow it, but should
> > BOOST.MPI
> > refect that choice ? Why can't we just pass dummy empty (argc,argv)
> > to
> > MPI_Init(_thread) since, after all, no specific values are required
> > ?
> > 
> > This would simplify our API, and I do not see any down side.
> > 
> > Any though ?
> > 
> > Thanks
> > 
> > --
> > Alain Miniussi
> > Responsable Tech. Centre de Calcul Haute Performance
> > Obs. de la Côte d'Azur |Mont Gros: +33 4 92 00 30 09
> > BP 4229                |Sophia :   +33 4 83 61 85 44
> > 06304 Nice Cedex 4     |https://crimson.oca.eu
> > 
> > _______________________________________________
> > Boost-mpi mailing list
> > [email protected]
> > http://lists.boost.org/mailman/listinfo.cgi/boost-mpi
> 
> _______________________________________________
> Boost-mpi mailing list
> [email protected]
> http://lists.boost.org/mailman/listinfo.cgi/boost-mpi
> 

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
_______________________________________________
Boost-mpi mailing list
[email protected]
http://lists.boost.org/mailman/listinfo.cgi/boost-mpi

Reply via email to