<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Justin,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

​​Did you do the following steps: </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">export WORKER_LOCATION="/home/ubuntu"</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

export WORKER_HOSTS="<IP of machine 1> <IP of machine 2>"</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">export WORKER_USERNAME=ubuntu</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">and then run "source setup.sh" ? </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">When you source the setup.sh scripts you must've gotten a sites.xml and a start-coaster-service.log in your scs folder, could you send us those ?</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The setup script should start a persistent coaster service and connect to the nodes on amazon, start workers, and generate a sites.xml file</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

that would let your swift scripts run across the amazon nodes. You shouldn't have to make changes to the sites.xml.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

 Alternatively, you could try using the beta release of swift, Swift 0.95 RC6 with the new cloud mechanism:<br></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"><a href="https://github.com/swift-lang/swift-on-cloud/tree/master/aws">https://github.com/swift-lang/swift-on-cloud/tree/master/aws</a></font></div>

<div class="gmail_default" style><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif">That will set you up with a headnode on AWS with a few worker nodes that you define, with everything setup to run swift.</font></div>

<div class="gmail_default" style><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Yadu</div><div class="gmail_extra"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​</div><br><br><div class="gmail_quote">

On Thu, Aug 28, 2014 at 6:57 PM, Justin bbt <span dir="ltr"><<a href="mailto:justinbbt@gmail.com" target="_blank">justinbbt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class=""><div class="h5"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr">Hi all, <div><br></div><div>
 I could successfully run swift on my local system. </div><div>Next, I want to use the swift to run some jobs on a cluster.<br></div><div><br></div><div>I followed this tutorial.  (I am using just a simple cluster- I even could not run the job on one remote node of the cluster)  </div>



<div><a href="http://swift-lang.org/tutorials/cloud/tutorial.html" target="_blank">http://swift-lang.org/tutorials/cloud/tutorial.html</a> <br></div><div><br></div><div>But, I get this when I run swift p1.swift or other swift </div>


<div>
<br></div><div>Swift 0.94.1 swift-r7114 cog-r3803</div><div><br></div><div>RunID: 20140828-1758-ea4phzag</div><div>Progress:  time: Thu, 28 Aug 2014 17:58:15 -0400</div><div>Progress:  time: Thu, 28 Aug 2014 17:58:24 -0400  Submitted:1</div>



<div>Execution failed:</div><div><span style="white-space:pre-wrap">  </span>Exception in simulate:</div><div>    Arguments: []</div><div>    Host: remotehost2</div><div>    Directory: p1-20140828-1758-ea4phzag/jobs/7/simulate-7k2fxlvl</div>



<div><br></div><div>Caused by:</div><div><span style="white-space:pre-wrap">        </span>Job failed with an exit code of 127</div><div><span style="white-space:pre-wrap">      </span>simulation, p1.swift, line 9</div><div><br>
</div><div><br></div><div>--- this is my site.xml file setting </div><div><div><br></div><div>   <pool handle="remotehost2"></div><div>      <execution provider="ssh" jobmanager="ssh:local" url="myclusteturl"/></div>



<div>      <filesystem provider="ssh" url="myclusteturl"/></div><div>      <profile namespace="karajan" key="jobThrottle">0</profile></div><div>      <profile namespace="karajan" key="initialScore">10000</profile></div>



<div>      <workdirectory>/path/to/remote/workdirectory</workdirectory></div><div>   </pool></div></div><div><br></div><div>--- if I use this one </div><div><div><pool handle="persistent-coasters"></div>



<div>    <execution provider="coaster-persistent"</div><div>               url="myclusterurl"</div><div>               jobmanager="local:local"/></div><div>    <profile namespace="globus" key="workerManager">passive</profile></div>



<div>    <profile namespace="globus" key="jobsPerNode">1</profile></div><div>    <profile key="jobThrottle" namespace="karajan">10</profile></div><div>    <profile namespace="karajan" key="initialScore">10000</profile></div>



<div>    <filesystem provider="local" url="none" /></div><div>    <workdirectory>.l</workdirectory></div><div>  </pool></div></div><div>--- then it loops to my localhost and just repeat submitting the jobs </div>



<div><br></div><div>1. Is this a correct setting? </div><div>2. Should I use coaster? I could not understand the description in user guides and documentation about the concepts of coaster and the required setting. Is there any better tutorial which would describe the coaster ? </div>



<div>3. I plan to use the swift later on the cloud (Microsoft Azure). What are the setting required for that? for site.xml and if any other file </div><div><br></div><div><br></div><div>Thanks in Advance. </div><div> </div>



</div>
</blockquote></div><br></div></div>
</div></div><br>_______________________________________________<br>
Swift-user mailing list<br>
<a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>

<div dir="ltr">Yadu Nand B<div><br></div></div>
</div></div>