I Installed mpich2 on my quadcore withe gforker as process manager
andthe shared memory option.
I try to compile getm with the mpich2 library and the intel ifort compiler.
At the linking step I got the error message:
/home/karsten/software/MPI_library/MPICH2/mpich2_gforker_ifort/lib/libmpich.a(ch3_init.o):
In function `MPIDI_CH3_Init':
ch3_init.c:(.text+0x7f8): undefined reference to `shm_unlink'
/home/karsten/software/MPI_library/MPICH2/mpich2_gforker_ifort/lib/libmpich.a(shm_memory.o):
In function `MPIDI_CH3I_SHM_Get_mem':
shm_memory.c:(.text+0x68): undefined reference to `shm_open'
Does anyone have an idea, what might be wrong?
Or has anybody seen this error message before?
Help is welcome.
Cheers, Karsten L.
<snip>
> /home/karsten/software/MPI_library/MPICH2/mpich2_gforker_ifort/lib/libmpich.a(ch3_init.o):
> In function `MPIDI_CH3_Init':
> ch3_init.c:(.text+0x7f8): undefined reference to `shm_unlink'
> /home/karsten/software/MPI_library/MPICH2/mpich2_gforker_ifort/lib/libmpich.a(shm_memory.o):
> In function `MPIDI_CH3I_SHM_Get_mem':
> shm_memory.c:(.text+0x68): undefined reference to `shm_open'
>
> Does anyone have an idea, what might be wrong?
> Or has anybody seen this error message before?
Have you tried to compile something smaller than GETM? Any MPI-test programs?
I have no experience with gforker, and it doesn't look like a GETM issue(?)
> Help is welcome.
Run whatever test suite, which comes with mpich2/gforker. Is there a
particular reason to use gforker?
Did you compile mpich2+gforker with ifort?
> Cheers, Karsten L.
-Bjarne