LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Anthony R Fletcher (arif_at_[hidden])
Date: 2007-06-01 10:44:05


I successfully compiled the cxxhello program from the LAM examples but
get a run time error when I run it. Lamboot starts correctly, lamnodes
works as do programs compiled with mpicc.

I'm running lam, version 7.2b1svn10376 from the SVN repository, compiled
with the Intel compiler, version 9.1.043. I see the same thing with
version 7.2b1svn10366.

The platform is a Fedora Core 6, 32-bit Athlon system,

The error from cxxhello is

  % mpirun C ./cxxhello
  MPI_Comm_rank: invalid communicator: Invalid argument (rank 0,
  MPI_COMM_WORLD)
  Rank (0, MPI_COMM_WORLD): Call stack within LAM:
  Rank (0, MPI_COMM_WORLD): - MPI_Comm_rank()
  Rank (0, MPI_COMM_WORLD): - main()
  MPI_Comm_rank: invalid communicator: Invalid argument (rank 1,
  MPI_COMM_WORLD)
  Rank (1, MPI_COMM_WORLD): Call stack within LAM:
  Rank (1, MPI_COMM_WORLD): Call stack within LAM:
  -----------------------------------------------------------------------------
  One of the processes started by mpirun has exited with a nonzero exit
  code. This typically indicates that the process finished in error.
  If your process did not finish in error, be sure to include a "return
  0" or "exit(0)" in your C code before exiting the application.
  
  PID 27324 failed on node n0 (192.168.1.3) with exit status 22.
  -----------------------------------------------------------------------------

This has worked with the version 8 Intel compiler.

Am I missing some vital flag to icpc? Any suggestions?

                        Anthony.

-- 
Anthony R Fletcher        
  Room 2033, Building 12A,        http://dcb.cit.nih.gov/~arif
  National Institutes of Health,  arif_at_[hidden]
  12A South Drive, Bethesda,      Phone: (+1) 301 402 1741.
  MD 20892-5624, USA.