[MPICH] mpich2-1.0.2 build errors
Rajeev Thakur
thakur at mcs.anl.gov
Wed Jun 22 14:59:14 CDT 2005
For --enable-error-checking=runtime to work, the missing line
MPID_END_ERROR_CHECKS;
needs to be added to src/mpi/attr/comm_set_attr.c at line 108.
Rajeev
> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Joe Landman
> Sent: Wednesday, June 22, 2005 8:12 AM
> To: mpich-discuss at mcs.anl.gov
> Subject: [MPICH] mpich2-1.0.2 build errors
>
> Hi folks:
>
> Pulled 1.0.2 and built on an RHEL3 dual opteron machine with gcc
> 3.2.3 and Portland group compilers. Defined F77 and F90 to point to
> compilers.
>
> If I run
>
> ./configure --prefix=/path/to/install/directory
>
> I get a working build
>
> However, if I use
>
> ./configure --prefix=/path/to/install/directory
> --enable-timing=runtime
> --enable-error-checking=runtime
>
> we get an error:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../../src/include
> -I/root/mpich2-1.0.2/src/binding/f77
> -I/root/mpich2-1.0.2/src/binding/f77
> -I/root/mpich2-1.0.2/src/mpid/ch3/include
> -I/root/mpich2-1.0.2/src/mpid/ch3/include
> -I/root/mpich2-1.0.2/src/mpid/common/datatype
> -I/root/mpich2-1.0.2/src/mpid/common/datatype
> -I/root/mpich2-1.0.2/src/mpid/ch3/channels/sock/include
> -I/root/mpich2-1.0.2/src/mpid/ch3/channels/sock/include
> -I/root/mpich2-1.0.2/src/mpid/common/sock
> -I/root/mpich2-1.0.2/src/mpid/common/sock
> -I/root/mpich2-1.0.2/src/mpid/common/sock/poll
> -I/root/mpich2-1.0.2/src/mpid/common/sock/poll -c comm_set_attr.c
> comm_set_attr.c: In function `PMPI_Comm_set_attr':
> comm_set_attr.c:189: syntax error at end of input
> make[3]: *** [comm_set_attr.o] Error 1
> make[3]: Leaving directory `/root/mpich2-1.0.2/src/mpi/attr'
> make[2]: *** [all-redirect] Error 2
> make[2]: Leaving directory `/root/mpich2-1.0.2/src/mpi'
> make[1]: *** [all-redirect] Error 2
> make[1]: Leaving directory `/root/mpich2-1.0.2/src'
> make: *** [all-redirect] Error 2
>
> I looked at the comm_set_attr.c and did not see anything obvious. Is
> this a known issue? Does this work with your compilers? Is
> 3.2.3 too
> ancient for real work?
>
> Thanks.
>
> Joe
> --
> Joseph Landman, Ph.D
> Founder and CEO
> Scalable Informatics LLC,
> email: landman at scalableinformatics.com
> web : http://www.scalableinformatics.com
> phone: +1 734 786 8423
> fax : +1 734 786 8452
> cell : +1 734 612 4615
>
>
More information about the mpich-discuss
mailing list