Open MPI logo

MTT Devel Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all MTT Devel mailing list

From: Ethan Mallove (ethan.mallove_at_[hidden])
Date: 2007-09-26 13:04:22


DoCommand::Cmd() is returning successfully from my
funclet_file, and unsuccessfully from inside the main MTT
client. E.g.,

  Running command: mpicc -lmpi FZ2TaXqC0Q-hello.c
  Command complete, exit status: 0
     $x = $VAR1 = {
               'timed_out' => 0,
               'pid' => 21698,
               'result_stdout' => '',
               'exit_status' => '0'
             };

I stuck the identical command into client/mtt, and here's
what happened:

  Running command: mpicc -lmpi FZ2TaXqC0Q-hello.c
  OUT:ld: fatal: library -lmpi: not found
  OUT:ld: fatal: File processing errors. No output written to
  OUT:a.out
  Command complete, exit status: 1
     $x = $VAR1 = {
               'timed_out' => 0,
               'pid' => 8749,
               'result_stdout' => 'ld: fatal: library -lmpi: not found
     ld: fatal: File processing errors. No output written to a.out
     ',
               'exit_status' => '256'
             };

Why am I getting two different outcomes from the same command?

-Ethan