Re: [AMBER] Building distributable executable

From: Scott Brozell <sbrozell.rci.rutgers.edu>
Date: Wed, 17 May 2017 21:40:22 -0400

On Thu, May 18, 2017 at 01:05:47AM +0000, D'Auria, Raffaella wrote:
> Thanks for all the feebacks.
>
> -xHost is indeed present solely in:
>
> AmberTools/src/configure2
> AmberTools/src/cphstats/configure
> AmberTools/src/cphstats/config.h
>
> the reason why in my case it had popped up in Makefiles was because I had run configure before removing the xHost flag (and even after issuing ???make clean??? and ???make realclean' it had persisted in several locations).
>
> After starting afresh in a newly unpacked directory, removing -xHost from the three files mentioned above was all that I needed to do.
>
> I now have a new question I have noticed that if I have $MKL_HOME set up in my environment it conflicts with the -mkl option to configure. I get:
>
> Error: The -mkl family of flags is incompatible with MKL_HOME !
>
> What is the best way to link to MKL? Using -mkl or setting $MKL_HOME? What is the difference (if any)?

In theory they are equivalent - just pick one.

      -mkl Use the MKL bundled with Intel compilers; incompatible
                     with MKL_HOME, GOTO, and the -macAccelerate option;
                     requires Intel compilers versions 11 or later.

scott


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed May 17 2017 - 19:00:02 PDT
Custom Search