[CIG-MC] ssh and autocombine.py
Eh Tan
tan2 at geodynamics.org
Wed Nov 4 13:39:00 PST 2009
Hi Rob,
You need to add the visual/ directory to your PATH environment variable.
If you are using bash, you can add this line in your ~/.bashrc:
export PATH=$PATH:$HOME/convection/citcoms/visual
Eh
Robert Moucha wrote:
> Hi Eh,
>
> Thanks for getting back to me so quickly. Our cluster is set-up with
> password-less ssh into the nodes. I went into
> batchcombine.py and added the line print cmd, to see what command was
> being executed, here is what I get:
> ------------------------
> $ autocombine.py mpirun.nodes pid23816.cfg 10
>
> ssh c0-0 pasteCitcomData.py /state/partition1/moucha2/citcoms
> cookbook6 coord,velo,visc 0 10
> /home/moucha/convection/citcoms/examples/Cookbook6
>
> Last login: Wed Nov 4 16:04:40 2009 from geograppe.local
> Rocks Compute Node
> Rocks 5.0 (V)
> Profile built 16:38 16-Jul-2008
>
> Kickstarted 16:50 16-Jul-2008
> [moucha at compute-0-0 ~]$
> -------------------------
>
> So I tried from my master node:
>
> $ ssh c0-0 pasteCitcomData.py /state/partition1/moucha2/citcoms
> cookbook6 coord,velo,visc 0 10
> /home/moucha/convection/citcoms/examples/Cookbook6
>
> and I get:
>
> bash: pasteCitcomData.py: command not found
>
> Now with the full path:
>
> $ ssh c0-0 ~/software/cig/bin/pasteCitcomData.py
> /state/partition1/moucha2/citcoms cookbook6 coord,velo,visc 0 10
> /home/moucha/convection/citcoms/examples/Cookbook6
>
> It works! Funny though, because when I log into the node, I can
> execute the command directly. Do you know of a way to solve this
> without editing the scripts, or is this just the way ssh works?
>
> Thanks
>
> Rob
>
--
Eh Tan
Staff Scientist
Computational Infrastructure for Geodynamics
California Institute of Technology, 158-79
Pasadena, CA 91125
(626) 395-1693
http://www.geodynamics.org
--
Eh Tan
Staff Scientist
Computational Infrastructure for Geodynamics
California Institute of Technology, 158-79
Pasadena, CA 91125
(626) 395-1693
http://www.geodynamics.org
More information about the CIG-MC
mailing list