Installation Question (QUESO & Boost)

39 views
Skip to first unread message

Anna Claudia

unread,
Jun 12, 2017, 6:20:03 PM6/12/17
to QUESO-users mailing list
Hi,
I'm trying to install QUESO 0.56.0 to work together with libMesh 1.1.0. I can't figure out what to do with this boost error below.
I have these packages installed (sudo apt-get install): libboost-dev, libboost-system-dev, libboost-thread-dev and  libboost-all-dev;

Any suggestions would be appreciated. 

Thanks in advance,
Anna Claudia


I'm running configure with:
export CXXFLAGS="-std=c++11"
./configure --prefix=/home/anna/.install/queso-0.56.0/ --with-libmesh=/home/anna/.install/libmesh-1.1.0/

Output:
...
checking for Boost headers version >= 1.35.0... yes
checking for Boost's header version... 1_61
checking for the toolset name used by Boost for mpic++... configure: WARNING: could not figure out which toolset name to use for mpic++

checking boost/program_options.hpp usability... yes
checking boost/program_options.hpp presence... yes
checking for boost/program_options.hpp... yes
checking for the Boost program_options library... yes
checking boost/scoped_ptr.hpp usability... yes
checking boost/scoped_ptr.hpp presence... yes
checking for boost/scoped_ptr.hpp... yes
checking boost/shared_ptr.hpp usability... yes
checking boost/shared_ptr.hpp presence... yes
checking for boost/shared_ptr.hpp... yes
checking boost/math/special_functions.hpp usability... no
checking boost/math/special_functions.hpp presence... yes
configure: WARNING: boost/math/special_functions.hpp: present but cannot be compiled
configure: WARNING: boost/math/special_functions.hpp:     check for missing prerequisite headers?
configure: WARNING: boost/math/special_functions.hpp: see the Autoconf documentation
configure: WARNING: boost/math/special_functions.hpp:     section "Present But Cannot Be Compiled"
configure: WARNING: boost/math/special_functions.hpp: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------------- ##
configure: WARNING:     ## Report this to queso...@googlegroups.com ##
configure: WARNING:     ## ------------------------------------------- ##
checking for boost/math/special_functions.hpp... no
configure: error: cannot find boost/math/special_functions.hpp
output-queso.txt

Anna Claudia

unread,
Jun 12, 2017, 6:26:51 PM6/12/17
to QUESO-users mailing list
By the way, "boost/math/special_functions.hpp" exists.
special_functions.png

Damon McDougall

unread,
Jun 12, 2017, 7:22:29 PM6/12/17
to Anna Claudia, QUESO-users mailing list
Hi Anna,

On Mon, 12 Jun 2017, at 17:20, Anna Claudia wrote:
> Hi,
> I'm trying to install *QUESO 0.56.0* to work together with libMesh 1.1.0.
> I
> can't figure out what to do with this *boost error* below.
> I have these packages installed (sudo apt-get install): libboost-dev,
> libboost-system-dev, libboost-thread-dev and libboost-all-dev;
>
> Any suggestions would be appreciated.

configure detects the presence of special_functions.hpp,

"checking boost/math/special_functions.hpp presence... yes",

but for some reason it can't compile against it.

I'd like to look into this more, can you please send along the
config.log file?

P.S. If you're feeling adventurous, you might try the queso dev branch;
boost has become an optional dependency (configure supports a
--without-boost option if you have it installed and want configure to
ignore it).

--
Damon McDougall
http://dmcdougall.co.uk
Institute for Computational Engineering Sciences
201 E. 24th St., Stop C0200
The University of Texas at Austin
Austin, TX 78712-1229

Anna Claudia

unread,
Jun 12, 2017, 8:33:36 PM6/12/17
to QUESO-users mailing list, anna.c...@gmail.com
Hi Damon,
Thank you for the fast reply. Attached is the "config.log" requested.

I don't know how QUESO + Boost interact with libMesh, or if I will need this interaction in some way. I appreciate your alternative option, and I will certainly try the queso-dev branch if this default installation doesn't work.

Best Regards,
Anna Claudia
config.log

Damon McDougall

unread,
Jun 15, 2017, 1:13:06 PM6/15/17
to Anna Claudia, QUESO-users mailing list
Hi Anna,

Libmesh ships with boost included, and it appears queso is getting
confused between the system boost and libmesh's boost.

I have a couple of questions:

1) Can you try an explicit --with-boost=/path/to/system/boost?
2) What do you need libmesh for? Just the likelihood evaluation? If
you're not *sampling* functions interpolated by libmesh, then you
needn't link queso and libmesh together.
3) Did you have any luck with --without-boost on the dev branch?


On Mon, 12 Jun 2017, at 19:33, Anna Claudia wrote:
> Hi Damon,
> Thank you for the fast reply. Attached is the "config.log" requested.
>
> I don't know how *QUESO + Boost* interact with *libMesh*, or if I will
> need
> this interaction in some way. I appreciate your alternative option, and I
> will certainly try the *queso-dev branch* if this default installation
> --
> You received this message because you are subscribed to the Google Groups
> "QUESO-users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to queso-users...@googlegroups.com.
> Visit this group at https://groups.google.com/group/queso-users.
> For more options, visit https://groups.google.com/d/optout.
> Email had 1 attachment:
> + config.log
> 295k (application/octet-stream)

Anna Claudia

unread,
Jun 19, 2017, 3:16:47 PM6/19/17
to QUESO-users mailing list, anna.c...@gmail.com
Hi Damon,
I was only able to install QUESO from the dev branch and the option --without-boost, as suggested. I tried the installation with and without the link to libMesh and it worked in both cases. I just need the likelihood evaluation, so thanks for the tip.

About the first option, I didn't have much success trying the explicit --with-boost=/path/to/system/boost. For some reason, QUESO does not recognize my path /usr/lib/x86_64-linux-gnu/ as a valid one (configure: error: cannot find Boost headers version >= 1.35.0).

I'm glad for the help, thank you!

Best Regards,
Anna
Reply all
Reply to author
Forward
0 new messages