Hi Wayne, CGAL requires C++17, hence you should add a proper compiler flag (https://github.com/dealii/dealii/wiki/deal.II-in-Spack#compiler-flags) if you want to have it.
Adding *cppflags="-std=c++17"* should fix that. For what concerns your last message, here's a related discussion: https://groups.google.com/g/dealii/c/nodblNqEjd4 Best, Marco Il giorno mercoledì 22 febbraio 2023 alle 13:36:12 UTC+1 yy.wayne ha scritto: > Since spack is calling error, I install directly with the depending > libraries installed by spack. > Deal.II cmake and 'make install' successfully. But shows error when 'make > test': > > ... > An error occurred in line <170> of file > </tmp/wyy/spack-stage/spack-stage-dealii-9.4.0-nu4ocb323sfl4apazi7ckpwirpheveen/spack-src/source/lac/sparsity_tools.cc> > > in function > void dealii::SparsityTools::{anonymous}::partition_metis(const > dealii::SparsityPattern&, const std::vector<unsigned int>&, unsigned int, > std::vector<unsigned int>&) > The violated condition was: > ierr == 1 > Additional information: > An error with error number -3 occurred while calling a METIS function > ... > > The METIS_DIR was set to metis-5.1.0. I changed METIS_DIR to parmetis, but > the error remains. > > Besides, I fail to build step1 after this fault installation. cmake passed > but make gives following error: > [image: Snipaste_2023-02-22_20-36-58.png] > > 在2023年2月22日星期三 UTC+8 15:16:40<yy.wayne> 写道: > >> The spacl-build-out.txt with middle content deleted. The original file >> was too big. >> 在2023年2月22日星期三 UTC+8 15:12:25<yy.wayne> 写道: >> >>> I set variant "~arborx". There's only ninja warning but installation >>> exit with ERROR. However in spack-build-out.txt every libraries seem >>> connected successfully. Why ninja return an ERROR? >> >> -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/dda5265f-eabf-4d3d-8223-b7b47800604dn%40googlegroups.com.