in reply to Re: Re: Re: Perl execution of MPIRUN commands
in thread Perl execution of MPIRUN commands

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

Any other ideas?

  • Comment on Re: Re: Re: Re: Perl execution of MPIRUN commands

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Perl execution of MPIRUN commands
by tilly (Archbishop) on Feb 16, 2004 at 18:19 UTC
    You didn't fully implement my first one.

    Same user and same environment!

    If it is running as a CGI command, it is being passed a lot of information in %ENV. Try changing the code that has trouble to something like this:

    #! /usr/bin/perl use Data::Dumper; print "text/plain\n\n"; print Dumper \%ENV;
    That gives you the environment. Do a bunch of export foo=bar to set up that environment and see what happens when you run this offline.

    There is a difference between what you are executing and what the webserver does. You need to track that down.