LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: galitz (galitz_at_[hidden])
Date: 2003-08-05 13:46:15


G'day.

I have new LAM-mpi problem.

On a system with the given laminfo:

[root_at_univac i386]# laminfo
           LAM/MPI: 7.0
            Prefix: /usr
      Architecture: i386-redhat-linux-gnu
     Configured by: root
     Configured on: Tue Aug 5 08:47:40 PDT 2003
    Configure host: univac
        C bindings: yes
      C++ bindings: yes
  Fortran bindings: yes
       C profiling: yes
     C++ profiling: yes
 Fortran profiling: yes
     ROMIO support: yes
      IMPI support: no
     Debug support: no
      Purify clean: no
          SSI boot: globus (Module v0.5)
          SSI boot: rsh (Module v1.0)
          SSI boot: tm (Module v1.0)
          SSI coll: lam_basic (Module v7.0)
          SSI coll: smp (Module v1.0)
           SSI rpi: crtcp (Module v1.0)
           SSI rpi: lamd (Module v7.0)
           SSI rpi: sysv (Module v7.0)
           SSI rpi: tcp (Module v7.0)
           SSI rpi: usysv (Module v7.0)

When I compile the source RPM of the lam-7.0-1 with PGI 4.1 (portland
group compilers) my hello world application fails with a signal 11. Here
is the full output:

[galitz_at_univac galitz]$ mpirun C hello
-----------------------------------------------------------------------------
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 23094 failed on node n0 (127.0.0.1) due to signal 11.
-----------------------------------------------------------------------------

When I compile with gcc, everything runs fine.

The PGI compilers have no trouble producing the binaries, and
non-MPI programs seem to compile and run just fine with the PGI compilers.

Here is the hello world program:

-----------------------------------------

#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>

int
main(int argc, char **argv)
{
  int rank, size;

  /* Start up MPI */

  MPI_Init(&argc, &argv);

  /* Get some info about MPI */

  MPI_Comm_rank(MPI_COMM_WORLD, &rank);
  MPI_Comm_size(MPI_COMM_WORLD, &size);

  /* Print out the canonical "hello world" message */

  printf("Hello, world! I am %d of %d\n", rank, size);

  /* All done */

  MPI_Finalize();
  return 0;
}

---------------------

Thanks in advance...

-geoff

------------------------------------------------------------
Geoff Galitz, galitz_at_[hidden]
Research Computing, College of Chemistry, UC Berkeley
http://www.cchem.berkeley.edu/galitz
http://chemistry.berkeley.edu/admin_services/infosys/unix/index.html
http://unix.cchem.berkeley.edu/