[Swift-user] WORKER_INIT_CMD - with log file
Emalayan Vairavanathan
svemalayan at yahoo.com
Thu Feb 23 18:03:02 CST 2012
Hi Justin,
I copied swift-test from ~wozniak/Public/swift-test and try to run it. I followed the steps below.
- Modified the coaster-service-conf
- Started the coaster service.
- Started swift
The tc.data has entries for cat but I am getting the error below. Do you have any ideas ?
Thank you
Emalayan
emalayan at login2.surveyor:~/swift-test> run.sh
Swift trunk swift-r5662 (swift modified locally) cog-r3361 (cog modified locally)
RunID: 20120224-0000-rec5hd4a
Progress: time: Fri, 24 Feb 2012 00:00:45 +0000
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
Execution failed:
EXCEPTION The application "cat" is not available in the given site/pool in your tc.data catalog
Caused by: org.globus.cog.karajan.scheduler.NoSuchResourceException
The application "cat" is not available in the given site/pool in your tc.data catalog
________________________________
From: Justin M Wozniak <wozniak at mcs.anl.gov>
To: Jonathan Monette <jonmon at mcs.anl.gov>
Cc: Emalayan Vairavanathan <svemalayan at yahoo.com>; matei <matei at ece.ubc.ca>
Sent: Tuesday, 21 February 2012 12:40 PM
Subject: Re: WORKER_INIT_CMD - with log file
Hi guys
Yes, that version is based on trunk and is up-to-date with
WORKER_INIT_CMD. The recent bug fix for the BG/P is in there, I just
tested it.
I moved the location to ~wozniak/Public/swift . The test case I used is
in ~wozniak/Public/swift-test . Both should be readable.
Justin
On Mon, 20 Feb 2012, Jonathan Monette wrote:
> It might....that is a question that Justin can answer. If it doesn't I am sure the feature can be quickly added.
>
> On Feb 20, 2012, at 5:40 PM, Emalayan Vairavanathan <svemalayan at yahoo.com> wrote:
>
>> Hi Jon,
>>
>> I didn't try with the swift-version available in Justin's home directory. I can try and tell it now.
>>
>> But just a quick question: Does this version has WORKER_INIT_CMD ?
>>
>> Thank you
>> Emalayan
>>
>> From: Jonathan Monette <jonmon at mcs.anl.gov>
>> To: Emalayan Vairavanathan <svemalayan at yahoo.com>
>> Cc: Justin Wozniak <wozniak at mcs.anl.gov>; matei <matei at ece.ubc.ca>
>> Sent: Monday, 20 February 2012 3:35 PM
>> Subject: Re: WORKER_INIT_CMD - with log file
>>
>> 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.
>>
>> What login host where you running on, login1 or login2?
>>
>> On Feb 20, 2012, at 3:13 PM, Emalayan Vairavanathan <svemalayan at yahoo.com> wrote:
>>
>>>
>>> Hi Jon and Justin,
>>>
>>> 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.
>>>
>>> Could you please have a look ?
>>>
>>> (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 ?)
>>>
>>> Thank you
>>> Emalayan
>>>
>>> From: Emalayan Vairavanathan <svemalayan at yahoo.com>
>>> To: Jonathan Monette <jonmon at mcs.anl.gov>; "emalayan at ece.ubc.ca" <emalayan at ece.ubc.ca>
>>> Cc: Justin Wozniak <wozniak at mcs.anl.gov>; matei <matei at ece.ubc.ca>; MosaStore <mosastore at googlegroups.com>
>>> Sent: Monday, 13 February 2012 3:08 PM
>>> Subject: Re: WORKER_INIT_CMD
>>>
>>> Thank you very much Jon. I will ask you if I have questions.
>>>
>>> Regards
>>> Emalayan
>>>
>>> From: Jonathan Monette <jonmon at mcs.anl.gov>
>>> To: emalayan at ece.ubc.ca
>>> Cc: Justin Wozniak <wozniak at mcs.anl.gov>
>>> Sent: Sunday, 12 February 2012 4:50 PM
>>> Subject: WORKER_INIT_CMD
>>>
>>> Emalayan,
>>> We have now added an environment variable to the worker script. The variable is called WORKER_INIT_CMD and works like so:
>>>
>>> export WORKER_INIT_CMD=<path/to/script.to.run>
>>>
>>> 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.
>>>
>>> Let me know if you have any questions about this env variable.
>>>
>>>
>>>
>>>
>>>
>>> <modftdock-log.tar.gz>
>>
>>
>
--
Justin M Wozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20120223/4bde699a/attachment.html>
More information about the Swift-user
mailing list