Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Calling a perl script from GNU Parallel

by kcott (Archbishop)
on Jul 10, 2012 at 19:16 UTC ( [id://980931]=note: print w/replies, xml ) Need Help??


in reply to Calling a perl script from GNU Parallel

I'm not a parallel user but here's some suggestions for things to check (a few are very basic but I don't know what you've tried):

  • Is ./test.pl executable?
  • Does ./test.pl have a shebang line that is incompatible with your target servers?
  • Is ./test.pl trying to read from stdin?
  • Does ./test.pl run without errors or warnings if use strict; and use warnings; are used?
  • Does calling parallel ... perl ./test.pl work any better?

If none of that helps, please post the ./test.pl code.

-- Ken

Replies are listed 'Best First'.
Re^2: Calling a perl script from GNU Parallel
by stevee (Acolyte) on Jul 12, 2012 at 09:28 UTC
    Ken et al Thanks for the suggestions:

    the script is executable and has a compatible shebang, it runs successfully on both machines using strict.

    The original script is not trying to read from STDIN, so I can get away without passing arguments with parallel

    The suggested syntax does not work either unfortunately

    The test script is purely so I can get parallel working in the first instance so it just prints "Hello world\n"!

    Kind regards Stephen

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-29 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found