[torqueusers] Using Perl for a PBS script ?

Garrick Staples garrick at usc.edu
Thu Feb 17 17:28:33 MST 2005


On Fri, Feb 18, 2005 at 09:23:28AM +1100, Chris Samuel alleged:
> Hi folks,
> 
> Just pondering whether it's possible to use Perl as your PBS script, so I 
> tried the attached as a simple test, and it failed with the attached error 
> message indicating things are being added to the script somewhere causing the 
> perl interpreter to fail compilation.
> 
> Is this something I shouldn't even think about ? :-)
> 
> (This is mere curiousity rather than a need)


> Bareword found where operator expected at - line 1, near "/usr/spool"
> 	(Missing operator before pool?)
> Bareword found where operator expected at - line 1, near "256943.brec"
> 	(Missing operator before brec?)
> syntax error at - line 1, near "/usr/spool"
> Execution of - aborted due to compilation errors.

I got the same thing with your example, but then removed the -S option and it
worked fine.

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20050217/429e7485/attachment.bin


More information about the torqueusers mailing list