Re: [AMBER-Developers] Re: Patch of configure script for Mac OS X

From: MengJuei Hsieh <>
Date: Fri, 06 Nov 2009 15:04:53 -0800


The reason that I used -macosx was based on the fact all macosx later than
10.3 are bundled with Accelerate framework. But I forgot that compilers
might not understand -framework argument, for ifort, the option should be
"-Wl,-framework -Wl,Accelerate" instead of "-framework Accelerate".

I also agree the point that we should use a different name for it, after
all, it doesn't represent the whole platform. "-macAccelerate" is okay to

An updated version of the patch will be available during the weekend. :-)

Mengjuei Hsieh, Molecular Biology & Biochem, Univ. of California Irvine.
> From: case <>
> On Thu, Nov 05, 2009, MengJuei Hsieh wrote:
>> I just got a chance to get g95 working natively in my mac os x 10.6 laptop,
>> so I am going to add an option for g95 users in the configure script
>> attached in this mail. Also there was a typo in previous patch, the updated
>> script is also in this attachment.
>> Basically if you want to use, apple's blas/lapack, users only need to do
>> ./configure -macosx -gnu. However if mkl is enabled, -macosx will be
>> ignored. To use g95 instead of gfortran, users can do ./configure -g95 gnu .
>> If this goes tested okay, I will check-in this patch. :-)
> Note that "-framework Accelerate" doesn't work on my Mac (10.5, macbookpro).
> I just get messages like "Acclerate not found".  My guess is that the keyword
> that turns this on should be more specific than "-macosx", maybe
> "-macAccelerate" or something descriptive like that.
> ...dac
AMBER-Developers mailing list
Received on Fri Nov 06 2009 - 15:30:02 PST
Custom Search