Re: [AMBER] installing error Amber 12 Error

From: Daniel Roe <daniel.r.roe.gmail.com>
Date: Thu, 18 Dec 2014 08:56:43 -0700

Hi,

I *think* this might have to do with the age of your compilers; the
-mtune=native switch appears to have first been supported in GNU
4.4.7. Probably the easiest workaround for now is to manually edit
your config.h file and remove any instance of '-mtune=native' and see
if that works, e.g.:

COPTFLAGS=-O3 -mtune=native

becomes

COPTFLAGS=-O3

Hope this helps,

-Dan

On Thu, Dec 18, 2014 at 8:37 AM, Houcemeddine Othman <houcemoo.gmail.com> wrote:
> IHi
> I tried to install amber12 and AmberTools12 following the exact
> procedure in the documentation (./configure gnu). At some level, the
> installation stops and gave me this error message
>
> make[3]: Entering directory
> `/c5/shared/amber/12/amber_gnu/amber12/AmberTools/src/cpptraj/src'
> g++ -c -I/c5/shared/amber/12/amber_gnu/amber12/include -O3
> -mtune=native -DBINTRAJ -DHASGZ -DHASBZ2 -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -DBINTRAJ
> -I/c5/shared/amber/12/amber_gnu/amber12/include -o main.o main.cpp
> main.cpp:1: error: bad value (native) for -mtune= switch
> make[3]: *** [main.o] Error 1
> make[3]: Leaving directory
> `/c5/shared/amber/12/amber_gnu/amber12/AmberTools/src/cpptraj/src'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory
> `/c5/shared/amber/12/amber_gnu/amber12/AmberTools/src/cpptraj'
> make[1]: *** [serial] Error 2
> make[1]: Leaving directory
> `/c5/shared/amber/12/amber_gnu/amber12/AmberTools/src'
> make: *** [install] Error 2
>
> I can't really tell the cause of this error. Does any body have an idea§?
>
> Linux x86_64
> CentOS release 5.6
> gcc version 4.4.4
>
> Thanks
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber



-- 
-------------------------
Daniel R. Roe, PhD
Department of Medicinal Chemistry
University of Utah
30 South 2000 East, Room 307
Salt Lake City, UT 84112-5820
http://home.chpc.utah.edu/~cheatham/
(801) 587-9652
(801) 585-6208 (Fax)
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Dec 18 2014 - 08:00:03 PST
Custom Search