<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Mark,<br>
<br>
I attached a workflow to submit jobs to a remote cluster. It
works on my windows 7 machine. Please have a try. If you find any
questions, just let me know.<br>
<br>
<pre class="moz-signature" cols="72">Best wishes
Sincerely yours
Jianwu Wang
<a class="moz-txt-link-abbreviated" href="mailto:jianwu@sdsc.edu">jianwu@sdsc.edu</a>
<a class="moz-txt-link-freetext" href="http://users.sdsc.edu/~jianwu/">http://users.sdsc.edu/~jianwu/</a>
Assistant Project Scientist
Scientific Workflow Automation Technologies (SWAT) Laboratory
San Diego Supercomputer Center
University of California, San Diego
San Diego, CA, U.S.A. </pre>
<br>
On 8/31/2010 4:01 PM, Mark Miller wrote:
<blockquote
cite="mid:0BF9FC5D2ADF7643BEABD675FF86EC1D8DB53E0D26@MBX.ad.sdsc.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">HI
Jianwu,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I am
using the new Kepler 2.0.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I
would love to have a demo
workflow for that….!!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;">From:</span></b><span style="font-size:
10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:kepler-users-bounces@kepler-project.org">kepler-users-bounces@kepler-project.org</a>
[<a class="moz-txt-link-freetext" href="mailto:kepler-users-bounces@kepler-project.org">mailto:kepler-users-bounces@kepler-project.org</a>] <b>On
Behalf Of </b>Jianwu
Wang<br>
<b>Sent:</b> Tuesday, August 31, 2010 3:30 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:kepler-users@kepler-project.org">kepler-users@kepler-project.org</a><br>
<b>Subject:</b> Re: [kepler-users] new user issue with
sshexecutecmd<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Mark,<br>
<br>
Usually the channel index error is not actor related.
It could be some error in workflow.<br>
<br>
Which Kepler version you are using? I can send you a
demo workflow to deploy jobs to remote machine. I think SSH
Execute cmd actor
is not the only option. Or I can have a look at your workflow
if you
want. <br>
<br>
<o:p></o:p></p>
<pre>Best wishes<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Sincerely yours<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Jianwu Wang<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:jianwu@sdsc.edu">jianwu@sdsc.edu</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://users.sdsc.edu/%7Ejianwu/">http://users.sdsc.edu/~jianwu/</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Assistant Project Scientist<o:p></o:p></pre>
<pre>Scientific Workflow Automation Technologies (SWAT) Laboratory<o:p></o:p></pre>
<pre>San Diego Supercomputer Center <o:p></o:p></pre>
<pre>University of California, San Diego<o:p></o:p></pre>
<pre>San Diego, CA, U.S.A. <o:p></o:p></pre>
<p class="MsoNormal"><br>
On 8/31/2010 3:17 PM, Mark Miller wrote: <o:p></o:p></p>
<p class="MsoNormal">I am a new user, trying to learn how to
deploy jobs on
remote machines via Kepler. <o:p></o:p></p>
<p class="MsoNormal">I am running in WindowsXP environment.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">It seems the SSH Execute cmd actor would be
the correct one
to use.<o:p></o:p></p>
<p class="MsoNormal">I set up a simple workflow connecting this
actor’s outputs
to display screens to see what happens,<o:p></o:p></p>
<p class="MsoNormal">Which is what I have done with other actors
I am learning to
use.<o:p></o:p></p>
<p class="MsoNormal">I configured the login creds for the
“target” input (these
creds work for the SSH Directory Listing actor)<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Unlike the other actors I have tried, with
this one, I get a
fail with the following message:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">ptolemy.kernel.util.IllegalActionException:
Channel index 0
is out of range, because width is only 0.<o:p></o:p></p>
<p class="MsoNormal"> in .ssh_dir.SSH Execute cmd.command<o:p></o:p></p>
<p class="MsoNormal">
at ptolemy.actor.IOPort.get(IOPort.java:849)<o:p></o:p></p>
<p class="MsoNormal">
at org.kepler.actor.ssh.ExecuteCmd.fire(ExecuteCmd.java:368)<o:p></o:p></p>
<p class="MsoNormal">
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:469)<o:p></o:p></p>
<p class="MsoNormal">
at
ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:188)<o:p></o:p></p>
<p class="MsoNormal">
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:458)<o:p></o:p></p>
<p class="MsoNormal">
at ptolemy.actor.Manager.iterate(Manager.java:749)<o:p></o:p></p>
<p class="MsoNormal">
at ptolemy.actor.Manager.execute(Manager.java:351)<o:p></o:p></p>
<p class="MsoNormal">
at ptolemy.actor.Manager.run(Manager.java:1162)<o:p></o:p></p>
<p class="MsoNormal">
at ptolemy.actor.Manager$3.run(Manager.java:1215)<o:p></o:p></p>
<p class="MsoNormal">I have tried searching/googling all the
kepler docs, but
can’t find a reference to this message.<o:p></o:p></p>
<p class="MsoNormal">Can anyone help?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Mark<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Cambria","serif";">Mark
A. Miller, PhD</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Cambria","serif";">Principal
Investigator, Biology</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Cambria","serif";">San
Diego Supercomputer Center</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Cambria","serif";">University
of California, San Diego</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Cambria","serif";">La
Jolla, CA, 92093-0505</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Cambria","serif";">Tel:
858-822-0866</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Cambria","serif";">Fax:
858-534-5117</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Kepler-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><o:p></o:p></pre>
</div>
</blockquote>
</body>
</html>