[mpich-discuss] Problem compiling gromacs-4.0.5 against mvapich2-1.4rc1

Jonathan Perkins perkinjo at cse.ohio-state.edu
Fri Jul 24 14:42:57 CDT 2009


My responses to your questions are inline.  Please post questions
related to MVAPICH or MVAPICH2 to mvapich-discuss at cse.ohio-state.edu.
Thanks.

At some point chris.neale wrote:
> 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?

Yes.

> 
> 2) Is this fix stable with the mvapich2-1.4rc1-3378.tar.gz distribution?

Yes.

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

-- 
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://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090724/28a2b551/attachment.pgp>


More information about the mpich-discuss mailing list