AMBER Archive (2009)

Subject: [AMBER] Compiling Amber 10 (serial) on Mac OS X 10.5.7 w/ gcc, Intel Fortan 11.0 and MKL 10.0

From: David Watson (dewatson_at_olemiss.edu)
Date: Tue Jul 21 2009 - 16:20:36 CDT


After much agony, I was able to successfully compile Amber 10 serial
with ifort and the MKL using the following procedure.

1) ./configure_amber -nopar -nosanderidc ifort_macosx

2) in config_amber.h,
a) add -xHost to FFLAGS and FOPTFLAGS
b) change the LOADLIB line, as so:
LOADLIB= -L/Library/Frameworks/Intel_MKL.framework/Versions/Current/
lib/32 \
  /Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/32/
libmkl_solver_sequential.a \
-lmkl_intel -lmkl_sequential -lmkl_core -lmkl_lapack -lguide -lpthread

Now, onto a parallel (SMP) build!

_______________________________________________
AMBER mailing list
AMBER_at_ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber