[Swift-user] Running on Teraport
Alex Moore
amoore2 at uchicago.edu
Mon Jun 22 14:50:05 CDT 2009
Alright, that was it. Thanks, everything is working fine now.
-Alex
On Mon, Jun 22, 2009 at 2:32 PM, Glen Hocky<hockyg at uchicago.edu> wrote:
> Also, i think you want the output of "which qsub to be the following"
>
> [hockyg at tp-login2 ~]$ which qsub
> /soft/torque-2.3.6-r1/bin/qsub
>
>
> On Mon, Jun 22, 2009 at 2:31 PM, Glen Hocky <hockyg at uchicago.edu> wrote:
>>
>> You have to change your environment until typing "qstat" on the command
>> line works.
>> I'm guessing if you edit $HOME/.soft and put in the line
>>
>> +torque
>>
>> and then type
>>
>> resoft;source ~/.bashrc
>>
>> you'll be good to go
>>
>> On Mon, Jun 22, 2009 at 2:14 PM, Alex Moore <amoore2 at uchicago.edu> wrote:
>>>
>>> I'm running swift on tp-login.ci.uchicago.edu, and I want to run it on
>>> the cluster. I changed my swiftwork dir as Glen suggested so I now
>>> have:
>>>
>>> pool handle="localhost" >
>>> <gridftp url="local://localhost" />
>>> <execution provider="pbs" url="none"/>
>>> <workdirectory>/home/amoore2/Work</workdirectory>
>>> <profile namespace="karajan" key="jobThrottle">0</profile>
>>> </pool>
>>>
>>> localhost wormanalysis /home/amoore2/work/run_wormanalysis.sh
>>> INSTALLED INTEL32::LINUX null
>>>
>>> as my sites.xml and tc.dat files. I get the same error message:
>>>
>>> Caused by:
>>> Cannot submit job: java.io.IOException: qsub: not found
>>>
>>> It also says that it "Failed to transfer wrapper log from
>>> wormanalysis-......../info/9 on localhost" when I run the program
>>>
>>> -Alex
>>>
>>> On Mon, Jun 22, 2009 at 1:26 PM, Glen Hocky<hockyg at uchicago.edu> wrote:
>>> > <pool handle="teraport" >
>>> > <profile namespace="globus" key="queue">fast</profile>
>>> > <profile namespace="globus" key="maxwalltime">01:00:00</profile>
>>> > <gridftp url="local://localhost" />
>>> > <execution provider="pbs" url="none" jobmanager="local:pbs" />
>>> > <workdirectory>/home/hockyg/swiftwork</workdirectory>
>>> > </pool>
>>> >
>>> > change swiftwork dir
>>> >
>>> > On Mon, Jun 22, 2009 at 1:10 PM, Alex Moore <amoore2 at uchicago.edu>
>>> > wrote:
>>> >>
>>> >> Thanks, that got it running. I get a different error message now
>>> >> though:
>>> >>
>>> >> Execution failed:
>>> >> Exception in wormanalysis
>>> >> Arguments: [home/amoore2/Work/Data/070326.tif,
>>> >> home/amoore2/Work/Save/Ang-Def.0006.dat,
>>> >> home/amoore2/Work/Save/Props.0006.dat]
>>> >> Host: localhost
>>> >> Directory:
>>> >> wormanalysis-20090622-1303-7z3h1d62/jobs/0/wormanalysis-0mumlmcj
>>> >> stderr.txt
>>> >>
>>> >> stdout.txt
>>> >>
>>> >> ----
>>> >> Caused by:
>>> >> Cannot submit job: java.io.IOException: qsub: not found
>>> >>
>>> >> The program loads an image file from my CI account as input and
>>> >> outputs two .dat files to a directory on my CI account as well- I
>>> >> don't know if it might be something in my code that is causing this.
>>> >> Thanks.
>>> >> -Alex
>>> >>
>>> >> On Mon, Jun 22, 2009 at 12:54 PM, Zhao Zhang<zhaozhang at uchicago.edu>
>>> >> wrote:
>>> >> > Hi, Alex
>>> >> >
>>> >> > # sitename transformation path INSTALLED platform
>>> >> > profiles
>>> >> > pbs wormanalysis /home/amoore2/work/run_wormanalysis.sh
>>> >> > INSTALLED INTEL32::LINUX null
>>> >> >
>>> >> > change the "pbs" above to localhost.
>>> >> > That "sitename" field should be the same as the <pool handle> in
>>> >> > sites.xml
>>> >> >
>>> >> > best
>>> >> > zhao
>>> >> >
>>> >> >
>>> >> > Alex Moore wrote:
>>> >> >>
>>> >> >> Trying to run a job on Teraport. Logged into
>>> >> >> tp-login.ci.uchicago.edu.
>>> >> >> Use the following entries for sites.xml and tc.dat:
>>> >> >> ------
>>> >> >> <pool handle="localhost">
>>> >> >> <gridftp url="local://localhost" />
>>> >> >> <execution provider="pbs" url="none" />
>>> >> >> <workdirectory >/var/tmp</workdirectory>
>>> >> >> <profile namespace="karajan" key="jobThrottle">0</profile>
>>> >> >> </pool>
>>> >> >> ----------
>>> >> >> # sitename transformation path INSTALLED platform
>>> >> >> profiles
>>> >> >> pbs wormanalysis /home/amoore2/work/run_wormanalysis.sh
>>> >> >> INSTALLED INTEL32::LINUX null
>>> >> >> ----------
>>> >> >>
>>> >> >> My swift program call an app named wormanalysis that is on my ci
>>> >> >> account. Runs fine locally. Mike Wilde said that changing the
>>> >> >> "<execution provider=" to pbs instead of localhost should work.
>>> >> >> Got
>>> >> >> the following error message:
>>> >> >>
>>> >> >> Execution failed:
>>> >> >> Could no find any valid host for the task "Task( type=UNKNOWN,
>>> >> >> identity=urn:cog-1245692325277)" with constraints {filenames=
>>> >> >> [Ljava.lang.Sting;@15f98bd, trfqn=wormanalysis,
>>> >> >>
>>> >> >> filecache=0rg.griphyn.vdl.karajan.lib.cache.CacheMapAdapter at 15f98f9,
>>> >> >> tr=wormanalysis}
>>> >> >>
>>> >> >> Any help would be appreciated. Thanks.
>>> >> >> -Alex
>>> >> >> _______________________________________________
>>> >> >> Swift-user mailing list
>>> >> >> Swift-user at ci.uchicago.edu
>>> >> >> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
>>> >> >>
>>> >> >>
>>> >> >
>>> >> _______________________________________________
>>> >> Swift-user mailing list
>>> >> Swift-user at ci.uchicago.edu
>>> >> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
>>> >
>>> >
>>
>
>
More information about the Swift-user
mailing list