LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2005-11-18 06:21:06


Hi Jack,

* Jack Howarth wrote on Fri, Nov 18, 2005 at 05:28:07AM CET:
> I found a description of the problem I was seeing with the
> mpi enabled gromacs 3.3 build on MacOS X 10.4 in the following
> message...
>
> http://gcc.gnu.org/ml/gcc/2005-06/msg00186.html
>
> Using their suggestion, I patched gromacs as follows...

> +LIBS = @LIBS@ -Wl,-single_module

Good analysis!

> which causes the linkage of libgmx_mpi.4.dylib to avoid the -multi-module
> default. However the lam developers may want to look carefully at the
> to see if the problem can be avoided in future releases of gromacs without
> resorting to this hack.

Libtool currently adds -single_module for C++ code only. I guess we
should do that for Fortran as well. I'll ask our darwin expert about
this and report back.

Cheers,
Ralf