[mpich-discuss] Problem compiling gromacs-4.0.5 against mvapich2-1.4rc1
chris.neale at utoronto.ca
chris.neale at utoronto.ca
Fri Jul 24 10:43:54 CDT 2009
Hello,
I was having the same problem with gromacs mvapich2 until I found this
post. I would rather not use the branch version for production
simulations right now, so I have taken the mvapich2-1.4rc1-3378.tar.gz
distribution and modified
src/mpid/ch3/channels/mrail/src/gen2/ibv_channel_manager.c
at line 503
from:
unsigned long debug = 0;
to:
static unsigned long debug = 0;
as per mvapich2-trunk-2009-07-23
The compilation runs to completion and I am hoping that you can offer
a bit of advice.
1) Is this the only change that was completed in order to address
Jerry's original probem?
2) Is this fix stable with the mvapich2-1.4rc1-3378.tar.gz distribution?
Thank you,
Chris.
On Tue, Jul 14, 2009 at 12:23:11PM -0400, Jerry Leahy wrote:
> /usr/local/lib/libmpich.a(ibv_channel_manager.o):(.bss+0x10): multiple
> definition of `debug'
> <..snip..>/gromacs-4.0.5/src/gmxlib/.libs/libgmx_mpi.a(gmx_fatal.o):(.bss+0x0):
> first defined here
> collect2: ld returned 1 exit status
> make[3]: *** [grompp] Error 1
>
> It looks like 'debug' is conflicting in both MVAPICH2 and in Gromacs.
>
> Any suggestions?
We've committed a change to our source this morning that changes this
definition of debug to static so that this shouldn't cause any conflicts
in the shared namespace. Can you try building the latest from trunk and
confirm that this resolves your problem?
-- original message --
http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/2009-July/002403.html
More information about the mpich-discuss
mailing list