Issue with Boost

11 views
Skip to first unread message

Khem Gautam

unread,
Jul 2, 2025, 2:38:16 PMJul 2
to ibamr...@googlegroups.com
Hello, 
I am getting this error during configuration with boost. I tried system boost as well as version 1.82.0. I am using MacOS. Config.log file is also attached. Can somebody please suggest a fix?
Thank you,

Khemraj



checking boost/multi_array.hpp usability... no

checking boost/multi_array.hpp presence... yes

configure: WARNING: boost/multi_array.hpp: present but cannot be compiled

configure: WARNING: boost/multi_array.hpp:     check for missing prerequisite headers?

configure: WARNING: boost/multi_array.hpp: see the Autoconf documentation

configure: WARNING: boost/multi_array.hpp:     section "Present But Cannot Be Compiled"

configure: WARNING: boost/multi_array.hpp: proceeding with the compiler's result

configure: WARNING:     ## ------------------------------- ##

configure: WARNING:     ## Report this to boy...@gmail.com ##

configure: WARNING:     ## ------------------------------- ##

checking for boost/multi_array.hpp... no

configure: error: cannot find working boost/multi_array.hpp

config.log

Khem Gautam

unread,
Jul 2, 2025, 2:40:00 PMJul 2
to ibamr...@googlegroups.com
I also tried with the bundled boost. It gives the same issue.

Boyce Griffith

unread,
Jul 2, 2025, 2:43:53 PMJul 2
to IBAMR Users
This looks like it could be a C++11 issue. Can you try adding -std=c++11 or -std=c++17 to your C++ compiler, e.g., via settings:

CXX=“mpicxx -std=c++17"

-- 
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/CAO6Lm4HBA9KNgUKGkeYwscQqnxTS2isH1vuxKXSb47PRXFkWLA%40mail.gmail.com.

Khem Gautam

unread,
Jul 2, 2025, 2:54:11 PMJul 2
to IBAMR Users
Thank you for the reply. I still get the same issue even with CXX=“mpicxx -std=c++17".

Boyce Griffith

unread,
Jul 2, 2025, 3:09:57 PMJul 2
to IBAMR Users
What version of IBAMR are you using? (It looks like we are not doing a good job of recording this in the configure-based build system.) If you are not already doing so, can you try using the most recent IBAMR release or pulling IBAMR’s master branch?

Are you able to try using autoibamr to build IBAMR?

Amneet Bhalla

unread,
Jul 2, 2025, 3:18:01 PMJul 2
to ibamr...@googlegroups.com
Khemraj is using a branch that is rebased against latest master. 

--Amneet 





Wells, David

unread,
Jul 2, 2025, 3:49:26 PMJul 2
to ibamr...@googlegroups.com
Hi Khemraj,

Yup, it's a problem with boost and recent versions of clang - the relevant patch hasn't yet been merged. There's a patch around it in autoibamr.

Best,
David Wells

From: ibamr...@googlegroups.com <ibamr...@googlegroups.com> on behalf of Amneet Bhalla <mail2...@gmail.com>
Sent: Wednesday, July 2, 2025 3:17 PM
To: ibamr...@googlegroups.com <ibamr...@googlegroups.com>
Subject: Re: [ibamr-users] Issue with Boost
 
Reply all
Reply to author
Forward
0 new messages