Subject: Re: [Boost-mpi] No arg init
From: Hal Finkel (hfinkel_at_[hidden])
Date: 2012-11-29 09:33:16
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.
----- Original Message -----
> From: "Matthias Troyer" <troyer_at_[hidden]>
> To: "alain miniussi" <alain.miniussi_at_oca.eu>, "Discussion of Boost.MPI development" <boost-mpi_at_[hidden]>
> 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.
> On Nov 29, 2012, at 12:13 PM, Alain O Miniussi
> <alain.miniussi_at_oca.eu> 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
> > Boost-mpi_at_[hidden]
> > http://lists.boost.org/mailman/listinfo.cgi/boost-mpi
> Boost-mpi mailing list
-- Hal Finkel Postdoctoral Appointee Leadership Computing Facility Argonne National Laboratory
Boost-Commit list run by troyer at boostpro.com