Compilation Error with the Trilinos Package in deal.II

134 views
Skip to first unread message

dehua liu

unread,
Jan 13, 2024, 7:30:46 AM1/13/24
to deal.II User Group
Dear all,

I am a student who is new to deal.ii and numerical simulations. I am writing to seek your assistance in resolving an issue I encountered while attempting to install deal.ii on Ubuntu 23.10 using "candi".

During the process of building the Trilinos, I encountered the following error message:

Screenshot from 2024-01-13 20-09-37.pngScreenshot from 2024-01-13 20-09-13.png

I would greatly appreciate your guidance and expertise in addressing this issue. I understand that your time is valuable, and I am grateful for any insight or advice you can offer on this matter.

Thank you for your attention to my request, and I look forward to hearing from you soon.

error_message.txt

Wolfgang Bangerth

unread,
Jan 13, 2024, 9:03:38 PM1/13/24
to dea...@googlegroups.com

Dehua,
these are problems with compiling Trilinos, a project we have no influence
over. You're using Trilinos 13.2, which perhaps is not compatible with
whatever new compiler you might have. Could you try using a newer version of
Trilinos, say one of the 14.x releases here?
https://github.com/trilinos/Trilinos/releases

Best
W.

On 1/13/24 05:30, dehua liu wrote:
> *** Caution: EXTERNAL Sender ***
>
> Dear all,
>
> I am a student who is new to deal.ii and numerical simulations. I am writing
> to seek your assistance in resolving an issue I encountered while attempting
> to install deal.ii on Ubuntu 23.10 using "candi".
>
> During the process of building the Trilinos, I encountered the following error
> message:
>
> Screenshot from 2024-01-13 20-09-37.pngScreenshot from 2024-01-13 20-09-13.png
>
> I would greatly appreciate your guidance and expertise in addressing this
> issue. I understand that your time is valuable, and I am grateful for any
> insight or advice you can offer on this matter.
>
> Thank you for your attention to my request, and I look forward to hearing from
> you soon.
>
> --
> The deal.II project is located at http://www.dealii.org/
> <http://www.dealii.org/>
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> <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
> <mailto:dealii+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/aacaec23-a578-4425-bbb4-2de33d7e9a69n%40googlegroups.com <https://groups.google.com/d/msgid/dealii/aacaec23-a578-4425-bbb4-2de33d7e9a69n%40googlegroups.com?utm_medium=email&utm_source=footer>.

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


dehua liu

unread,
Jan 13, 2024, 9:48:59 PM1/13/24
to deal.II User Group

Yes,I have attempted to install Trilinos 14.0.0 and Trilinos 15.0.0, but both resulted in different levels of error messages. 

For Trilinos 14.0.0, the error message is as follows:

Screenshot from 2024-01-14 10-33-50.png

For Trilinos 15.0.0, the error message is as follows:

Screenshot from 2024-01-13 18-32-47.png
Screenshot from 2024-01-13 18-34-08.png

Thank you for taking the time to read my email, and I look forward to hearing back from you soon.

Best
W.
error_message_15_0_0.txt
error_message_14_0_0.txt

Wolfgang Bangerth

unread,
Jan 14, 2024, 12:07:02 AM1/14/24
to dea...@googlegroups.com
On 1/13/24 19:48, dehua liu wrote:
>
> Yes,I have attempted to install Trilinos 14.0.0 and Trilinos 15.0.0, but both
> resulted in different levels of error messages.
>
> For Trilinos 14.0.0, the error message is as follows:
>
> Screenshot from 2024-01-14 10-33-50.png
>
> For Trilinos 15.0.0, the error message is as follows:
>
> Screenshot from 2024-01-13 18-32-47.png
> Screenshot from 2024-01-13 18-34-08.png
>
> Thank you for taking the time to read my email, and I look forward to hearing
> back from you soon.

Since Trilinos is not a project we have any control over, I'm afraid your only
chance is to post a bug report here:
https://github.com/trilinos/Trilinos/issues

Best
WB

Praveen C

unread,
Jan 14, 2024, 3:00:08 AM1/14/24
to Deal. II Googlegroup
I also got this error recently when I used gcc-13.2 on opensuse 15.5.

/home/ubuntu/dealii-candi/tmp/unpack/Trilinos-trilinos-release-13-2-0/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp:67:8:
error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?

Using gcc-12.3 I could compile trilinos.

What compiler are you using ?

I used spack to install dealii dependencies, and it picks tril...@13.4.1, so you could try that with a different gcc.

best
praveen
Reply all
Reply to author
Forward
0 new messages