[mpich-discuss] MPICH 3.0.3 fails to compile with gcc 4.7

Ondřej Čertík ondrej.certik at gmail.com
Sun Feb 16 15:51:50 CST 2014


Hi,

After compiling 3.0.3 from source using gcc 4.7:

./configure --prefix=/panfs/scratch/vol1/certik/h/bld/mpich/webn36mjzfb3
--enable-shared

(Full log is here: https://gist.github.com/certik/9041130)

It fails with:

[mpich]   CC       src/mpi/topo/nhb_allgather.lo
[mpich]   CC       src/mpi/topo/nhb_allgatherv.lo
[mpich]   CC       src/mpi/topo/nhb_alltoall.lo
[mpich]   CC       src/mpi/topo/nhb_alltoallv.lo
[mpich]   CC       src/mpi/topo/nhb_alltoallw.lo
[mpich]   CC       src/binding/f90/create_f90_int.lo
[mpich]   CC       src/binding/f90/create_f90_real.lo
[mpich] src/binding/f90/create_f90_real.c: In function
'PMPI_Type_create_f90_real':
[mpich] src/binding/f90/create_f90_real.c:73:23: error: expected
expression before ',' token
[mpich] src/binding/f90/create_f90_real.c:74:25: error: expected
expression before ',' token
[mpich] make[2]: *** [src/binding/f90/create_f90_real.lo] Error 1
[mpich] make[2]: Leaving directory
`/panfs/scratch/vol1/certik/h/tmp/mpich-webn36mjzfb3-1'
[mpich] make[1]: *** [all-recursive] Error 1
[mpich] make[1]: Leaving directory
`/panfs/scratch/vol1/certik/h/tmp/mpich-webn36mjzfb3-1'
[mpich] make: *** [all] Error 2



It compiles fine with gcc 4.4.

Ondrej



More information about the discuss mailing list