Skip to content

Commit

Permalink
CI: Clean out Pip Caches (#5110)
Browse files Browse the repository at this point in the history
* Debugging CI tests

* Run all Cartesian 3D tests

* Clear cache after python installation commands

* Update Regression/WarpX-tests.ini

* `run_test.sh`: Detailed `df -h` Prints

* Update checksum

* Cleanup

---------

Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
  • Loading branch information
3 people authored Aug 7, 2024
1 parent db2fbcd commit ffb16f3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 27 deletions.
File renamed without changes.
28 changes: 14 additions & 14 deletions Regression/Checksum/benchmarks_json/collisionXYZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@
"Ex": 0.0,
"Ey": 0.0,
"Ez": 0.0,
"T_electron": 381957.7394223898,
"T_ion": 319565.6269784763
"T_electron": 351982.0169218243,
"T_ion": 349599.6939052666
},
"electron": {
"particle_momentum_x": 8.631833485301232e-19,
"particle_momentum_y": 8.476316745254719e-19,
"particle_momentum_z": 8.514139891331418e-19,
"particle_position_x": 21253105.73686561,
"particle_position_y": 21282643.519070115,
"particle_position_z": 21239057.457948968,
"particle_momentum_x": 8.359982321196841e-19,
"particle_momentum_y": 8.192841151167721e-19,
"particle_momentum_z": 8.182985690701241e-19,
"particle_position_x": 21255110.08090505,
"particle_position_y": 21303488.6242626,
"particle_position_z": 21238676.122703437,
"particle_weight": 7.168263344048695e+28
},
"ion": {
"particle_momentum_x": 1.9215585867122464e-18,
"particle_momentum_y": 1.7471481568315848e-18,
"particle_momentum_z": 1.7510887207292533e-18,
"particle_position_x": 21228900.948879313,
"particle_position_y": 21304564.011731848,
"particle_position_z": 21250585.221808463,
"particle_momentum_x": 2.0034830240966893e-18,
"particle_momentum_y": 1.8323959076577197e-18,
"particle_momentum_z": 1.827953230828629e-18,
"particle_position_x": 21246214.748882487,
"particle_position_y": 21280709.710960124,
"particle_position_z": 21206153.002106402,
"particle_weight": 7.168263344048695e+28
}
}
26 changes: 13 additions & 13 deletions Regression/WarpX-tests.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3952,16 +3952,16 @@ useOMP = 1
numthreads = 1
analysisRoutine = Examples/Tests/particle_thermal_boundary/analysis_2d.py

#[openbc_poisson_solver]
#buildDir = .
#inputFile = Examples/Tests/openbc_poisson_solver/inputs_3d
#runtime_params = warpx.abort_on_warning_threshold = high
#dim = 3
#addToCompileString = USE_OPENPMD=TRUE USE_FFT=TRUE
#cmakeSetupOpts = -DWarpX_DIMS=3 -DWarpX_FFT=ON -DWarpX_OPENPMD=ON
#restartTest = 0
#useMPI = 1
#numprocs = 2
#useOMP = 1
#numthreads = 1
#analysisRoutine = Examples/Tests/openbc_poisson_solver/analysis.py
[openbc_poisson_solver]
buildDir = .
inputFile = Examples/Tests/openbc_poisson_solver/inputs_3d
runtime_params = warpx.abort_on_warning_threshold = high
dim = 3
addToCompileString = USE_OPENPMD=TRUE USE_FFT=TRUE
cmakeSetupOpts = -DWarpX_DIMS=3 -DWarpX_FFT=ON -DWarpX_OPENPMD=ON
restartTest = 0
useMPI = 1
numprocs = 2
useOMP = 1
numthreads = 1
analysisRoutine = Examples/Tests/openbc_poisson_solver/analysis.py
1 change: 1 addition & 0 deletions run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build packaging setuptools wheel
python3 -m pip install --upgrade cmake
python3 -m pip install --upgrade -r warpx/Regression/requirements.txt
python3 -m pip cache purge

# Clone AMReX and warpx-data
git clone https://github.com/AMReX-Codes/amrex.git
Expand Down

0 comments on commit ffb16f3

Please sign in to comment.