'Wrong compiler' error when installing AmberTools19

Asked 2 years ago, Updated 2 years ago, 38 views


In Mac OS 10.15, miniconda 2.7.16 installation directories for AmberTools user/apps/amber18/ and ran ./configure with reference to the following site.

How to install AMBER and AmberTools - Qiita

At this time, the following error occurred and I don't know how to resolve it.
Does anyone know how to solve this problem?

Your AMBERHOME environment variable is not set! Auto set it to: 
/Users/makoto/apps/amber18
Checking for updates...
Checking for available patches online. This may take a new seconds...

Available AmberTools 19 patches:

No patches available

AMBER_PREFIX=/Users/makoto/apps/amber18
AMBER_SOURCE=/Users/makoto/apps/amber18

Using the AmberTools miniconda installation in /Users/makoto/apps/amber18/miniconda
version 2.7.16

Obtaining the gnu compiler suite versions, e.g.:
     gcc-v
The C version is 11.0.0
Configured with:--prefix=/Library/Developer/CommandLineTools/usr--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKS/MacOSX.sdk/usr/include/c++/4.2.1

ERROR: Wrong compiler.You specify compiler=gnu but actually using clang
Please change compiler option to clang, or set correct PATH(or CC, CXX) to GNU compiler

macos

2022-09-29 21:59

1 Answers

I'm sorry, but it was solved after I refreshed my head and reviewed the command line again.
I changed the place where I was running the script as follows, and it worked.

before change

./configure-noX11-macAccelerate gnu

modified

./configure-noX11-macAccelerata clang


2022-09-29 21:59

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.