Default installation leads to sub-optimal performance on Ubuntu 20.04 and 22.04 #4031
Unanswered
cpjordan
asked this question in
Install FAQ
Replies: 1 comment 2 replies
-
Instead of those arguments might it be to do with the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Details
Following on from some discussion on Thetis Issue #391, I have found that the default options for installing PETSc lead to slower run times, whereas when using a Docker image or building my own PETSc first, I get much faster run times. When I build my own PETSc I use the same configuration flags as the Firedrake Dockerfile.env (see the linked Issue for my exact installation steps). I have been experimenting with this test on Thetis as I have also been comparing a slow down in performance since October 2024. My results are as follows:
Dell Precision 5820 Tower X-Series (Ubuntu 20.04.6 LTS)
Local build - default: ~390s (serial_latest-default_petsc_log.txt)
Local build - own PETSc build: 100s (serial_latest_separate_PETSc_build_petsc_log.txt)
Docker image: 100s
HP Z6 G5 Workstation Desktop (Ubuntu 22.04.5 LTS)
Local build - default: 351s
Docker image: 76s
We haven't tested building our own PETSc here, but I anticipate the same results. I can do this if helpful.
The difference in times between default installation and the latest image/separate PETSc build appears to be due to the choice of blas and lapack used in the default installation (thanks @stephankramer for figuring this out for me!). This appears to be a result of the installation options here: https://github.com/firedrakeproject/firedrake/blob/master/scripts/firedrake-install#L755. Is this behaviour expected? I can't see any other complaints noting a slow down in performance from the default build. Note that this seems to have only been an issue I've personally been aware of since October last year, but I initially thought the slow down I was experiencing could have been for other reasons.
Beta Was this translation helpful? Give feedback.
All reactions