Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Set number of processes in another way than -np X
From: Ralph Castain (rhc_at_[hidden])
Date: 2013-06-06 11:10:23


Afraid not. You could start a single process, and then have that process call MPI_Comm_spawn to launch the rest of them

On Jun 6, 2013, at 7:54 AM, José Luis García Pallero <jgpallero_at_[hidden]> wrote:

> Hello:
>
> I'm newbie in the use of MPI, so probably I ask some stupid question (or previously asked, but in this case I have searched in the archive and I haven't found anything):
>
> Exists any other way than -np X in order to pass the number of processes to start for an MPI program? I mean a function of the style MPI_Set_Number_Processes() or similar
>
> Thanks
>
> --
> *****************************************
> José Luis García Pallero
> jgpallero_at_[hidden]
> (o<
> / / \
> V_/_
> Use Debian GNU/Linux and enjoy!
> *****************************************
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users