[mpich-discuss] make error with enable-error-checking

Jain, Rohit Rohit_Jain at mentor.com
Mon Feb 28 14:50:41 CST 2011


Hi,

 

I am getting following build error, while trying to build MPICH2 with
enable-error-checking flag.

 

I am using following configuration:

mpich2-1.2.1p1/configure --prefix
/mpich2_debug/install/mpich2-1.2.1p1/linux --enable-sharedlibs=gcc
--disable-f77 --disable-f90 --disable-f90modules --disable-cxx
--enable-totalview --enable-debuginfo --enable-error-messages
--enable-error-checking --enable-g=dbg,mem,meminit CFLAGS=-O3 -fPIC
CXXFLAGS=-O3 -fPIC

 

make[4]: Entering directory `/mpich2_debug/src/mpid/common/locks'

  CC
/src/mpich2-1.2.1p1/src/mpid/common/locks/mpidu_process_locks.c

In file included from
/src/mpich2-1.2.1p1/src/util/wrappers/mpiu_shm_wrappers.h:45,

                 from
/src/mpich2-1.2.1p1/src/util/wrappers/mpiu_os_wrappers.h:11,

                 from
/src/mpich2-1.2.1p1/src/mpid/ch3/channels/nemesis/nemesis/include/mpid_n
em_defs.h:14,

                 from
/src/mpich2-1.2.1p1/src/mpid/ch3/channels/nemesis/nemesis/include/mpid_n
em_pre.h:12,

                 from
/src/mpich2-1.2.1p1/src/mpid/ch3/channels/nemesis/include/mpidi_ch3_pre.
h:9,

                 from
/src/mpich2-1.2.1p1/src/mpid/ch3/include/mpidpre.h:30,

                 from /src/mpich2-1.2.1p1/src/include/mpiimpl.h:120,

                 from
/src/mpich2-1.2.1p1/src/mpid/ch3/include/mpidimpl.h:22,

                 from
/src/mpich2-1.2.1p1/src/mpid/common/locks/mpidu_process_locks.h:20,

                 from
/src/mpich2-1.2.1p1/src/mpid/common/locks/mpidu_process_locks.c:6:

/src/mpich2-1.2.1p1/src/include/mpierrs.h:30:2: error: #error "Unknown
value for error checking"

make[4]: *** [mpidu_process_locks.o] Error 1

 

What am I missing?

 

Regards,

Rohit

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110228/5bde3e38/attachment.htm>


More information about the mpich-discuss mailing list