[mpich-discuss] Error for shared memory allocation problem

魏彦杰 yj.wei at siat.ac.cn
Wed Jun 6 03:16:03 CDT 2012


When I run many MPI processes on the same node, MPICH2 runs out of shared memory and throws the below error:

Fatal error in PMPI_Init_thread: Other MPI error, error stack:
MPIR_Init_thread(392).................: 
MPID_Init(139)........................: channel initialization failed
MPIDI_CH3_Init(38)....................: 
MPID_nem_init(196)....................: 
MPIDI_CH3I_Seg_commit(327)............: 
MPIU_SHMW_Seg_create_and_attach(895)..: 
MPIU_SHMW_Seg_create_attach_templ(653): unable to allocate shared memory - mmap Cannot allocate memory

I can disable shared memory using MPICH_NO_LOCAL=1, but I don't see a way to reduce the shared memory allocation in MPICH2 without totally disabling it.

I'm using mpich2-1.4.1p1.

Yanjie Wei






More information about the mpich-discuss mailing list