Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix environment configuration on Ubuntu 24.04 arm64 #514

Merged
merged 2 commits into from
Feb 23, 2025

Conversation

galargh
Copy link
Contributor

@galargh galargh commented Feb 2, 2025

This fixes the environment configuration on Ubuntu 24.04 arm64 machines.

The context for the fix is that Ubuntu 24.04 comes with glibc 2.39 installed. Using older versions of nvcc with that glibc version results in the following errors - https://bugs.launchpad.net/ubuntu/+source/mumax3/+bug/2032624. This is specific to arm64 builds only.

On the plus side, we no longer have to downgrade gcc.

As a follow-up piece of work, we should consider installing the latest version of CUDA toolkit in the AMIs.

TODO (@galargh):

  • upgrade 4xlarge self-hosted runners to Ubuntu 24.04

@galargh galargh marked this pull request as ready for review February 2, 2025 21:43
@BigLep BigLep requested a review from rjan90 February 11, 2025 02:56
@BigLep
Copy link
Member

BigLep commented Feb 11, 2025

@rjan90 : are you able to take this one?

@rjan90
Copy link
Contributor

rjan90 commented Feb 11, 2025

@galargh Regarding the missing TODO item about upgrading 4xlarge self-hosted runners to Ubuntu 24.04, do you think this should be addressed before this PR is ready, or handled as a follow-up task?

I have also written up a issue ticket about the follow-up piece of work of installing the latest version of CUDA toolkit in the AMIs: #515

@galargh
Copy link
Contributor Author

galargh commented Feb 11, 2025

@galargh Regarding the missing TODO item about upgrading 4xlarge self-hosted runners to Ubuntu 24.04, do you think this should be addressed before this PR is ready, or handled as a follow-up task?

@rjan90 I'm ready to go with the upgrade at any moment. I just wanted to first check with you if you're OK with the changes proposed in this PR. If so, I'm going to upgrade the runners and merge this PR.

@rjan90
Copy link
Contributor

rjan90 commented Feb 17, 2025

'm ready to go with the upgrade at any moment. I just wanted to first check with you if you're OK with the changes proposed in this PR. If so, I'm going to upgrade the runners and merge this PR.

Yeah, I´m good with it

@galargh
Copy link
Contributor Author

galargh commented Feb 23, 2025

I updated the runners earlier today and rerun the CI here to verify everything works as expected. I'm going to merge it now to keep the master branch 🟢

@galargh galargh merged commit e6448b2 into master Feb 23, 2025
5 checks passed
@galargh galargh deleted the ubuntu-2404-configure-environment branch February 23, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ☑️ Done (Archive)
Development

Successfully merging this pull request may close these issues.

3 participants