Step 55 does not compile

25 views
Skip to first unread message

Victor Eijkhout

unread,
May 29, 2026, 8:18:24 AM (3 days ago) May 29
to deal.II User Group
Deal 9.7.1, intel 2025.3 compiler:

[ 50%] Building CXX object CMakeFiles/step55.dir/step55.cpp.o
/scratch/projects/compilers/intel25.3/compiler/2025.3/bin/icpx -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -I/scratch/00434/eijkhout/htmr/Binaries/cxxopts-3.3.1/include -I/scratch/projects/compilers/intel25.3/mpi/2021.17/include -I/work2/00434/eijkhout/htmr_sandbox/step55 -isystem /scratch/00434/eijkhout/htmr/Binaries/dealii-9.7.1/include -isystem /scratch/00434/eijkhout/htmr/Binaries/dealii-9.7.1/include/deal.II/bundled -isystem /scratch/00434/eijkhout/installation/installation-boost-1.86.0-stampede3-intel25.3/include -isystem /scratch/00434/eijkhout/htmr/Binaries/petsc-3.24.6/include -isystem /scratch/projects/compilers/intel25.3/tbb/2022.3/include -O2 -g -DNDEBUG -std=gnu++23 -MD -MT CMakeFiles/step55.dir/step55.cpp.o -MF CMakeFiles/step55.dir/step55.cpp.o.d -o CMakeFiles/step55.dir/step55.cpp.o -c /work2/00434/eijkhout/htmr_sandbox/step55/step55.cpp
/work2/00434/eijkhout/htmr_sandbox/step55/step55.cpp:335:7: error: call to deleted constructor of 'parallel::distributed::Triangulation<2>'
  335 |     , triangulation(mpi_communicator,
      |       ^             ~~~~~~~~~~~~~~~~~
  336 |                     typename Triangulation<dim>::MeshSmoothing(
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  337 |                       Triangulation<dim>::smoothing_on_refinement |
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  338 |                       Triangulation<dim>::smoothing_on_coarsening))
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/work2/00434/eijkhout/htmr_sandbox/step55/step55.cpp:813:24: note: in instantiation of member function 'Step55::StokesProblem<2>::StokesProblem' requested here
  813 |       StokesProblem<2> problem(2);
      |                        ^
/scratch/00434/eijkhout/htmr/Binaries/dealii-9.7.1/include/deal.II/distributed/tria.h:1071:16: note: 'Triangulation' has been explicitly marked deleted here
 1071 |       explicit Triangulation(
      |                ^
1 error generated.

Daniel Arndt

unread,
May 29, 2026, 11:11:55 AM (3 days ago) May 29
to dea...@googlegroups.com
Looks like you are end up in
https://github.com/dealii/dealii/blob/dfff93f072b477d83183acbb4c0958b37930e157/include/deal.II/distributed/tria.h#L1071-L1076
which is a branch used when deal.II was configured without p4est.
https://github.com/dealii/dealii/blob/dfff93f072b477d83183acbb4c0958b37930e157/examples/step-55/CMakeLists.txt#L40-L57
should have prevented you from configuring step-55. Can you confirm
that your deal.II configurations indeed satisfy the requirements for
step-55?

Best,
Daniel
> --
> 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+un...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/dealii/31b61cde-c8de-4f8f-9187-b45ec76efe42n%40googlegroups.com.

Victor Eijkhout

unread,
May 29, 2026, 2:08:14 PM (3 days ago) May 29
to deal.II User Group
Indeed, I did not configure with p4est. 

Shouldn't that example warn about that? #ifndef DEAL_HAS_P4EST #error ?

Wolfgang Bangerth

unread,
May 29, 2026, 8:16:25 PM (3 days ago) May 29
to dea...@googlegroups.com
On 5/29/26 11:08, Victor Eijkhout wrote:
> Indeed, I did not configure with p4est.
>
> Shouldn't that example warn about that? #ifndef DEAL_HAS_P4EST #error ?

The CMakeLists.txt in the step-55 directory does that. Did you use a different
CMake file?

Best
W.
Reply all
Reply to author
Forward
0 new messages