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

Fix Julia compilation error when using IFT in a singularity container #100

Merged
merged 12 commits into from
Jan 22, 2024

Conversation

tdivoll
Copy link
Collaborator

@tdivoll tdivoll commented Jan 17, 2024

This PR attempts to fix the problem behavior when running a Cylc flow on Oscar, the landmask task throws an error when trying to use Julia in the Docker image.

ERROR: LoadError: IOError: mkdir("/.julia"; mode=0o777): read-only file system (EROFS)

I also made a few small updates for some Cylc tasks for maintenance. After the Oscar upgrade, preprocess seemed to fail OOM so I used the --mem-per-cpu flag to make sure the task doesn't die. I will make updates to the tracker task in a separate PR (see #103).

@tdivoll tdivoll self-assigned this Jan 17, 2024
Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2927f54) 94.88% compared to head (a3b5afd) 94.88%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   94.88%   94.88%           
=======================================
  Files           7        7           
  Lines         215      215           
=======================================
  Hits          204      204           
  Misses         11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tdivoll tdivoll changed the title test: try to bind user julia cache to julia depot path Fix Julia compilation error when using IFT in a singularity container Jan 18, 2024
Copy link
Collaborator

@broarr broarr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I noticed that you changed the Julia version as well as adding the environment variable. Was the change to the Julia version not enough on its own?

@tdivoll
Copy link
Collaborator Author

tdivoll commented Jan 22, 2024

This looks good to me. I noticed that you changed the Julia version as well as adding the environment variable. Was the change to the Julia version not enough on its own?

I does still throw the error even with the Julia version pinned, so it seems like the issue is not from a Julia update. Would it be best to go back to v1.9 rather than pinning Julia?

@tdivoll tdivoll merged commit efda63a into main Jan 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants