<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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="Apple-interchange-newline"><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; "><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 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 new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; "><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 new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; "><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 new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; "><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 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></body></html>