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

Pavan Balaji balaji at mcs.anl.gov
Mon Feb 28 17:08:11 CST 2011


This looks like an error that got fixed a long time ago. Can you try out 
the latest version of MPICH2 (1.3.3rc1) to see if that works for you?

  -- Pavan

On 02/28/2011 04:06 PM, Jain, Rohit wrote:
> Thanks. That fixed the problem.
>
> I was getting more errors later due to undefined VALGRIND symbols, so I removed meminit option from enable_g to get a workable build.
>
> But, I am still seeing following make error:
>
> 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=all --enable-error-checking=all --enable-g=dbg,mem CFLAGS=-O3 -fPIC CXXFLAGS=-O3 -fPIC
>
>
> make[3]: Entering directory `/src/pm/gforker'
> cd ../util&&  make
> gcc -O3 -fPIC -g -O2    -o mpiexec mpiexec.o  \
> ../util/libmpiexec.a ../../../lib/libmpich.a -lpthread   -lrt
> ../../../lib/libmpich.a(dbginit.o): /src/mpich2-1.2.1p1/src/mpi/debugger/dbginit.c:185: multiple definition of `MPIR_debug_abort_string'
> ../util/libmpiexec.a(dbgiface.o):/src/mpich2-1.2.1p1/src/pm/gforker/../util/dbgiface.c:82: first defined here
> ../../../lib/libmpich.a(dbginit.o): In function `MPIR_Breakpoint':
> /src/mpich2-1.2.1p1/src/mpi/debugger/dbginit.c:183: multiple definition of `MPIR_debug_state'
> ../util/libmpiexec.a(dbgiface.o):/src/mpich2-1.2.1p1/src/pm/gforker/../util/dbgiface.c:81: first defined here
> collect2: ld returned 1 exit status
> make[3]: *** [mpiexec] Error 1
> make[3]: Leaving directory `/src/pm/gforker'
>
> Regards,
> Rohit
>
>
> -----Original Message-----
> From: Nicolas Rosner [mailto:nrosner at gmail.com]
> Sent: Monday, February 28, 2011 1:01 PM
> To: mpich-discuss at mcs.anl.gov
> Cc: Jain, Rohit
> Subject: Re: [mpich-discuss] make error with enable-error-checking
>
>> What am I missing?
>
> Possibly a "=" followed by a value? According to ./configure --help,
>
>    --enable-error-checking=level
>        Control the amount of error checking.
>          no        - no error checking
>          runtime   - error checking controllable at runtime through
> environment variables
>          all       - error checking always enabled (default)
>
>
> HTH,
> Nicolás
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list