Compiling error regarding #include<deal.II/base/index_set.h>

26 views
Skip to first unread message

Jau-Uei Chen

unread,
Sep 17, 2021, 5:58:17 PM9/17/21
to deal.II User Group
Dear all,

Currently, I encounter a fatal error when compiling my code built upon dealii library.

The error message reads:
[ 12%] Building CXX object CMakeFiles/current/folder/mmult_Trilinos_test.cc.o 
In file included from /home1/apps/gcc7_1/impi18_0/dealii/9.1.1/include/deal.II/base/index_set.h:23:0,
from /my/folder/mmult_Trilinos_test.cc:1:/home1/apps/gcc7_1/impi18_0/dealii/9.1.1/include/deal.II/base/utilities.h:45:10: fatal error: boost/archive/binary_iarchive.hpp: No such file or directory
#include <boost/archive/binary_iarchive.hpp>

I am compiling it on Stampede2 and the modules I loaded are:
1) git/2.24.1     6) python2/2.7.14   11) boost/1.64          16) petsc/3.11
2) cmake/3.16.1   7) mkl/17.0.4       12) dealii/9.1.1        17) slepc/3.11
3) xalt/2.10.2    8) autotools/1.1    13) p4est/2.0           18) trilinos/12.18.1
4) TACC           9) libfabric/1.7.0  14) hdf5/1.10.4
5) gcc/7.1.0     10) impi/18.0.0      15) parmetis_petsc/4.0

In addition, I also got warning messages when running cmake. The issue is similar to this post. I assume that it won't pose any significant effect on compilation so I just ignored it.

Previously, it could be successfully compiled with deal.ii.9.0.1 and 9.1.1 that are manually installed on Stampede2. This time I just try to do it with modules but run into the trouble I just mentioned.

Any suggestion or comment is greatly appreciated.

Best Regards,
Jau-Uei Chen
Reply all
Reply to author
Forward
0 new messages