Re: [AMBER] Error building Amber

From: David A Case <david.case.rutgers.edu>
Date: Wed, 29 Jul 2020 21:21:11 -0400

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
Received on Wed Jul 29 2020 - 18:30:03 PDT
Custom Search