[mpich-discuss] linux shell calls and mpi

Pavan Balaji balaji at mcs.anl.gov
Sat Oct 15 04:55:22 CDT 2011


You should be able to reproduce the problem you are getting without MPI 
by doing:

% ssh <some_remote_host> python home/user/.../script.py

This is because ssh does not create a terminal for remote launches. You 
can force ssh to create a pseudo-terminal by passing -t. If you want to 
pass this option to mpiexec, you can set the environment variable 
HYDRA_LAUNCHER_EXTRA_ARGS=-t before calling mpiexec.

  -- Pavan

On 10/13/2011 11:52 PM, Charles Sartori wrote:
> Hi Nicolas,
> what i want to do is, when the nodes finish his jobs, they call python
> script, that script will change the frequency of cpu and set HD into
> sleep state, i'm using a python script for two reasons, i wanna learn
> python a little :) and i wanna that works with fortran mpi program too.
> i'm a student from Brazil.. so i am new with linux/mpi... some things
> that you said i dont know exactly what is, but i will search and follow
> your advices. Since these looks like a C issue like you said, i will try
> get some help in another forum, but thank you, i hope your advices
> solves my problem.
>
> Cheers and have fun!
>
> --
> *Charles Sartori
>
>
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list