[FLASH-USERS] Fatal error in MPI_Comm_create when I run Flash on Mac os x

Reem Alraddadi raba500 at york.ac.uk
Mon Jul 8 12:47:26 EDT 2013


Hi all,

I am running FLASH4 on Mac os x version 10.7.5 and I am using mpich-3.0.4
and I got the following error:

Fatal error in MPI_Comm_create: Other MPI error, error stack:
MPI_Comm_create(600)..........
.......: MPI_Comm_create(comm=0x84000002, group=0xc8001349,
new_comm=0x7fff606a8614) failed
MPI_Comm_create(577).................:
MPIR_Comm_create_intra(241)..........:
MPIR_Get_contextid(799)..............:
MPIR_Get_contextid_sparse_group(1146):  Cannot allocate context ID because
of fragmentation (169/2048 free on this process; ignore_id=0)
Fatal error in MPI_Comm_create: Other MPI error, error stack:
MPI_Comm_create(600).................: MPI_Comm_create(comm=0x84000002,
group=0xc80012b6, new_comm=0x7fff670cc614) failed
MPI_Comm_create(577).................:
MPIR_Comm_create_intra(241)..........:
MPIR_Get_contextid(799)..............:
MPIR_Get_contextid_sparse_group(1146):  Cannot allocate context ID because
of fragmentation (316/2048 free on this process; ignore_id=0)
Fatal error in MPI_Comm_create: Other MPI error, error stack:
MPI_Comm_create(600).................: MPI_Comm_create(comm=0x84000004,
group=0xc800000e, new_comm=0x7fff629d5614) failed
MPI_Comm_create(577).................:
MPIR_Comm_create_intra(241)..........:
MPIR_Get_contextid(799)..............:
MPIR_Get_contextid_sparse_group(1146):  Cannot allocate context ID because
of fragmentation (2020/2048 free on this process; ignore_id=0)
Fatal error in MPI_Comm_create: Other MPI error, error stack:
MPI_Comm_create(600).................: MPI_Comm_create(comm=0x84000002,
group=0xc8000020, new_comm=0x7fff639ae614) failed
MPI_Comm_create(577).................:
MPIR_Comm_create_intra(241)..........:
MPIR_Get_contextid(799)..............:
MPIR_Get_contextid_sparse_group(1146):  Cannot allocate context ID because
of fragmentation (2002/2048 free on this process; ignore_id=0

People from mpich suggested that I should  free unsed communicators. So I
added in  Flash_mpi.h the following line:
   integer, parameter :: FLASH_COMM = MPI_COMM_FREE
but I got an error meassage:

Flash_mpi.h:9.35:
    Included at Driver_abortFlash.F90:34:

   integer, parameter :: FLASH_COMM = MPI_COMM_FREE
                                   1
Error: Symbol 'flash_comm' at (1) already has basic type of INTEGER
make: *** [Driver_abortFlash.o] Error 1

Is there a way to free the unsed communicators in Flash code?

Thanks,
Reem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20130708/f22e1805/attachment.htm>


More information about the flash-users mailing list