[gmx-developers] Problems building for OS X with threads
dommert at icp.uni-stuttgart.de
Sun Apr 1 10:55:58 CEST 2012
On Sun, 2012-04-01 at 03:50 +0000, Shirts, Michael (mrs5pt) wrote:
> Hi, all-
> I'm very recently (with 4.6 updates in the last couple of weeks) having
> issues with building gromacs with threads on OS X. When I try to compile
> with shared libraries, I get:
> ld: warning: in /usr/local/lib/libgomp.dylib, file was built for i386 which
> is not the architecture being linked (x86_64)
> When I build without shared libraries, it compiles, but crashes when run
> with -nt more than 1.
> Currently using OS X 10.6.8, gcc 4.1.2 to compile.
> Everything works fine with 4.5.5, and with earlier versions of 4.6.
> Anyone else having similar problems, or know what changes could have caused
I have a similar problem, but it is related to building with OpenMPI on
Ubuntu. For the releases so far, my MPI Compiler was found without any
problems. For the 4-6-release I have to explicitly declare the C and CXX
compilers as mpicc and mpic++, respectively. I am using gcc4.4.3 and
OpenMPI 1.4.3 on a 64bit Ubuntu 10.4 machine.
I would also be interest why this happens now ?
> Michael Shirts
> Assistant Professor
> Department of Chemical Engineering
> University of Virginia
> michael.shirts at virginia.edu
Dipl. - Phys.
Institute for Computational Physics
EMail: dommert at icp.uni-stuttgart.de
Tel.: +49 - (0)711 - 68563613
Fax.: +49 - (0)711 - 68563658
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the gromacs.org_gmx-developers