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

Brad Penoff penoff at cs.ubc.ca
Wed Jul 8 02:29:02 EDT 2009


hey,

I'm not sure if these is are known or legitimate issues or if it's
particular to my system, but I was not able to do a VPATH build with
your latest MVAPICH2 tarball nor build my application.  These were
fixed after two work-arounds.  I wondered if these work-arounds were
known or if I did something wrong in the first place.

----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.

----- 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.



Are these fixes necessary or am I doing something wrong to begin with?

Thanks,
brad


make[3]: Entering directory
`/home/penoff/src/mvapich2-1.4rc1/build/src/pm/mpirun'
gcc -DHAVE_CONFIG_H -I. -I../../../../src/pm/mpirun
-I/home/penoff/src/mvapich2-1.4rc1/build/src/pm/mpirun/../../../../src/pm/mpirun/include
-m32 -DNDEBUG -O2 -m32
-I/home/penoff/src/mvapich2-1.4rc1/build/src/mpid/ch3/include
-I/home/penoff/src/mvapich2-1.4rc1/src/mpid/ch3/include
-I/home/penoff/src/mvapich2-1.4rc1/build/src/mpid/common/datatype
-I/home/penoff/src/mvapich2-1.4rc1/src/mpid/common/datatype
-I/home/penoff/src/mvapich2-1.4rc1/build/src/mpid/common/locks
-I/home/penoff/src/mvapich2-1.4rc1/src/mpid/common/locks
-I/home/penoff/src/mvapich2-1.4rc1/build/src/mpid/ch3/channels/mrail/include
-I/home/penoff/src/mvapich2-1.4rc1/src/mpid/ch3/channels/mrail/include
-I/home/penoff/src/mvapich2-1.4rc1/build/src/mpid/ch3/channels/mrail/src/gen2
-I/home/penoff/src/mvapich2-1.4rc1/src/mpid/ch3/channels/mrail/src/gen2
-I/home/penoff/src/mvapich2-1.4rc1/build/src/mpid/common/locks
-I/home/penoff/src/mvapich2-1.4rc1/src/mpid/common/locks -c
../../../../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
[penoff at hpc0001 build]$ find .. -name mpirunconf.h
../build/src/pm/mpirun/include/mpirunconf.h
[penoff at hpc0001 build]$



More information about the mvapich-discuss mailing list