On 14/07/2010 12:34 PM, Elton Carvalho wrote:
On Tue, Jul 13, 2010 at 10:52 PM, Mark Abraham<[email protected]>  wrote:
On 13/07/2010 11:28 PM, Elton Carvalho wrote:
Because using "-lmkl" returns an error like "-lmkl not found", so, to
remove "-lmkl" from the configure I need to edit the line. That is
what earlier posts in this list (which the FAQ points to) recommends.
I would object to the form of that solution too.

I understand that editinf ./configre by hand isn't the best way of doing this.

What I mean is that the ./configure file, as shipped, contains an
obsolete argument, namely "-lmkl", which causes compilation faliures
because there is no libmkl.* file in ${MKL}/lib/em64t.

So, I get this error:

ld: cannot find -lmkl

In fact, Intel's documentation never mention -lmkl, but
-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core, for example.

Should I file a bug?

It's an unfortunate fact of life that linking to MKL is awkward, because of the multiplicity of configurations and versions that exist. The GROMACS git version has some more intelligence in this department. I'd only file a bug if you get the same problem with it (see webpage for instructurions for getting the git version and building it). Also, the GROMACS developers won't care all that much, because FFTW runs on everything and is almost indistinguishable in terms of performance, so putting significant effort into making MKL work nicely isn't very valuable.

Mark
--
gmx-users mailing list    [email protected]
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected].
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

Reply via email to