[ExM Users] Running on Vesta

Justin M Wozniak wozniak at mcs.anl.gov
Tue Nov 4 10:03:46 CST 2014


Yes, use the turbine -i flag to run an initialization script:

http://swift-lang.org/Swift-T/turbine-sites.html#options

Create a shell script (say, ~/p.sh):

#!/bin/sh
cp -v ~/data.txt $TURBINE_OUTPUT

You can use this with turbine-cobalt-run or with the new swift-t 
interface like this:

swift-t -m cobalt -t i:$HOME/p.sh ~/p.swift

The output is:

TURBINE-COBALT SCRIPT
TURBINE_OUTPUT=/home/wozniak/turbine-output/2014/11/04/09/57/13
executing: /home/wozniak/p.sh
`/home/wozniak/data.txt' -> 
`/home/wozniak/turbine-output/2014/11/04/09/57/13/data.txt'
done: /home/wozniak/p.sh
...
JOB_ID...

swift-t -t is used to pass the -i p.sh argument through to Turbine.
The swift-t interface is new and not yet documented but it basically 
supports the previously defined stc and turbine arguments.

On 11/3/2014 11:21 PM, Ozik, Jonathan wrote:
> Thanks Justin.
> Is there an easy way to transfer input files to the working directory that’s used? Is it just a matter of specifying a working directory for execution or is there a better way?
>
> Jonathan
>
>> On Nov 3, 2014, at 9:37 PM, Justin M Wozniak <wozniak at mcs.anl.gov> wrote:
>>
>>
>> Ok, it's ready to try.  Since this is based on trunk, you can use the latest command-line interface:
>>
>> $ PATH=/home/wozniak/Public/sfw/stc/bin:$PATH
>> $ export MODE=BGQ QUEUE=default PROJECT=ExM
>> $ swift-t -m cobalt ~/p.swift
>>
>> On 11/3/2014 9:18 PM, Ozik, Jonathan wrote:
>>> Sounds great. Thanks!
>>>
>>>> On Nov 3, 2014, at 9:10 PM, Justin M Wozniak <wozniak at mcs.anl.gov> wrote:
>>>>
>>>>
>>>> Vesta was down for maintenance today- I'll get back to you tomorrow.
>>>>
>>>> On 11/3/2014 6:12 PM, Ozik, Jonathan wrote:
>>>>> Hi all,
>>>>>
>>>>> I’m following up on the public stc and turbine builds on Vesta. Any luck on those?
>>>>>
>>>>> Thanks as always,
>>>>>
>>>>> Jonathan
>>>>>
>>>>>> On Oct 31, 2014, at 2:06 PM, Ozik, Jonathan <jozik at anl.gov> wrote:
>>>>>>
>>>>>> That would be great. Please let me know if I can help out with anything.
>>>>>>
>>>>>> Jonathan
>>>>>>
>>>>>>> On Oct 31, 2014, at 2:04 PM, Justin M Wozniak <wozniak at mcs.anl.gov> wrote:
>>>>>>>
>>>>>>>
>>>>>>> I can set you up with one.
>>>>>>>
>>>>>>> On 10/31/2014 01:52 PM, Ozik, Jonathan wrote:
>>>>>>>> Hello all,
>>>>>>>>
>>>>>>>> I’m trying to run some simple scripts on Vesta and was wondering if there are more recent publicly available stc and turbine builds than the ones under /home/wozniak/Public ?
>>>>>>>>
>>>>>>>> Jonathan
>>>>>>>> _______________________________________________
>>>>>>>> ExM-user mailing list
>>>>>>>> ExM-user at lists.mcs.anl.gov
>>>>>>>> https://lists.mcs.anl.gov/mailman/listinfo/exm-user
>>>>>>> -- 
>>>>>>> Justin M Wozniak
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> ExM-user mailing list
>>>>>>> ExM-user at lists.mcs.anl.gov
>>>>>>> https://lists.mcs.anl.gov/mailman/listinfo/exm-user
>>>>>> _______________________________________________
>>>>>> ExM-user mailing list
>>>>>> ExM-user at lists.mcs.anl.gov
>>>>>> https://lists.mcs.anl.gov/mailman/listinfo/exm-user
>>>> -- 
>>>> Justin M Wozniak
>>>>
>> -- 
>> Justin M Wozniak
>>
>> _______________________________________________
>> ExM-user mailing list
>> ExM-user at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/exm-user

-- 
Justin M Wozniak



More information about the ExM-user mailing list