diff options
author | 2022-03-03 14:04:25 -0800 | |
---|---|---|
committer | 2022-03-03 14:04:25 -0800 | |
commit | 795c872e8087f077fca105129dd44cddd4d16820 (patch) | |
tree | ac913a736a4393af9bf90d9320407739a0133e93 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms | |
parent | 5d5c121c7681ac47595f5681eb014d8197d0217a (diff) | |
download | WarpX-795c872e8087f077fca105129dd44cddd4d16820.tar.gz WarpX-795c872e8087f077fca105129dd44cddd4d16820.tar.zst WarpX-795c872e8087f077fca105129dd44cddd4d16820.zip |
file_min_digits: 5->6 (#2385)
* file_min_digits: 5->6
100k+ step runs are quite common in WarpX. To simplify
post-processing scripts, increase the default to pad to 6 digits.
This might break some hand-written scripts that use `?????`
wild-cards over `*` wildcards in regex and thus need to be updated.
But it at the same time simplifies regexes for analysis of data
series and listing of such file series.
* Update Scripts to Handle New File Names
* Fix CI Test pml_x_psatd
* Fix CI Test divb_cleaning_3d
* Fix CI Tests with EB Support
* Fix CI Tests with RZ Support
* Fix CI Tests with PICMI Support
* Use glob in Analysis of Collision Tests
* Use rstrip in Analysis of Collision Tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix CI Tests for Langmuir_multi_1d/psatd
* Fix CI Tests for LaserInjection_1d
* Checkpoint-Restart Tests: 5 Digits
`regtest.py` in `regression_testing` hard-codes 5 digits:
```diff
--- a/regtest.py
+++ b/regtest.py
@@ -734,7 +734,7 @@ def test_suite(argv):
shutil.move(test.diffDir, orig_diff_dir)
# get the file number to restart from
- restart_file = "%s_chk%5.5d" % (test.name, test.restartFileNum)
+ restart_file = "%s_chk%6.6d" % (test.name, test.restartFileNum)
```
* PICMI Restart Tests: `warpx_file_min_digits = 5`
Same as other CI restart tests: hard-coded value in regression
suite makes this necessary.
X-ref: https://github.com/AMReX-Codes/regression_testing/issues/119
Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions