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 MPI linking bug; fix CI tests #150

Merged
merged 13 commits into from
Nov 20, 2023
Merged

Conversation

johnomotani
Copy link
Collaborator

@johnomotani johnomotani commented Nov 20, 2023

Fixes #148 by excluding version 1.14.x of HDF5_jll.jl (that was 'option 2' of #148).

Various fixes so that the CI jobs can all pass again (finally!).

Also includes a bug-fix for I/O of the 'generalised chodura criterion' diagnostic when running in parallel but not using parallel I/O.

Version 1.14 of the HDF5_jll package causes a bug (see #148), so set the
`[compat]` section of Project.toml to exclude this version (hoping the
bug will be fixed by version 1.15 at the latest, some future patch
release like 1.14.3 might also be OK though).

HDF5_jll is not used directly in moment_kinetics, and so is only
included in the Project.toml in order to apply this version restriction.
It should probably be removed once the latest version has fixed the bug.
The setup and compilation takes so long, it is not worth running the
various debug checks as separate jobs.
This helps to prevent errors in the 'parallel tests' CI job.
The variables only exist in the output file(s) that include the lower or
upper boundary respectively, so cannot be loaded on all processes when
not using parallel I/O.
Plots.jl has released a new version since the one that caused a problem.
The CI job no longer hangs when using the latest version.
Previously, temporary directory was created at pre-compile time and its
name saved as a module variable, so would be the same for multiple runs
of the test. That would make deleting the output directory to save disk
space more complicated. Better to create the temporary directory at run
time, so it is different for each test.
This stops the 'parallel tests' hanging in the CI job on macOS.
@johnomotani johnomotani added the bug Something isn't working label Nov 20, 2023
Removing the brackets ensures that the no-argument version of the
function is not declared by mistake, so that trying to call the function
with no arguments raises an error (as it should).
The macOS variant keeps timing out with the previous setting.
@johnomotani johnomotani merged commit 9fef965 into master Nov 20, 2023
16 checks passed
@johnomotani johnomotani deleted the mpi-ncdatasets-bug-workaround branch November 20, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MPI issues
1 participant