[mvapich-discuss] OSU MVAPICH2 1.4-RC1-3378 (06/02/09) VPATH build and "debug" static?

Jonathan Perkins perkinjo at cse.ohio-state.edu
Mon Jul 20 08:58:53 EDT 2009


On Wed, Jul 15, 2009 at 02:23:57PM -0400, Jonathan Perkins wrote:
> On Tue, Jul 07, 2009 at 11:29:02PM -0700, Brad Penoff wrote:
> > ----Issue #1----
> > I downloaded
> > http://mvapich.cse.ohio-state.edu/download/mvapich2/mvapich2-1.4rc1-3378.tgz
> > and then tar zxf, cd mvapich2-1.4rc1, and then mkdir build.  From
> > inside build, I did a VPATH build by configuring to create 32-bit
> > libraries the following way on my 64-bit machine (Red Hat Enterprise
> > Linux Server release 5.1 (Tikanga)):
> > 
> >   $ ../configure CFLAGS=-m32 CPPFLAGS=-m32 FC=gfortran F90=gfortran
> >   FFLAGS=-m32 F90FLAGS=-m32 LDFLAGS=-m32
> >   --prefix=/home/penoff/installs/mvapich2-1.4rc1
> > 
> > Eventually the "make" died with the error below.  When I did the
> > same configure line but instead did not to a VPATH build (so from
> > mvapich2-1.4rc1), the build succeeded as did the "make install". I
> > was just wondering if this was a known issue.  The error I saw is
> > below.

Placed shortened build error in-line...

> > make[3]: Entering directory
> > `/home/penoff/src/mvapich2-1.4rc1/build/src/pm/mpirun'
> > GCC [../../../../src/pm/mpirun/mpirun_rsh.c]
> > ../../../../src/pm/mpirun/mpirun_rsh.c:27:24: error: mpirunconf.h: No
> > such file or directory
> > ../../../../src/pm/mpirun/mpirun_rsh.c:272: error: expected identifier
> > or ‘(’ before ‘__extension__’
> > make[3]: *** [mpirun_rsh.o] Error 1
> > make[3]: Leaving directory
> > `/home/penoff/src/mvapich2-1.4rc1/build/src/pm/mpirun'
> > make[2]: *** [all-redirect] Error 2
> > make[2]: Leaving directory `/home/penoff/src/mvapich2-1.4rc1/build/src/pm'
> > make[1]: *** [all-redirect] Error 2
> > make[1]: Leaving directory `/home/penoff/src/mvapich2-1.4rc1/build/src'
> > make: *** [all-redirect] Error 2
> 
> I'll see if I can reproduce this and if so, resolve it.

I've reproduced and resolved this on trunk today.  Can you try this out
and let us know if everything builds smoothly for you?

> > ----- Issue #2 ----
> > Once installed, we compiled our code.  We have a function called
> > debug() in our code somewhere. It was conflicting when compiling
> > with an internal variable of your code.  I'm not sure who is at
> > fault here, but instead of renaming our function and adjusting all
> > of our code in countless places, instead to fix this, I just made
> > the long variable "debug" in
> > src/mpid/ch3/channels/mrail/src/gen2/ibv_channel_manager.c:503 to be
> > static by putting that keyword at the beginning of the line.
> 
> I don't think this is anyone's "fault" but can probably be avoided to
> you and other users on our side if we can avoid unnecessary namespace
> pollution.

This is also included in the commits made to trunk this morning.

-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20090720/8a267f1d/attachment.bin


More information about the mvapich-discuss mailing list