Skip to content

enhance JuliaPackage easyblock to avoid writing to $HOME & clean up JuliaBundle#4102

Open
Flamefire wants to merge 4 commits intoeasybuilders:developfrom
Flamefire:20260401164416_new_pr_juliabundle
Open

enhance JuliaPackage easyblock to avoid writing to $HOME & clean up JuliaBundle#4102
Flamefire wants to merge 4 commits intoeasybuilders:developfrom
Flamefire:20260401164416_new_pr_juliabundle

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

@Flamefire Flamefire commented Apr 1, 2026

(created using eb --new-pr)

Some easyconfigs have sanity check commands that run e.g. julia -e ...

This will use the $JULIA_DEPOT_PATH set in the module which is something like :/foo:/bar where the leading colon means "including the user depot": https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_DEPOT_PATH

That will write artifacts/cache files to $HOME/.julia or fail if that's not writable.

Similar to PythonPackage/PythonBundle use a temporary directory for that and end with a trailing colon for "excluding the user depot."

Additionally some empty methods on Juliabundle can be removed

@Flamefire
Copy link
Copy Markdown
Contributor Author

Test report by @Flamefire

Overview of tested easyconfigs (in order)

Build succeeded for 2 out of 3 (total: 1 hour 12 mins 55 secs) (3 easyconfigs in total)
i7140 - Linux Rocky Linux 9.6, x86_64, AMD EPYC 7702 64-Core Processor (zen2), Python 3.9.21
See https://gist.github.com/Flamefire/d5fcfa06e0bfd1bbdfa15bf0e3ef2c6c for a full test report.

@Flamefire
Copy link
Copy Markdown
Contributor Author

The only failure above is from a test failing due to German locale: "Warnung != Warning"
Fix in easybuilders/easybuild-easyconfigs#25666

@boegel boegel changed the title Update JuliaPackage easyblock to avoid writing to $HOME & cleanup JuliaBundle enhance JuliaPackage easyblock to avoid writing to $HOME & clean up JuliaBundle Apr 8, 2026
@boegel boegel added this to the release after 5.3.0 milestone Apr 8, 2026
@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 8, 2026

@lexming Can you take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants