Re: [AMBER-Developers] more on ptraj compilation with Intel

From: case <case.biomaps.rutgers.edu>
Date: Thu, 4 Mar 2010 22:09:15 -0500

On Thu, Mar 04, 2010, Scott Brozell wrote:
>
> On 1 and 2, it looks like the important difference is the structure
> of the intel compiler directories; where it works both C and fortran
> are in the same dirs; where it doesnt they are segregated.

Not for me. If I manually set LIBRARY_PATH, the both ptraj and nab work
fine with intel 10 and no other changes; if I unset LIBRARY_PATH, then
things break in the way Ross and Dan described. So, it does look like (?)
icc version 10 consults the LIBRARY_PATH variable.

> i think a more clever solution is to use LD_LIBRARY_PATH.

You can give it a try, but (by its name) LD_LIBRARY_PATH should be applicable
at load time, not at link time(?). Dan reports not having any luck with
LD_LIBRARY_PATH. In any event, if you can set whatever PATH works, you could
also set flibs_arch, which seems far safer to me.

...dac


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Mar 04 2010 - 19:30:02 PST
Custom Search