I try to install dealii with candi on a cluster for few days but failed. Now I'm dealing with
spack to avoid the conflict compilers. The cluster OS is centos with cascadelake.
The command I use is:
spack install --test=root dealii ^bo...@1.72.0 ^mu...@5.2.0 ^trilinos+superlu-dist~exodus ^mpich %g...@9.3.1
First spack gives error on CGAL: "Could not find the cgal library". The CGAL was installed
through the above command. I believe it's because I didn't enable DEAL_II_HAVE_CXX17,
but install through candi simply pass CGAL install, not interrupt with and error.
Then I install dealii adding "~cgal" to disable CGAL, while there's arbox error like:
"is_same_v" is a CXX17 feature I think? I set environment var DEAL_II_HAVE_CXX17 on then in spack. The CGAL error shows again. Have I enable cxx17 wrong? I don't think I have to enable cxx17 since cxx14 works with candi on my own vm machine.