Re: [AMBER] Amber Installation Problem on Mac

From: Gustaf Olsson <>
Date: Fri, 4 Oct 2019 06:06:43 +0000

I have not updated the website to include the latest versions of amber tools, Xcode and GCC. However, if you run

$ gcc —version

I expect that you’ll see output including

    Apple clang version 11.0.0 (clang-1100.0.33.8)

Meaning you are not using the GCC version you installed, hence the advice to use

    ./configure —macAccelearte clang

Should solve that problem. make sure that your system finds the fortran compiler as well.

With the latest version of OS X (10.14.6 (18G95)), Xcode (Version 11.0 (11A420a)) and GCC (9.2.0) I am currently unable to compile using the GNU compilers on OS X so you’d probably want to stay clear of that solution anyway for now.

Best regards
// Gustaf

> On 4 Oct 2019, at 01:35, Fanglue Ni <> wrote:
> Dear Researchers,
> I'm trying to install Amber19-with-patches on macOS mojave 10.14.6. I
> installed the amber with ./configure gnu and it shows an error message:
> Obtaining the gnu compiler suite versions, e.g.:
> gcc -v
> The C version is 5.5.0
> The Fortran version is 5.5.0
> Testing the gcc compiler:
> gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
> In file included from testp.c:1:0:
> /opt/local/lib/gcc5/gcc/x86_64-apple-darwin18/5.5.0/include-fixed/stdio.h:78:20:
> fatal error: _stdio.h: No such file or directory
> compilation terminated.
> ./configure2: line 2439: ./testp: No such file or directory
> Error: Unable to compile a C program using gcc -fPIC
> Please check your compiler settings or configure flags.
> I installed the gcc5 as instruction on the official website. Does anyone
> know how to deal with this?
> Thank you
> Fanglue Ni
> _______________________________________________
> AMBER mailing list

AMBER mailing list
Received on Thu Oct 03 2019 - 23:30:02 PDT
Custom Search