exadg installation error ‘class dealii::CellAccessor<3, 3>’ has no member named ‘as_dof_handler_iterator’

71 views
Skip to first unread message

Sooraj Bharan Soman

unread,
Apr 10, 2023, 7:01:32 AM4/10/23
to deal.II User Group
Hello,

I am trying to install exadg, but it fails with the following error.

/home/anachronism/computation/exadg/include/exadg/grid/grid_utilities.h:121:48: error: ‘class dealii::CellAccessor<3, 3>’ has no member named ‘as_dof_handler_iterator’
  121 |     face_pair_dof_hander.cell[0] = it.cell[0]->as_dof_handler_iterator(dof_handler);
      |                                    ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/anachronism/computation/exadg/include/exadg/grid/grid_utilities.h:122:48: error: ‘class dealii::CellAccessor<3, 3>’ has no member named ‘as_dof_handler_iterator’
  122 |     face_pair_dof_hander.cell[1] = it.cell[1]->as_dof_handler_iterator(dof_handler);

I am configuring exadg using

cmake .. -DDEAL_II_DIR=~/computation/deal.II -DBUILD_SHARED_LIBS=ON -DPICKUP_TESTS=ON

How can I solve this issue and proceed further? dealii detailed log file and exadg cmake cache files are attached. Please let me know in case any additional information is required.

Thank you
Sooraj

CMakeCache.txt
detailed.log

Peter Munch

unread,
Apr 10, 2023, 7:37:35 AM4/10/23
to deal.II User Group
Hej Sooraj,

CellAccessor::as_dof_handler_iterator() was added since the 9.3 release. It looks like ExaDG is not compatible with the 9.3. release but only with master.

I would suggest that you report this at the ExaDG project (https://github.com/exadg/exadg/discussions) and than we decide if we want to make ExaDG compatible with 9.3 again. 

Peter

Sooraj Bharan Soman

unread,
Apr 11, 2023, 2:42:10 AM4/11/23
to dea...@googlegroups.com

Hi Peter,

I am using deal.ii version 9.4.1. I was wondering why I keep getting the error message "cellaccessor has no member function as_dof_handle_iterator", if the current version of dealii already has 'as_dof_handle_iterator'.

--
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/7zzMV86oB38/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/9866f551-ba21-419a-b39a-408059486ff9n%40googlegroups.com.
--

Thank You,

Sooraj Bharan Soman

Wolfgang Bangerth

unread,
Apr 11, 2023, 1:44:16 PM4/11/23
to dea...@googlegroups.com
On 4/11/23 00:42, 'Sooraj Bharan Soman' via deal.II User Group wrote:
> I am using deal.ii version 9.4.1. I was wondering why I keep getting the
> error message "cellaccessor has no member function
> as_dof_handle_iterator", if the current version of dealii already has
> 'as_dof_handle_iterator'.
>

Can you show the exact code you use, along with the complete error message?

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Sooraj Bharan Soman

unread,
Apr 12, 2023, 9:52:53 AM4/12/23
to dea...@googlegroups.com

Hello,

I followed the instructions on the webpage of dealii for installing the package. For installing exaDG I did the following steps:

I downloaded the zip file from github. Unpacked it in working directory, created build

cmake -DP4EST_DIR=/home/anachronism/computation/p4est -DDEAL_II_WITH_P4EST=ON -DDEAL_II_WITH_MPI=ON -DCMAKE_INSTALL_PREFIX=/home/anachronism/computation/deal.II .

For installing exaDG I created build copied config_exadg.sh into the build folder. Then I turned OFF fftw and likwid afterward I ran bash ./config_exadg.sh but I got the error which is in the file bash output.txt

so I ran the following command  the terminal:

cmake -DDEAL_II_DIR=~/computation/deal.II -DBUILD_SHARED_LIBS=ON -DPICKUP_TESTS=ON ../

The output for this is in file name cmakeOutput.txt

Then I ran make release, the output is in makeReleaseOutput.txt

Finally, I ran

make -j4

this is where I encountered the error the output is in file error.txt. I have highlighted these errors in the pdf error.pdf. Kindly let me know if I need to provide any information.

bash output.txt
cmakeOutput.txt

Wolfgang Bangerth

unread,
Apr 12, 2023, 12:32:01 PM4/12/23
to dea...@googlegroups.com
On 4/12/23 07:52, 'Sooraj Bharan Soman' via deal.II User Group wrote:
> this is where I encountered the error the output is in file error.txt. I have
> highlighted these errors in the pdf error.pdf. Kindly let me know if I need to
> provide any information.

I think you've missed a number of the output files mentioned in your email.

Sooraj Bharan Soman

unread,
Apr 13, 2023, 1:42:00 AM4/13/23
to dea...@googlegroups.com

Hello,

I hope you are able to find the attached files.

makeReleaseOutput.txt
error.txt
error.pdf
cmakeOutput.txt
bashOutput.txt

Peter Munch

unread,
Apr 13, 2023, 3:21:48 AM4/13/23
to deal.II User Group
As stated above. This is not a deal.II issue. The function has been introduced since the last release and is only part of the master branch. I have added some ifdefs in https://github.com/exadg/exadg/pull/402. However, I am not sure if this enough to make the code compatible with deal.II 9.4...

Next time please report ExaDG-related issues at the ExaDG page so that the developers there are aware of it.

Peter

Reply all
Reply to author
Forward
0 new messages