[mpich-discuss] Can I run MPI program without mpirun/mpiexec?

junli gu gujunli at gmail.com
Fri Nov 20 16:54:03 CST 2009


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
************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20091120/bd91d025/attachment.htm>


More information about the mpich-discuss mailing list