Re: [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:35:14 +0000

Sorry, wrong screenshot. This is hopefully better.

Joachim


[cid:E14C8B9B-B197-4F07-AEE8-71E6D698E47C.lunarc.lu.se]
On 10 Nov 2017, at 17:32, Joachim Hein <joachim.hein.math.lu.se<mailto:joachim.hein.math.lu.se>> wrote:

Hi,

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 <Screen Shot 2017-11-10 at 17.27.14.png>

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
   Joachim





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

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

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