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

chan at mcs.anl.gov chan at mcs.anl.gov
Fri Nov 20 16:49:31 CST 2009


----- "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


More information about the mpich-discuss mailing list