<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Justin,</span></div><div><br><span></span></div><div><span>I copied </span>swift-test from <span></span>~wozniak/Public/swift-test and try to run it. I followed the steps below.</div><div><br></div><div>- Modified the coaster-service-conf<br></div><div>- Started the coaster service.</div><div>- Started swift<br><code></code></div><div><br></div><div> The tc.data has entries for <span style="font-weight: bold;">cat </span>but I am getting the error below. Do you have any ideas ?<br></div><div><br></div><div>Thank you</div><div>Emalayan</div><div><br></div><div style="font-style: italic; color: rgb(0, 0, 191);">emalayan@login2.surveyor:~/swift-test> run.sh <br></div><div style="font-style: italic; color: rgb(0, 0, 191);">Swift trunk swift-r5662 (swift modified locally) cog-r3361 (cog modified locally)<br><br>RunID:
 20120224-0000-rec5hd4a<br>Progress:  time: Fri, 24 Feb 2012 00:00:45 +0000<br>EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog <br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog <br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog <br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog <br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog <br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>EXCEPTION The application
 "cat" is not available in the given site/pool in your tc.data catalog <br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog <br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog <br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog <br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>Execution failed:<br>    EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog<br>Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException<br>The application "cat" is not available in the given site/pool in your tc.data
 catalog </div><div><br></div><div><br></div><div><br></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> Justin M Wozniak <wozniak@mcs.anl.gov><br> <b><span style="font-weight: bold;">To:</span></b> Jonathan Monette <jonmon@mcs.anl.gov> <br><b><span style="font-weight: bold;">Cc:</span></b> Emalayan Vairavanathan <svemalayan@yahoo.com>; matei <matei@ece.ubc.ca> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 21 February 2012 12:40 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: WORKER_INIT_CMD - with log file<br> </font> </div> <br>Hi guys<br><br>Yes, that version is based on trunk and is up-to-date with <br>WORKER_INIT_CMD.  The
 recent bug fix for the BG/P is in there, I just <br>tested it.<br><br>I moved the location to ~wozniak/Public/swift .  The test case I used is <br>in ~wozniak/Public/swift-test .  Both should be readable.<br><br>     Justin<br><br>On Mon, 20 Feb 2012, Jonathan Monette wrote:<br><br>> It might....that is a question that Justin can answer.  If it doesn't I am sure the feature can be quickly added.<br>><br>> On Feb 20, 2012, at 5:40 PM, Emalayan Vairavanathan <<a ymailto="mailto:svemalayan@yahoo.com" href="mailto:svemalayan@yahoo.com">svemalayan@yahoo.com</a>> wrote:<br>><br>>> Hi Jon,<br>>><br>>> I didn't try with the swift-version available in Justin's home directory. I can try and tell it now.<br>>><br>>> But just a quick question: Does this version has WORKER_INIT_CMD ?<br>>><br>>> Thank you<br>>> Emalayan<br>>><br>>> From: Jonathan Monette
 <<a ymailto="mailto:jonmon@mcs.anl.gov" href="mailto:jonmon@mcs.anl.gov">jonmon@mcs.anl.gov</a>><br>>> To: Emalayan Vairavanathan <<a ymailto="mailto:svemalayan@yahoo.com" href="mailto:svemalayan@yahoo.com">svemalayan@yahoo.com</a>><br>>> Cc: Justin Wozniak <<a ymailto="mailto:wozniak@mcs.anl.gov" href="mailto:wozniak@mcs.anl.gov">wozniak@mcs.anl.gov</a>>; matei <<a ymailto="mailto:matei@ece.ubc.ca" href="mailto:matei@ece.ubc.ca">matei@ece.ubc.ca</a>><br>>> Sent: Monday, 20 February 2012 3:35 PM<br>>> Subject: Re: WORKER_INIT_CMD - with log file<br>>><br>>> I suggest to use the swift version in Justin's directory. This is the stable version for the bg/p. If you already are using it, then let me debug further.<br>>><br>>> What login host where you running on, login1 or login2?<br>>><br>>> On Feb 20, 2012, at 3:13 PM, Emalayan Vairavanathan <<a
 ymailto="mailto:svemalayan@yahoo.com" href="mailto:svemalayan@yahoo.com">svemalayan@yahoo.com</a>> wrote:<br>>><br>>>><br>>>> Hi Jon and Justin,<br>>>><br>>>> I checkout the swift-code from trunk and try to see whether ModFTDock+Swift works on Surveyor (without MosaStore). But the job did not complete for a long time.<br>>>><br>>>> Could you please have a look ?<br>>>><br>>>> (As I can remember, last time there was a bug when I tried to launch swift on Surveyor. Justin fixed the bug and asked me to use the swift executables from his home directory. May be this fix is not available in the trunk ?)<br>>>><br>>>> Thank you<br>>>> Emalayan<br>>>><br>>>> From: Emalayan Vairavanathan <<a ymailto="mailto:svemalayan@yahoo.com" href="mailto:svemalayan@yahoo.com">svemalayan@yahoo.com</a>><br>>>> To: Jonathan Monette <<a
 ymailto="mailto:jonmon@mcs.anl.gov" href="mailto:jonmon@mcs.anl.gov">jonmon@mcs.anl.gov</a>>; "<a ymailto="mailto:emalayan@ece.ubc.ca" href="mailto:emalayan@ece.ubc.ca">emalayan@ece.ubc.ca</a>" <<a ymailto="mailto:emalayan@ece.ubc.ca" href="mailto:emalayan@ece.ubc.ca">emalayan@ece.ubc.ca</a>><br>>>> Cc: Justin Wozniak <<a ymailto="mailto:wozniak@mcs.anl.gov" href="mailto:wozniak@mcs.anl.gov">wozniak@mcs.anl.gov</a>>; matei <<a ymailto="mailto:matei@ece.ubc.ca" href="mailto:matei@ece.ubc.ca">matei@ece.ubc.ca</a>>; MosaStore <<a ymailto="mailto:mosastore@googlegroups.com" href="mailto:mosastore@googlegroups.com">mosastore@googlegroups.com</a>><br>>>> Sent: Monday, 13 February 2012 3:08 PM<br>>>> Subject: Re: WORKER_INIT_CMD<br>>>><br>>>> Thank you very much Jon. I will ask you if I have questions.<br>>>><br>>>> Regards<br>>>>
 Emalayan<br>>>><br>>>> From: Jonathan Monette <<a ymailto="mailto:jonmon@mcs.anl.gov" href="mailto:jonmon@mcs.anl.gov">jonmon@mcs.anl.gov</a>><br>>>> To: <a ymailto="mailto:emalayan@ece.ubc.ca" href="mailto:emalayan@ece.ubc.ca">emalayan@ece.ubc.ca</a><br>>>> Cc: Justin Wozniak <<a ymailto="mailto:wozniak@mcs.anl.gov" href="mailto:wozniak@mcs.anl.gov">wozniak@mcs.anl.gov</a>><br>>>> Sent: Sunday, 12 February 2012 4:50 PM<br>>>> Subject: WORKER_INIT_CMD<br>>>><br>>>> Emalayan,<br>>>>   We have now added an environment variable to the worker script.  The variable is called WORKER_INIT_CMD and works like so:<br>>>><br>>>> export WORKER_INIT_CMD=<path/to/script.to.run><br>>>><br>>>> The worker will then run this script before entering it's main loop that waits for Swift apps to run.  You have to use manual
 coasters to use this variable, which I believe you already are doing.<br>>>><br>>>> Let me know if you have any questions about this env variable.<br>>>><br>>>><br>>>><br>>>><br>>>><br>>>> <modftdock-log.tar.gz><br>>><br>>><br>><br><br>-- <br>Justin M Wozniak<br><br><br> </div> </div>  </div></body></html>