It looks like it's caused because we add MPI_DEFAULT_COPTS (which contains "-O2") to both MPICH2_EXTRA_CFLAGS and CFLAGS on lines 1649-1654 and then we later temporarily add MPICH2_EXTRA_CFLAGS to CFLAGS for several tests. The right fix is probably to not add MPICH2_DEFAULT_COPTS (and friends) to CFLAGS. However, IIRC this is the mechanism that puts -O2 into the mpicc scripts, so we might have to add another variable to accomplish that still. -Dave On Jul 17, 2009, at 4:55 PM, Pavan Balaji wrote:
I'm hiding and working on my paper. I'll try to fix it over the weekend.
On Jul 17, 2009, at 4:46 PM, Dave Goodell <[email protected]> wrote:
This was caused by r4845. The nvcc compiler doesn't like multiple - Ox parameters, even if they specify the same optimization level. Pavan made the change but it looks like he has headed home for the evening. I'll take a look and see how we can avoid the duplicate flags.
We'll hold off on the rc until Monday, I don't think that there's any way we can get this fixed and re-packaged by any reasonable hour tonight.
-Dave
On Jul 17, 2009, at 4:20 PM, Rajeev Thakur wrote:
The build worked with gcc on vanquish. But when I tried with the CUDA compiler nvcc on bb36, it failed at the following location. 1.1 builds with nvcc.
Rajeev
make[3]: Leaving directory `/sandbox/thakur/mpich2-1.1.1rc1/src/ util/thread' make[3]: Entering directory `/sandbox/thakur/mpich2-1.1.1rc1/src/ util/dbg' CC dbg_printf.c dbg_printf.c:56:1: warning: "va_copy" redefined In file included from ../../include/mpiimpl.h:48, from dbg_printf.c:16: /usr/lib/gcc/x86_64-linux-gnu/4.2.4/include/stdarg.h:54:1: warning: this is the location of the previous definition dbg_printf.c: In function ‘MPIU_dbglog_vprintf’: dbg_printf.c:240: error: incompatible types in assignment dbg_printf.c:270: error: incompatible types in assignment dbg_printf.c:277: error: incompatible types in assignment make[3]: *** [dbg_printf.o] Error 255 make[3]: Leaving directory `/sandbox/thakur/mpich2-1.1.1rc1/src/ util/dbg' make[2]: *** [all-redirect] Error 2 make[2]: Leaving directory `/sandbox/thakur/mpich2-1.1.1rc1/src/ util' make[1]: *** [all-redirect] Error 2 make[1]: Leaving directory `/sandbox/thakur/mpich2-1.1.1rc1/src' make: *** [all-redirect] Error 2 bb36:/sandbox/thakur/mpich2-1.1.1rc1%
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Goodell Sent: Friday, July 17, 2009 3:42 PM To: [email protected] Subject: [mpich2-core] mpich2-1.1.1rc1 tarball sanity checking
I've created an mpich2-1.1.1rc1 tarball and placed it in the web space. I haven't linked to it yet from the website or announced it on any of the lists. I've personally sanity checked it on my Mac, but we could probably use a quick look-over from others before officially releasing it. Also, I'll coordinate with Jayesh about windows binaries.
You can get the RC from here: http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarb alls/1.1.1rc1/mpich2-1.1.1rc1.tar.gz
-Dave