[mvapich-discuss] Passing environment variables through mpirun_rsh

Jonathan Perkins perkinjo at cse.ohio-state.edu
Wed Mar 2 09:42:38 EST 2011


Shanka:
You can pass these variables by specifying them right before the program.

eg.
mpirun_rsh -n 2 host1 host2 SOMEVAR=SOMEVAL ANOTHERVAR=ANOTHERVAL ./mpiprog

On Wed, Mar 2, 2011 at 9:05 AM, shankha <shankhabanerjee at gmail.com> wrote:
> Hi,
> I wish to pass environments variable to my mpi program while I am
> running it through mpirun_rsh. What option should I use ?
>
> e.g. I can pass environment variables to my mpi program while ruining
> it through mpiexec in the following way(through the env option):
> mpiexec -np 8 -env LD_PRELOAD my_lib ./my_prog
>
> Do I need to build mvapich to use a different process manager (e.g. smpd ).
>
> --
> Thanks
> Shankha
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo


More information about the mvapich-discuss mailing list