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

From: vitor.felix <vitor.felix.ua.pt>
Date: Wed, 22 Jul 2009 04:15:06 +0100

Sent from my HTC Android phone.

----- Reply message -----
From: "David Watson" <dewatson.olemiss.edu>
Date: Tue, Jul 21, 2009 9:20 PM
Subject: [AMBER] Compiling Amber 10 (serial) on Mac OS X 10.5.7 w/ gcc, Intel Fortan 11.0 and MKL 10.0
To: "AMBER Mailing List" <amber.ambermd.org>

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.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Jul 22 2009 - 01:07:43 PDT
Custom Search