From: Warner Yuen (wyuen_at_apple.com)
Date: Mon Aug 06 2007 - 10:52:19 CDT
I was seemingly able to build a 64-bit version of Charm++ with the
configuration listed below. However, the megatest fails. Building
NAMD "succeeds" but of course the tests fail as well. The Intel 64-
bit compiler builds this successfully but it won't build NAMD. Any
thoughts anyone?
./build charm++ net-darwin-x86 --no-build-shared
My "conv-mach.sh" is as follows:
CMK_MACOSX=1
CMK_CPP_CHARM="/usr/bin/cpp -P"
CMK_CPP_C="gcc -m64 -E"
CMK_CC="gcc -m64 -Wno-long-double -fPIC -dynamic -fno-common "
CMK_CXX="g++ -m64 -Wno-long-double -fPIC -dynamic -fno-common "
CMK_CXXPP="g++ -m64 -x g++ -E "
CMK_LDXX="$CMK_CXX -multiply_defined suppress "
CMK_XIOPTS=""
CMK_QT="generic-light"
CMK_LIBS="-lckqt"
CMK_RANLIB="ranlib"
# Assumes GNU fortran compiler:
CMK_CF77="ifort"
CMK_CF90="ifort"
# setting for shared lib
# need -lstdc++ for c++ reference, and it needs to be put at very last
# of command line.
# Mac environment varaible
test -z "$MACOSX_DEPLOYMENT_TARGET" && export
MACOSX_DEPLOYMENT_TARGET=10.3
CMK_SHARED_SUF="dylib"
CMK_LD_SHARED=" -dynamic -dynamiclib -undefined dynamic_lookup "
CMK_LD_SHARED_LIBS="-lstdc++"
CMK_LD_SHARED_ABSOLUTE_PATH=true
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