Newsgroups: comp.parallel.mpi
From: tst@dcs.ed.ac.uk (Tristan Tarrant)
Subject: Problem with LAM 6.0?
Organization: Department of Computer Science, Edinburgh University
Date: Fri, 23 Aug 1996 17:39:06 GMT
Message-ID: <DwLqD8.GEz.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk>

Under LAM 6.0 (with the latest patches) running the following:

#include <mpp/mpi.h>

int main(int argc, char *argv[]) {

    MPI_Comm comm;

    int i;

    MPI_Init(&argc, &argv);

    for (i=0; i<100000; i++) {

        MPI_Comm_dup(MPI_COMM_WORLD, &comm);
        MPI_Comm_free(&comm);

    }
	MPI_Finalize();
}


Eats memory away and fails with the following message:

MPI_Comm_dup: internal MPI error: out of descriptors (rank 2, comm 0)

Is this correct behaviour or is it a bug ?

Tristan

--
Tristan Tarrant - email: tst@dcs.ed.ac.uk
	Linux - The Choice of a GNU generation

