Re: [AMBER] Boost not linking when compiling on Mac

From: Hai Nguyen <nhai.qn.gmail.com>
Date: Wed, 25 Apr 2018 19:26:55 -0400

hi
do you need to use packmol_memgen? If not, you can skip that warning and go
ahead "make install"

Hai

On Wed, Apr 25, 2018 at 5:53 AM, Gustaf Olsson <gustaf.olsson.lnu.se> wrote:

> So I switched from MacPorts to Homebrew when switching computers. This
> meant going from GNU compilers to using CLANG which worked without a hitch
> on AmberTools17, though this time I’m getting an error.
>
> ./configure -macAccelerate gnu
>
> Testing the clang++ compiler with boost:
> clang++ -fPIC -lboost_thread -lboost_system -o testp testp.cpp
>
> Warning: Could not link to boost. Ensure boost-thread, boost-system and
> boost headers are installed.
> Warning: Failed command:
> clang++ -fPIC -lboost_thread -lboost_system -o testp testp.cpp
> Warning: Check boost.compile.err for error details.
> Warning: Memembed functionality in packmol_memgen not available.
>
> Even if boost and boost-mpi are installed, this does not work.
>
> Boost has no dependencies from homebrew so I am assuming it is built using
> clang since using “gnu” on mac falls back to clang. I don’t know how to get
> around this issue, any input would be appreciated.
>
> // Gustaf
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Apr 25 2018 - 16:30:02 PDT
Custom Search