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

Jain, Rohit Rohit_Jain at mentor.com
Tue Mar 1 14:18:30 CST 2011


I will try that.

I see another reason why you were not able to reproduce. I was setting
CC env to a gcc version that we built and use internally. We were using
same gcc for our existing mpich2-1.2 versions and it works fine. So, am
I missing other settings (envs?) for mpich2-1.3 or is there is problem
with this gcc version and mpich2-1.3?

gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/gcc-4.3.3-linux
--with-local-prefix=/gcc-4.3.3-linux --disable-nls
--enable-languages=c,c++ --host=i686-pc-linux-gnu
--target=i686-pc-linux-gnu --build=i686-pc-linux-gnu --with-gnu-as
--with-as=/binutils-2.19.1-linux/bin/as --with-gnu-ld
--with-ld=/binutils-2.19.1-linux/bin/ld
Thread model: posix
gcc version 4.3.3 (GCC)


If I use machine-installed gcc, then I am able to build mpich2 fine.

gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)

Regards,
Rohit

-----Original Message-----
From: Pavan Balaji [mailto:balaji at mcs.anl.gov] 
Sent: Monday, February 28, 2011 11:01 PM
To: Jain, Rohit
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] make error with enable-error-checking


On 02/28/2011 09:46 PM, Jain, Rohit wrote:
>   2. Try to build hwloc separately on your system. You can do:
>
>   % cd src/pm/hydra/tools/bind/hwloc/hwloc
>
>   % ./configure&&  make
>
> It builds fine.

Oops, sorry, I meant ./configure --enable-embedded-mode. Can you try
that?

  -- Pavan

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


More information about the mpich-discuss mailing list