[AMBER] Amber GCC 6.4.0 and MKL 2017.3.196 build failing

From: Joachim Hein <joachim.hein.math.lu.se>
Date: Fri, 10 Nov 2017 16:32:36 +0000


I am building Amber 16 with Amber Tools 17 (patchlevel) of today, with GCC 6.4.0 and MKL 2017.3.196. I am getting errors from the linker about the dl library. Looking at the MKL advisor web page [cid:E8A009C4-251C-4D1A-82F3-5C27DD74D9FF.lunarc.lu.se]

it seems for C++ links your are missing -ldl (and possibly -lm). If I manually link the executables cpptraj , ambpdb
with a -lm -ldl added to the end of the link lines and restart the make install, the build succeeds. I haven’t full understood your make recipes, but I saw statements that -ldl is needed for gfortan with mkl. It is also needed for g++. You may want to look into this.

I am currently running the test suite on the serial executable.

Best wishes

AMBER mailing list

Screen Shot 2017-11-10 at 17.27.14.png
(image/png attachment: Screen_Shot_2017-11-10_at_17.27.14.png)

Received on Fri Nov 10 2017 - 09:00:03 PST
Custom Search