Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: PBS not finding file.

by Jeri (Scribe)
on Sep 27, 2011 at 19:09 UTC ( #928149=note: print w/ replies, xml ) Need Help??


in reply to Re: PBS not finding file.
in thread PBS not finding file.

Your guess is correct! I had a hard time explaining that, yes, the argument should be passed from the qsub script, but it's not. I tried your code. It kills the script, as expected.


Comment on Re^2: PBS not finding file.
Re^3: PBS not finding file.
by Jeri (Scribe) on Sep 27, 2011 at 19:11 UTC
    Correction. The argument is not being passed from the qsub script, but should be.

      Let me use my crystal ball again... are you trying to run the "qsub script" from the first code sample and get it's output? If so, use backticks.

      my $PBS_ARRAYID = '123' ; my @output = `/usr/bin/perl /chongle/jeri/timecheck/MUSCLEHMM.pl $PBS_ +ARRAYID > /chongle/jeri/timecheck/output.$PBS_ARRAYID.txt 2> /chongle +/jeri/timecheck/error.$PBS_ARRAYID.txt` ;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-09-22 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (185 votes), past polls