Building NAMD 64-bit Mac OSX with GCC

From: Warner Yuen (wyuen_at_apple.com)
Date: Sun Aug 05 2007 - 15:17:02 CDT

Hello Everyone:

I'm trying to build NAMD and Charm++ with GCC 4 on Mac OS X with the
"-m64" option. I can't get charm++ to build. Has anyone done this?
Interestingly, charm++ does build with Intel ICC v10 64-bit, but then
I can't get NAMD built with that. Here's what Charm++ is giving me as
an error:

Warning: creating /namd_docs/NAMD_2.6_Source/charm-5.9/net-darwin-x86/
lib_so/libconv-util.dylib
ar: creating archive ../lib/libconv-util.a
ranlib: archive member: ../lib/libconv-util.a(convcomlibstrategy.o)
cputype (7) does not match previous archive members cputype
(16777223) (all members must match)
ranlib: archive member: ../lib/libconv-util.a(convcomlibstrategy.o)
cputype (7) does not match previous archive members cputype
(16777223) (all members must match)
ranlib: for architecture: x86_64 file: ../lib/libconv-util.a(persist-
comm.o) has no symbols
Fatal Error by charmc in directory /Users/wyuen/namd_docs/
NAMD_2.6_Source/charm-5.9/net-darwin-x86/tmp
    Command ranlib ../lib/libconv-util.a returned error code 1
charmc exiting...
make[2]: *** [../lib/libconv-util.a] Error 1
make[1]: *** [converse] Error 2
make: *** [charm++] Error 2
-------------------------------------------------
Charm++ NOT BUILT. Either cd into net-darwin-x86/tmp and try
to resolve the problems yourself, visit
     http://charm.cs.uiuc.edu/
for more information. Otherwise, email the developers at ppl_at_cs.uiuc.edu

Warner Yuen
Scientific Computing Consultant
Apple Computer
email: wyuen_at_apple.com
Tel: 408.718.2859
Fax: 408.715.0133

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:45:03 CST