in reply to Perl execution of MPIRUN commands

I would suggest that you start by assuming that the error means what it says. Likely something in /usr/local/apps/mpich/bin/mpirun expected an argument and didn't get it.

If you have source for the code emitting the error, you could look for where that message might come from. You can also try running the problematic code by hand and see if you can track down the debugging problem.

(If you have source, then I'd suggest more informative debugging errors. See what perlstyle has to say on that topic for some good tips.)

Replies are listed 'Best First'.
Re: Re: Perl execution of MPIRUN commands
by tesswulf (Initiate) on Feb 16, 2004 at 16:14 UTC
    The source is provided by me! Thats the line... mpirun causes the error... but the same command works fine if run directly from command prompt....
      Try running the command from a command prompt while logged in as the user that the webserver runs, with the environment that the webserver has.

      There is a difference between how you are running the command and how the webserver does (as evidenced by the fact that the webserver produces an error). Figure out what that difference is and you are more than half-way to solving your problem.

        Erm... I have run it from the web server account=="nobody".

        Any other ideas?