You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Outputs from plotfiles can collide when running them simultaneously with ctest -jN with N > 1.
AMReX is not designed to write outputs from multiple simulations in the same directory. In practice, however, this only seems to be an issue on parallel filesystems where metadata operations are slow.
The easiest fix is to set a unique prefix for each test problem in its input file, e.g.:
# default is "plt"
plotfile_prefix = mytest_plt
# default is "chk"
checkpoint_prefix = mytest_chk
To Reproduce
Steps to reproduce the behavior:
Run the test suite on a Lustre filesystem
See test failures due to std::rename failing.
Additional context
This seems to happen on Gadi.
The text was updated successfully, but these errors were encountered:
BenWibking
changed the title
add prefixes to plotfiles when running test suite
writing plotfiles can fail when running test suite in parallel
Dec 6, 2024
Describe the bug
Outputs from plotfiles can collide when running them simultaneously with
ctest -jN
with N > 1.AMReX is not designed to write outputs from multiple simulations in the same directory. In practice, however, this only seems to be an issue on parallel filesystems where metadata operations are slow.
The easiest fix is to set a unique prefix for each test problem in its input file, e.g.:
To Reproduce
Steps to reproduce the behavior:
std::rename
failing.Additional context
This seems to happen on Gadi.
The text was updated successfully, but these errors were encountered: