Skip to content

Commit

Permalink
Temporary fix: disable hanging CI test (`Python_background_mcc_1d_tri…
Browse files Browse the repository at this point in the history
…diag`) (#4628)

* Temporary fix: disable hanging CI test (`Python_background_mcc_1d_tridiag`)

* only grab test names from lines where the *first* character is `[`

* only grab test names from lines where the *first* character is `[` for all cases

* also disable DSMC test for the time being
  • Loading branch information
roelof-groenewald authored Jan 24, 2024
1 parent 47e8ace commit 77dbf6d
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/source/test_ci_matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ cd Regression/

# Put the name of all CI tests into a text file
python prepare_file_ci.py
grep "\[" ci-tests.ini > ci_all_tests.txt
grep "^\[" ci-tests.ini > ci_all_tests.txt


export WARPX_CI_PSATD=TRUE

# Concatenate the names of all elements in CI matrix into another test file
WARPX_CI_REGULAR_CARTESIAN_1D=TRUE python prepare_file_ci.py
grep "\[" ci-tests.ini > ci_matrix_elements.txt
grep "^\[" ci-tests.ini > ci_matrix_elements.txt
WARPX_CI_REGULAR_CARTESIAN_2D=TRUE python prepare_file_ci.py
grep "\[" ci-tests.ini >> ci_matrix_elements.txt
grep "^\[" ci-tests.ini >> ci_matrix_elements.txt
WARPX_CI_REGULAR_CARTESIAN_3D=TRUE python prepare_file_ci.py
grep "\[" ci-tests.ini >> ci_matrix_elements.txt
grep "^\[" ci-tests.ini >> ci_matrix_elements.txt
WARPX_CI_SINGLE_PRECISION=TRUE python prepare_file_ci.py
grep "\[" ci-tests.ini >> ci_matrix_elements.txt
grep "^\[" ci-tests.ini >> ci_matrix_elements.txt
WARPX_CI_RZ_OR_NOMPI=TRUE python prepare_file_ci.py
grep "\[" ci-tests.ini >> ci_matrix_elements.txt
grep "^\[" ci-tests.ini >> ci_matrix_elements.txt
WARPX_CI_QED=TRUE python prepare_file_ci.py
grep "\[" ci-tests.ini >> ci_matrix_elements.txt
grep "^\[" ci-tests.ini >> ci_matrix_elements.txt
WARPX_CI_EB=TRUE python prepare_file_ci.py
grep "\[" ci-tests.ini >> ci_matrix_elements.txt
grep "^\[" ci-tests.ini >> ci_matrix_elements.txt

# Check that the resulting lists are equal
{
Expand Down
72 changes: 36 additions & 36 deletions Regression/WarpX-tests.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3021,24 +3021,24 @@ doVis = 0
compareParticles = 0
analysisRoutine = Examples/Physics_applications/capacitive_discharge/analysis_1d.py

[Python_background_mcc_1d_tridiag]
buildDir = .
inputFile = Examples/Physics_applications/capacitive_discharge/PICMI_inputs_1d.py
runtime_params =
customRunCmd = python3 PICMI_inputs_1d.py --test
dim = 1
addToCompileString = USE_PYTHON_MAIN=TRUE USE_OPENPMD=TRUE QED=FALSE
cmakeSetupOpts = -DWarpX_DIMS=1 -DWarpX_APP=OFF -DWarpX_PYTHON=ON -DWarpX_OPENPMD=ON -DWarpX_QED=OFF
target = pip_install
restartTest = 0
useMPI = 1
numprocs = 2
useOMP = 1
numthreads = 1
compileTest = 0
doVis = 0
compareParticles = 0
analysisRoutine = Examples/Physics_applications/capacitive_discharge/analysis_1d.py
# [Python_background_mcc_1d_tridiag]
# buildDir = .
# inputFile = Examples/Physics_applications/capacitive_discharge/PICMI_inputs_1d.py
# runtime_params =
# customRunCmd = python3 PICMI_inputs_1d.py --test
# dim = 1
# addToCompileString = USE_PYTHON_MAIN=TRUE USE_OPENPMD=TRUE QED=FALSE
# cmakeSetupOpts = -DWarpX_DIMS=1 -DWarpX_APP=OFF -DWarpX_PYTHON=ON -DWarpX_OPENPMD=ON -DWarpX_QED=OFF
# target = pip_install
# restartTest = 0
# useMPI = 1
# numprocs = 2
# useOMP = 1
# numthreads = 1
# compileTest = 0
# doVis = 0
# compareParticles = 0
# analysisRoutine = Examples/Physics_applications/capacitive_discharge/analysis_1d.py

[Python_collisionXZ]
buildDir = .
Expand Down Expand Up @@ -3079,24 +3079,24 @@ doVis = 0
compareParticles = 0
analysisRoutine = Examples/Tests/electrostatic_dirichlet_bc/analysis.py

[Python_dsmc_1d]
buildDir = .
inputFile = Examples/Physics_applications/capacitive_discharge/PICMI_inputs_1d.py
runtime_params =
customRunCmd = python3 PICMI_inputs_1d.py --test --dsmc
dim = 1
addToCompileString = USE_PYTHON_MAIN=TRUE USE_OPENPMD=TRUE QED=FALSE
cmakeSetupOpts = -DWarpX_DIMS=1 -DWarpX_APP=OFF -DWarpX_PYTHON=ON -DWarpX_OPENPMD=ON -DWarpX_QED=OFF
target = pip_install
restartTest = 0
useMPI = 1
numprocs = 2
useOMP = 1
numthreads = 1
compileTest = 0
doVis = 0
compareParticles = 0
analysisRoutine = Examples/Physics_applications/capacitive_discharge/analysis_dsmc.py
# [Python_dsmc_1d]
# buildDir = .
# inputFile = Examples/Physics_applications/capacitive_discharge/PICMI_inputs_1d.py
# runtime_params =
# customRunCmd = python3 PICMI_inputs_1d.py --test --dsmc
# dim = 1
# addToCompileString = USE_PYTHON_MAIN=TRUE USE_OPENPMD=TRUE QED=FALSE
# cmakeSetupOpts = -DWarpX_DIMS=1 -DWarpX_APP=OFF -DWarpX_PYTHON=ON -DWarpX_OPENPMD=ON -DWarpX_QED=OFF
# target = pip_install
# restartTest = 0
# useMPI = 1
# numprocs = 2
# useOMP = 1
# numthreads = 1
# compileTest = 0
# doVis = 0
# compareParticles = 0
# analysisRoutine = Examples/Physics_applications/capacitive_discharge/analysis_dsmc.py

[Python_ElectrostaticSphereEB]
buildDir = .
Expand Down

0 comments on commit 77dbf6d

Please sign in to comment.