<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Great. Thank you very much Jon. I have a better understanding about both approaches now.</span><br><span></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Jonathan Monette <jonmon@mcs.anl.gov><br> <b><span style="font-weight: bold;">To:</span></b> Emalayan Vairavanathan <svemalayan@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "swift-devel@ci.uchicago.edu" <swift-devel@ci.uchicago.edu>; MosaStore <mosastore@googlegroups.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 28 February 2012 12:21
 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Swift-devel] Running applications with Swift on Surveyor<br> </font> </div> <br><div id="yiv1702014313"><div>Hey Emalayan,<div>   My answers are below.</div><div><br><div><div>On Feb 28, 2012, at 1:53 PM, Emalayan Vairavanathan wrote:</div><br class="yiv1702014313Apple-interchange-newline"><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times, serif;font-size:12pt;"><div>Hi All,</div><div><br></div><div>I have a quick question. <br></div><div><br></div><div>It seems the step I was following to run the applications on BG/P with swift is different from the steps suggested by <a rel="nofollow" target="_blank" href="https://sites.google.com/site/exmproject/development/mosaswift">https://sites.google.com/site/exmproject/development/mosaswift</a>. I was running applications+Swift from head node by just submitting a command
 below.</div><div><span style="color:rgb(0, 0, 191);"><br></span></div><div><span style="color:rgb(0, 0, 191);">swift -config cf  -tc.file tc -sites.file sites.xml ftdock.swift -n=1 -list=pdb.list -grid=10</span></div><div><br></div><div> <span>I didnt start the coaster-service but my site file was using </span><span style="color:rgb(127, 0, 127);">coaster as execution-provider</span> (in site files).
 Then Swift allocated some nodes and executed the job and placed the result in my home directory. (<span style="font-style:italic;">My assumption here was coaster-service and workers will be started automatically by swift</span>). <br></div><div><br></div><div>But the above link suggests me to use persistent-coasters, changes to coaster-config files and also to start coaster-service in the head node.<br>

</div><div><br></div><div style="font-weight:bold;"><br></div><div style="font-weight:bold;">Basically I have three questions:</div><div><br></div><div>1) What is the different between Coasters and Persistent-Coasters?</div></div></div></blockquote><div><br></div>The mechanism is name Coaster.  The persistent part of the name is for the workers, they are persistent through swift executions.  You can re-use the same workers you started with the 'start-coaster-service' script for many swift executions.  When not running in a persistent mode(i.e. the automatic mode) they coaster service and the workers are killed before swift comes to completion.</div><div><br><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times, serif;font-size:12pt;"><div>2) <span>How I was able to run the swift+application without starting the coaster-service, since coaster-service is expected to be started
 manually (<span style="font-style:italic;">according to the above link</span>) ? Does swift use some other mechanisms to send a job if </span><span> coaster-service is not started explicitly</span><span>?</span></div></div></div></blockquote><div><br></div>So if you just say the execution provider is coaster, then Swift will start the coaster service and the workers automatically.  Swift  will then shut down the coaster service and the workers once they the swift script is done executing.  Persistent-coasters will wait until you stop the service explicitly with the 'stop-coaster-service' script.  This script will shutdown the service and any workers connected to it.</div><div><br><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times, serif;font-size:12pt;"><div><span>3) How I need to run my experiments in future with MosaStore and Swift ? Should I use </span> Coasters /
 Persistent-Coasters ?<br></div></div></div></blockquote><div><br></div>I think you want to use the persistent-coaster mode where you start the workers manually with the 'start-coaster-service' script.<br><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times, serif;font-size:12pt;"><div><br><span></span></div><div><span>Thank you</span></div><div><span>Emalayan<br></span></div></div></div>_______________________________________________<br>Swift-devel mailing list<br><a rel="nofollow" ymailto="mailto:Swift-devel@ci.uchicago.edu" target="_blank" href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel<br></blockquote></div><br></div></div></div><br><br> </div> </div>  </div></body></html>