[mpich-discuss] Compile error on AIX when using --with-device=ch3:shm

Dave Goodell goodell at mcs.anl.gov
Fri Feb 19 10:54:52 CST 2010


Please try using the default channel instead, "ch3:nemesis".  ch3:shm  
is old and generally unsupported.

-Dave

On Feb 19, 2010, at 10:39 AM, Bin Bao wrote:

> AIX3.5, gcc 4.2.4
>
> The configure command was:
> ../mpich2-1.2.1/configure --prefix=/p/compiler/bao/usr/mpich2-1.2.1  
> --with-device=ch3:shm
>
> Error Message:
> /p/compiler/bao/mpich2-1.2.1/src/mpid/ch3/util/shmbase/ch3_shm.c: In  
> function 'MPIDI_CH3I_SHM_read_progress':
> /p/compiler/bao/mpich2-1.2.1/src/mpid/ch3/util/shmbase/ch3_shm.c: 
> 317: error: expected '=', ',', ';', 'asm' or '__attribute__' before  
> '.' token
> /p/compiler/bao/mpich2-1.2.1/src/mpid/ch3/util/shmbase/ch3_shm.c: 
> 317: error: expected expression before '.' token
> /p/compiler/bao/mpich2-1.2.1/src/mpid/ch3/util/shmbase/ch3_shm.c: 
> 346: error: 'u_ptrs' undeclared (first use in this function)
> /p/compiler/bao/mpich2-1.2.1/src/mpid/ch3/util/shmbase/ch3_shm.c: 
> 346: error: (Each undeclared identifier is reported only once
> /p/compiler/bao/mpich2-1.2.1/src/mpid/ch3/util/shmbase/ch3_shm.c: 
> 346: error: for each function it appears in.)
>
>
> After looking into ch3_shm.i, I found that the statement
> MPIDI_CH3I_SHM_Queue_t *shmptr;
>
> becomes
>
> MPIDI_CH3I_SHM_Queue_t *u_ptrs.shmptr;
>
> , which causes the compiler error.
>
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list