[AMBER] MKL: lib dir name changed for 64bit version

From: Michael Sternberg <sternberg.anl.gov>
Date: Fri, 11 Nov 2011 09:50:23 -0600

Note: As of MKL-10.3, Intel uses the directory name

        $MKLROOT/lib/intel64

Previously, Intel used:

        $MKLROOT/lib/em64t

The latter is hardcoded in the following files:

        amber11/AmberTools/src/mtkpp/src/eigen3b2/bench/btl/cmake/FindMKL.cmake
        amber11/AmberTools/src/mtkpp/configure
        amber11/AmberTools/src/mtkpp/configure.in
        amber11/AmberTools/src/configure
        amber11/src/pmemd.amba/configure
        amber11/src/pmemd/configure.advanced

I fixed these instances in my source tree as follows:

   find amber11 -type f ! -name \*.orig -print0 \
       | xargs -0 grep -l lib/em64t \
       | xargs perl -i.orig -pe 's,lib/em64t,lib/intel64,g'


(see also my other post from earlier today.)


With best regards,
Michael


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Nov 11 2011 - 08:00:03 PST
Custom Search