Re: [AMBER] Error building Amber

From: Gustaf Olsson <gustaf.olsson.lnu.se>
Date: Thu, 30 Jul 2020 16:56:12 +0000

Sorry for the confusion. I am using clang, gfortran is installed though homebrew gcc and I have tried the cmake configuration step using gfortran7 and 10.


I am using the unmodified "run_cmake" this time, this file and the log file are both attached.


Best regards

// Gustaf


________________________________
Från: David A Case <david.case.rutgers.edu>
Skickat: den 30 juli 2020 03:21
Till: amber.ambermd.org
Ämne: Re: [AMBER] Error building Amber

On Wed, Jul 29, 2020, Gustaf Olsson wrote:

>
>However, when I try to use the cmake configure script now I also fail with an error:
>
>
> ld: unknown option: --no-as-needed
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[1]: *** [cmTC_99500] Error 1
> make: *** [cmTC_99500/fast] Error 2

Can you post both your run_cmake script and the cmake.log file that it
creates? I can't tell from what you say above where the error is coming from.
This will also tell us what compiler you are requesting.

>
>This fails with both gcc7 and 10.

We generally only test clang, not gcc, so it may be that problems arise with
the latter. What is it that is driving you to gcc (if that is indeed what
you are doing? Is it lack of openmp support in Apple's clang?)

...thx...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber

Received on Thu Jul 30 2020 - 10:00:02 PDT
Custom Search