Skip to content

testpackage addition: restart read on single(or multiple) mpi rank - #1328

Open
lassejsc wants to merge 7 commits into
fmihpc:devfrom
lassejsc:restartReadWrite
Open

testpackage addition: restart read on single(or multiple) mpi rank#1328
lassejsc wants to merge 7 commits into
fmihpc:devfrom
lassejsc:restartReadWrite

Conversation

@lassejsc

@lassejsc lassejsc commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Since the restart IO depends on the number of ranks here https://github.com/fmihpc/vlasiator/blob/dev/ioread.cpp#L1422 . By default the restarts are written with the --ntasks number of tasks so reading them with a single rank will use the else part of the code there. Not sure if this fully answers to #1163

Update:

Changed single_cell in test_definitions_small.sh to be ranks which sets the number of ranks to be used when running the test. Setting this to "half" as done in the new restart read tests will used half the $SLURM_NTASK ranks (floored division)

@ykempf

ykempf commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Single rank in itself is already a good test but I think another rank count, but parallel, would be needed, say 8 ranks if the base case is run on 16, or so.

@lassejsc
lassejsc marked this pull request as ready for review July 15, 2026 14:09
@lassejsc lassejsc changed the title testpackage addition: restart read on single mpi rank testpackage addition: restart read on single(or multiple) mpi rank Jul 15, 2026
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