Thank for sharing the instructions. When I was installing, I followed the manual-2.5.0 partially.
When I install :
1. I am using Ubuntu 24.04.1 LTS.
2. The listed dependencies, cmake is installed from source and openmpi is installed by apt-get.
3. Before installed deal.II-9.6.0, I had installed trillinos-13.2.0, p4est-2.8.5.5-9ddbb. And I have tested the deal.II installation by commands : mpirun -n 2 ./step-32.debug and mpirun -n 2 ./step-32.release,
the output is (part of it is as follows) seemingly reasonable…I’m not sure:
Number of active cells: 12,288 (on 6 levels)
Number of degrees of freedom: 186,624 (99,840+36,864+49,920)
Timestep 0: t=0 years
Rebuilding Stokes preconditioner...
Solving Stokes system... 41 iterations.
Maximal velocity: 60.4963 cm/year
Time step: 18166.5 years
17 CG iterations for temperature
Temperature range: 973 4273.16
Number of active cells: 17,709 (on 7 levels)
Number of degrees of freedom: 277,707 (149,720+53,127+74,860)
Timestep 0: t=0 years
Rebuilding Stokes preconditioner...
Solving Stokes system... 23 iterations.
Maximal velocity: 60.4698 cm/year
Time step: 10640.6 years
18 CG iterations for temperature
Temperature range: 973 4273.16
Number of active cells: 20,559 (on 8 levels)
Number of degrees of freedom: 334,593 (181,944+61,677+90,972)
Timestep 0: t=0 years
Rebuilding Stokes preconditioner...
Solving Stokes system... 27 iterations.
Maximal velocity: 60.5302 cm/year
Time step: 5320.23 years
18 CG iterations for temperature
Temperature range: 973 4273.43
Should I reinstall the dependencies?
Thanks for you assistance!
@lij24 This looks reasonable. I think @jbnaliboff (and I) are confused why you get these errors when compiling ASPECT. That’s because at the places where your compiler complains about missing semicolons, there really are semicolons. The error message simply doesn’t make any sense.
Are these the first errors you get? Or is there anything above it? If the latter, can you show us a screenshot of the first errors you get when you call make?
Sorry, I am confused by the semicolon, too. I
really don’t understand. But it is the first error after I use command make, and it even is ther first error I have meet after I make directory build in directory aspect-2.5.0. Without else error reported before it.
And…I check the file core.cc which firstly appears in the error message, there is not a semicolon. After added a semicolon, THIS error disappeared, with more NEW semicolon errors.
What makes me more confused is that my college use same semicolon lack file to make, the error didn’ t appear.
For gcc, I am a beginner…I’m sorry…I don’t understand why.