[mpich-discuss] Can I run MPI program without mpirun/mpiexec?
Jayesh Krishna
jayesh at mcs.anl.gov
Mon Nov 23 11:18:30 CST 2009
Hi,
You need to have some sort of process manager (capable of launching processes on the user's behalf - ie, one of the functionalities provided by the SMPD process manager) to achieve that.
Developers who typically run their MPI programs without a job launcher (mpiexec), spawn (MPI_Comm_spawn*()) additional processes, if needed (Unless the developer has his own process manager capable of launching processes).
You might also want to take a look at the windows developer's guide - available at http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs - Section 9.8 on how to debug programs by starting them manually.
Regards,
Jayesh
----- Original Message -----
From: "junli gu" <gujunli at gmail.com>
To: "Anthony Chan" <chan at mcs.anl.gov>, mpich-discuss at mcs.anl.gov
Sent: Friday, November 20, 2009 4:54:03 PM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] Can I run MPI program without mpirun/mpiexec?
I need to run multi-process mpi programs. Is it possible that run them without mpirun command? to include everything needed into one stand alone binary?
2009/11/20 < chan at mcs.anl.gov >
----- "junli gu" < gujunli at gmail.com > wrote:
> Hi everyone:
>
> I want to run mpi program like a normal binary without
> mpirun/mpiexec
> command, like this: ./mpi_hello . Is this possible?
Yes. but without mpiexec, you can only run 1 process.
> This is possible only that I can compile mpi program and put all the
> runtime
> information into a stand alone binary. I don't know if it is
> possible.
Hmm... Since you are using a cross-compiler, alpha-gcc, not sure how
you built it... Trying adding -static during linking to see if it
links OK.
A.Chan
> Thank you very much!
>
> --
> ************************************************
> Junli Gu--谷俊丽
> Coordinate Science Lab
> University of Illinois at Urbana-Champaign
> ************************************************
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
--
************************************************
Junli Gu--谷俊丽
Coordinate Science Lab
University of Illinois at Urbana-Champaign
************************************************
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list