Re: [AMBER-Developers] Two minor issues with current Amber build

From: David A Case <david.case.rutgers.edu>
Date: Mon, 21 Feb 2022 16:05:06 -0500

On Sun, Feb 20, 2022, Dan Roe wrote:
>
>1) The default compiler on ubuntu 20 (gcc 9) has a bug that causes
>compilation with -mtune=native to fail for later-gen processors:
>```
>$ g++ -mtune=native Sizes.cpp
>cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch
>```
>I'm not sure if this affects other versions. Minor googling seems to
>indicate it goes away with gcc 10, and gcc 7.5 doesn't appear to have this
>problem. Running cmake with -DSSE=FALSE is the workaround. Not sure if
>cmake should do the detecting here (i.e. if running gcc 9, force SSE=FALSE)
>or if we just document it.

Sounds (to me) like documenting this should be enough. The proposed fix
(force SSE=FALSE) would not be optimal for older chipsets.

>2) The C-shell is still required for many tests, but there is currently no
>check that C-shell is present either during install or when running tests.

I agree that we should check for csh/tcsh earlier on in the installation
procedure. Volunteers are welcome here.

...thx...dac


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Mon Feb 21 2022 - 13:30:02 PST
Custom Search