WilhelmusLab / ice-floe-tracker-pipeline

Processing pipeline for IceFloeTracker.jl
1 stars 2 forks source link

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

Closed tdivoll closed 10 months ago

tdivoll commented 10 months ago

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).

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

tdivoll commented 10 months ago

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?