diff options
author | 2021-11-11 13:24:51 -0800 | |
---|---|---|
committer | 2021-11-11 13:24:51 -0800 | |
commit | c33d37e34fa827dae9fa71e2e2dcfd273d182e30 (patch) | |
tree | ab332dc91498adecbb73bd68ff33e46be4e28efb /Regression/prepare_file_ci.py | |
parent | b0c2c4286fa15f93a780625b51beb03362dc26c0 (diff) | |
download | WarpX-c33d37e34fa827dae9fa71e2e2dcfd273d182e30.tar.gz WarpX-c33d37e34fa827dae9fa71e2e2dcfd273d182e30.tar.zst WarpX-c33d37e34fa827dae9fa71e2e2dcfd273d182e30.zip |
Tests: numthreads to 1 (#2546)
* Tests: numthreads to 1
We already hack this option to read `numthreads = 1` already for
benchmarks, thus we remove the confusing other values now.
* Prepare for CI: Do not Overwrite `numthreads`
Diffstat (limited to 'Regression/prepare_file_ci.py')
-rw-r--r-- | Regression/prepare_file_ci.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Regression/prepare_file_ci.py b/Regression/prepare_file_ci.py index 7ad00b0d8..bb94cb992 100644 --- a/Regression/prepare_file_ci.py +++ b/Regression/prepare_file_ci.py @@ -76,8 +76,7 @@ text = re.sub('runtime_params =', # Use less/more cores for compiling, e.g. public CI only provides 2 cores if ci_num_make_jobs is not None: text = re.sub( 'numMakeJobs = \d+', 'numMakeJobs = {}'.format(ci_num_make_jobs), text ) -# Use only 1 OMP thread for running -text = re.sub( 'numthreads = \d+', 'numthreads = 1', text) + # Prevent emails from being sent text = re.sub( 'sendEmailWhenFail = 1', 'sendEmailWhenFail = 0', text ) |