[MPICH] MPE loggin question

Wolfram Brenig w.brenig at tu-bs.de
Fri Dec 9 14:19:24 CST 2005


Hello,

trying to use MPE-loggin, I'm am experiencing
the problem that even the most elementary
'code' - shown below - fails for me

#include <mpi.h>
#include <mpe.h>
int main(int argc, char* argv[]) {
  int p,r;
  MPI_Init(&argc,&argv);
  MPI_Comm_size(MPI_COMM_WORLD,&p);
  MPI_Comm_rank(MPI_COMM_WORLD,&r);

  MPE_Init_log();                   // *1*

  MPE_Finish_log("tessimessi");     // *2*

  MPI_Finalize();
  return 0;
}

This 'program' compiles with no warning/error,
but on execution causes the output:

Enabling the synchronization of the clocks...
rank 2 in job 11  dell1_1130   caused collective abort of all ranks
   exit status of rank 2: killed by signal 11
rank 0 in job 11  dell1_1130   caused collective abort of all ranks
   exit status of rank 0: killed by signal 9

Commenting away lines *1* and *2*, i.e. leaving out the MPE,
the problem disappears.

The MPI version I have at hand is:
~> mpich2version
Version:           1.0.2
Device:            ch3:sock
Configure Options: --enable-sharedlibs=gcc CFLAGS=-O3 -march=pentium4m
CXXFLAGS=-O3 -march=pentium4m

The MPE came with the package.

Any help would be most welcome.
Wolfram




More information about the mpich-discuss mailing list