Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: reduce runtime by disabling some example combinations #5042

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions share/picongpu/benchmarks/Thermal/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,15 @@
# - increase by 1, no gaps

flags[0]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EmZ;-DPARAM_PARTICLESHAPE=CIC;-DPARAM_PPC=25u'"
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EmZ;-DPARAM_PARTICLESHAPE=TSC;-DPARAM_PPC=25u'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EmZ;-DPARAM_PARTICLESHAPE=PQS;-DPARAM_PPC=25u'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_PARTICLESHAPE=CIC;-DPARAM_PPC=25u'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_PARTICLESHAPE=TSC;-DPARAM_PPC=25u'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_PARTICLESHAPE=PQS;-DPARAM_PPC=25u'"

# limit examles if we run CI tests
if [ -z "$CI_PROJECT_DIR" ] ; then
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EmZ;-DPARAM_PARTICLESHAPE=TSC;-DPARAM_PPC=25u'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EmZ;-DPARAM_PARTICLESHAPE=PQS;-DPARAM_PPC=25u'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_PARTICLESHAPE=CIC;-DPARAM_PPC=25u'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_PARTICLESHAPE=TSC;-DPARAM_PPC=25u'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_PARTICLESHAPE=PQS;-DPARAM_PPC=25u'"
fi

################################################################################
# execution
Expand Down
19 changes: 11 additions & 8 deletions share/picongpu/examples/Bunch/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,18 @@
flags[0]=""
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_INCLUDE_FIELDBACKGROUND=true;-DPARAM_TWTSFAST=1'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_INCLUDE_FIELDBACKGROUND=true;-DPARAM_TWTSFAST=1;-DPARAM_DIMENSION=DIM2'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_INCLUDE_FIELDBACKGROUND=true'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_INCLUDE_FIELDBACKGROUND=true;-DPARAM_DIMENSION=DIM2'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_SINGLE_PARTICLE=true;-DPARAM_RADFORMFACTOR=radFormFactor_coherent'"
flags[6]="-DPARAM_OVERWRITES:LIST='-DPARAM_FILTER_GAMMA=1;-DPARAM_RADFORMFACTOR=radFormFactor_incoherent'"
flags[7]="-DPARAM_OVERWRITES:LIST='-DPARAM_RADWINDOW=radWindowFunctionTriangle;-DPARAM_RADFORMFACTOR=radFormFactor_CIC_3D'"
flags[8]="-DPARAM_OVERWRITES:LIST='-DPARAM_RADWINDOW=radWindowFunctionHamming;-DPARAM_RADFORMFACTOR=radFormFactor_TSC_3D'"
flags[9]="-DPARAM_OVERWRITES:LIST='-DPARAM_RADWINDOW=radWindowFunctionTriplett;-DPARAM_RADFORMFACTOR=radFormFactor_PCS_3D'"
flags[10]="-DPARAM_OVERWRITES:LIST='-DPARAM_RADWINDOW=radWindowFunctionGauss;-DPARAM_RADFORMFACTOR=radFormFactor_CIC_1Dy'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_SINGLE_PARTICLE=true;-DPARAM_RADFORMFACTOR=radFormFactor_coherent'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_FILTER_GAMMA=1;-DPARAM_RADFORMFACTOR=radFormFactor_incoherent'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_RADWINDOW=radWindowFunctionTriangle;-DPARAM_RADFORMFACTOR=radFormFactor_CIC_3D'"
flags[6]="-DPARAM_OVERWRITES:LIST='-DPARAM_RADWINDOW=radWindowFunctionHamming;-DPARAM_RADFORMFACTOR=radFormFactor_TSC_3D'"
flags[7]="-DPARAM_OVERWRITES:LIST='-DPARAM_RADWINDOW=radWindowFunctionTriplett;-DPARAM_RADFORMFACTOR=radFormFactor_PCS_3D'"
flags[8]="-DPARAM_OVERWRITES:LIST='-DPARAM_RADWINDOW=radWindowFunctionGauss;-DPARAM_RADFORMFACTOR=radFormFactor_CIC_1Dy'"
Comment on lines 32 to +40
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for my information: Why do we keep so many of these?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They test/compile different window implementations and we like to avoid that one of it breaks. This is an easy target for unit tests.


# limit examles if we run CI tests
if [ -z "$CI_PROJECT_DIR" ] ; then
flags[9]="-DPARAM_OVERWRITES:LIST='-DPARAM_INCLUDE_FIELDBACKGROUND=true'"
flags[10]="-DPARAM_OVERWRITES:LIST='-DPARAM_INCLUDE_FIELDBACKGROUND=true;-DPARAM_DIMENSION=DIM2'"
fi

################################################################################
# execution
Expand Down
31 changes: 17 additions & 14 deletions share/picongpu/examples/SingleParticleTest/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,26 @@
# Boris Pusher
flags[0]=""
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_DIMENSION=DIM2'"
# Vay Pusher
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Vay'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Vay;-DPARAM_DIMENSION=DIM2'"
# disable the pusher
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_ENABLEPUSHER=0'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_ENABLEPUSHER=0;-DPARAM_DIMENSION=DIM2'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_ENABLEPUSHER=0'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_ENABLEPUSHER=0;-DPARAM_DIMENSION=DIM2'"
# Free Pusher
flags[6]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Free'"
flags[7]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Free;-DPARAM_DIMENSION=DIM2'"
# Photon Pusher
flags[8]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Photon'"
flags[9]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Photon;-DPARAM_DIMENSION=DIM2'"
# does not support 2D
# Reduced Landau Lifshitz Pusher
flags[10]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=ReducedLandauLifshitz'"
flags[11]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=ReducedLandauLifshitz;-DPARAM_DIMENSION=DIM2'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Free'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Free;-DPARAM_DIMENSION=DIM2'"

# limit examles if we run CI tests
if [ -z "$CI_PROJECT_DIR" ] ; then
# Vay Pusher
flags[6]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Vay'"
flags[7]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Vay;-DPARAM_DIMENSION=DIM2'"
# Photon Pusher
flags[8]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Photon'"
flags[9]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=Photon;-DPARAM_DIMENSION=DIM2'"
# does not support 2D
# Reduced Landau Lifshitz Pusher
flags[10]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=ReducedLandauLifshitz'"
flags[11]="-DPARAM_OVERWRITES:LIST='-DPARAM_PARTICLEPUSHER=ReducedLandauLifshitz;-DPARAM_DIMENSION=DIM2'"
fi

################################################################################
# execution
Expand Down
14 changes: 9 additions & 5 deletions share/picongpu/tests/CollisionsBeamRelaxation/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,15 @@
# - increase by 1, no gaps

flags[0]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=10.0;-DPARAM_DELTA_T=0.2;-DPARAM_CHARGE_IONS=IonCharge1;-DPARAM_DRIFT_ELECTRONS=AssignFastDrift'"
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=10.0;-DPARAM_DELTA_T=0.001;-DPARAM_CHARGE_IONS=IonCharge1;-DPARAM_DRIFT_ELECTRONS=AssignSlowDrift'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=3.333333;-DPARAM_DELTA_T=0.0002;-DPARAM_CHARGE_IONS=IonCharge3;-DPARAM_DRIFT_ELECTRONS=AssignSlowDrift'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=10.0;-DPARAM_DELTA_T=0.2;-DPARAM_CHARGE_IONS=IonCharge1;-DPARAM_DRIFT_ELECTRONS=AssignFastDrift;-DPARAM_DYNAMIC_LOG=1'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=10.0;-DPARAM_DELTA_T=0.001;-DPARAM_CHARGE_IONS=IonCharge1;-DPARAM_DRIFT_ELECTRONS=AssignSlowDrift;-DPARAM_DYNAMIC_LOG=1'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=3.333333;-DPARAM_DELTA_T=0.0002;-DPARAM_CHARGE_IONS=IonCharge3;-DPARAM_DRIFT_ELECTRONS=AssignSlowDrift;-DPARAM_DYNAMIC_LOG=1'"
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=10.0;-DPARAM_DELTA_T=0.001;-DPARAM_CHARGE_IONS=IonCharge1;-DPARAM_DRIFT_ELECTRONS=AssignSlowDrift;-DPARAM_DYNAMIC_LOG=1'"

# limit examles if we run CI tests
if [ -z "$CI_PROJECT_DIR" ] ; then
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=10.0;-DPARAM_DELTA_T=0.001;-DPARAM_CHARGE_IONS=IonCharge1;-DPARAM_DRIFT_ELECTRONS=AssignSlowDrift'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=3.333333;-DPARAM_DELTA_T=0.0002;-DPARAM_CHARGE_IONS=IonCharge3;-DPARAM_DRIFT_ELECTRONS=AssignSlowDrift'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=10.0;-DPARAM_DELTA_T=0.2;-DPARAM_CHARGE_IONS=IonCharge1;-DPARAM_DRIFT_ELECTRONS=AssignFastDrift;-DPARAM_DYNAMIC_LOG=1'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_DENSITY_RATIO_IONS=3.333333;-DPARAM_DELTA_T=0.0002;-DPARAM_CHARGE_IONS=IonCharge3;-DPARAM_DRIFT_ELECTRONS=AssignSlowDrift;-DPARAM_DYNAMIC_LOG=1'"
fi
################################################################################
# execution

Expand Down
30 changes: 17 additions & 13 deletions share/picongpu/tests/CollisionsThermalisation/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,26 @@
# - start with zero index
# - increase by 1, no gaps

# constant log
flags[0]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc'"
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner1000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc'"
# dynamic log (both)
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=1'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner1000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=1'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=1'"
# dynamic log (only inter)
flags[6]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=0'"
flags[7]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner1000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=0'"
flags[8]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=0'"
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=1'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=0'"
# test support for 32bit precision
flags[9]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc;-DPARAM_COLLISION_PRECISION=float_32;-DPARAM_PRECISION=precision32Bit'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc;-DPARAM_COLLISION_PRECISION=float_32;-DPARAM_PRECISION=precision32Bit'"
# test support for mixed precision
flags[10]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc;-DPARAM_PRECISION=precision32Bit'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc;-DPARAM_PRECISION=precision32Bit'"
Comment on lines 35 to +38
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At first I thought the comments are mixed up but I'm not so sure. Maybe for clarity one could make the PARAM_COLLISION_PRECISION explicit in both cases.

Copy link
Member Author

@psychocoderHPC psychocoderHPC Aug 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point but I do not like to re-run the CI because of that again.
We have this in other examples too. We have no rule or best practice for it. In general how we do al lof it is not good an should be changes with #5043


# limit examles if we run CI tests
if [ -z "$CI_PROJECT_DIR" ] ; then
# constant log
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner1000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc'"
flags[6]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc'"
# dynamic log (both)
flags[7]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner1000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=1'"
flags[8]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=1'"
# dynamic log (only inter)
flags[9]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner1000ppc;-DPARAM_START_ELECTRONS=Corner5000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=0'"
flags[10]="-DPARAM_OVERWRITES:LIST='-DPARAM_START_IONS=Corner5000ppc;-DPARAM_START_ELECTRONS=Corner1000ppc;-DPARAM_DYNAMIC_LOG_INTER=1;-DPARAM_DYNAMIC_LOG_INTRA=0'"
fi

################################################################################
# execution
Expand Down
14 changes: 9 additions & 5 deletions share/picongpu/tests/CurrentDeposition/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,16 @@
# test all pushers in 3D and 2D
# Boris Pusher
flags[0]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EZ;-DPARAM_VX=1;-DPARAM_VY=0;-DPARAM_VZ=0'"
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EZ;-DPARAM_VX=1;-DPARAM_VY=1;-DPARAM_VZ=0'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EZ;-DPARAM_VX=1;-DPARAM_VY=1;-DPARAM_VZ=1'"
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_VX=1;-DPARAM_VY=0;-DPARAM_VZ=0'"

flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_VX=1;-DPARAM_VY=0;-DPARAM_VZ=0'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_VX=1;-DPARAM_VY=1;-DPARAM_VZ=0'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_VX=1;-DPARAM_VY=1;-DPARAM_VZ=1'"
# limit examles if we run CI tests
if [ -z "$CI_PROJECT_DIR" ] ; then
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EZ;-DPARAM_VX=1;-DPARAM_VY=1;-DPARAM_VZ=0'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EZ;-DPARAM_VX=1;-DPARAM_VY=1;-DPARAM_VZ=1'"

flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_VX=1;-DPARAM_VY=1;-DPARAM_VZ=0'"
flags[5]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov;-DPARAM_VX=1;-DPARAM_VY=1;-DPARAM_VZ=1'"
fi



Expand Down
22 changes: 13 additions & 9 deletions share/picongpu/tests/FieldAbsorber/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,19 @@

# Compile test for standard Yee solver in 3D and setup for runtime field absorber test
flags[0]="-DPARAM_OVERWRITES:LIST='-DPARAM_FIELDSOLVER=Yee;-DPARAM_PML_SIZE=10;-DPARAM_PML_KAPPA_MAX=1.0;-DPARAM_PML_ALPHA_MAX=0.2'"
# Setup for reference simulation of runtime field absorber test
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_FIELDSOLVER=Yee;-DPARAM_PML_SIZE=10;-DPARAM_PML_KAPPA_MAX=1.0;-DPARAM_PML_ALPHA_MAX=0.2;-DPARAM_GRID_SIZE=660'"

# Compile test for standard Yee solver compiles in 2D
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_FIELDSOLVER=Yee;-DPARAM_PML_SIZE=10;-DPARAM_PML_KAPPA_MAX=1.0;-DPARAM_PML_ALPHA_MAX=0.2;-DPARAM_DIMENSION=DIM2'"
# Compile test for arbitrary-order solver in 3D and 2D
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_FIELDSOLVER=ArbitraryOrderFDTD<4>;-DPARAM_CFLFACTOR=1.29;-DPARAM_ABSORBER_SIZE=10;-DPARAM_PML_KAPPA_MAX=1.0;-DPARAM_PML_ALPHA_MAX=0.2'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_FIELDSOLVER=ArbitraryOrderFDTD<4>;-DPARAM_CFLFACTOR=1.29;-DPARAM_ABSORBER_SIZE=10;-DPARAM_PML_KAPPA_MAX=1.0;-DPARAM_PML_ALPHA_MAX=0.2;-DPARAM_DIMENSION=DIM2'"

# Compile test for arbitrary-order solver in 2D
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_FIELDSOLVER=ArbitraryOrderFDTD<4>;-DPARAM_CFLFACTOR=1.29;-DPARAM_ABSORBER_SIZE=10;-DPARAM_PML_KAPPA_MAX=1.0;-DPARAM_PML_ALPHA_MAX=0.2;-DPARAM_DIMENSION=DIM2'"

# limit examles if we run CI tests
if [ -z "$CI_PROJECT_DIR" ] ; then
# Setup for reference simulation of runtime field absorber test
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_FIELDSOLVER=Yee;-DPARAM_PML_SIZE=10;-DPARAM_PML_KAPPA_MAX=1.0;-DPARAM_PML_ALPHA_MAX=0.2;-DPARAM_GRID_SIZE=660'"

# Compile test for standard Yee solver compiles in 2D
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_FIELDSOLVER=Yee;-DPARAM_PML_SIZE=10;-DPARAM_PML_KAPPA_MAX=1.0;-DPARAM_PML_ALPHA_MAX=0.2;-DPARAM_DIMENSION=DIM2'"
# Compile test for arbitrary-order solver in 3D
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_FIELDSOLVER=ArbitraryOrderFDTD<4>;-DPARAM_CFLFACTOR=1.29;-DPARAM_ABSORBER_SIZE=10;-DPARAM_PML_KAPPA_MAX=1.0;-DPARAM_PML_ALPHA_MAX=0.2'"
fi
# The following tests are for absorber performance and demonstration of
# reasonable parameters, commented out to make compile-time tests faster

Expand Down
8 changes: 6 additions & 2 deletions share/picongpu/tests/KHI_growthRate/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@

# default case is "-DPARAM_OVERWRITES:LIST='-DPARAM_PRECISION=precision32Bit;-DPARAM_PARTICLESHAPE=TSC'"
flags[0]=""
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_PRECISION=precision64Bit;-DPARAM_PARTICLESHAPE=TSC'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_PRECISION=precision32Bit;-DPARAM_PARTICLESHAPE=PQS'"

# limit examles if we run CI tests
if [ -z "$CI_PROJECT_DIR" ] ; then
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_PRECISION=precision64Bit;-DPARAM_PARTICLESHAPE=TSC'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_PRECISION=precision32Bit;-DPARAM_PARTICLESHAPE=PQS'"
fi
# Depending on the GPU vendor and version compile can fail because of limited amound of shared memory.
# Please enable the test by hand!
# flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_PRECISION=precision64Bit;-DPARAM_PARTICLESHAPE=PQS'"
Expand Down
11 changes: 7 additions & 4 deletions share/picongpu/tests/PusherScaling/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@
# 0.825e-12 = Period of a gyro-motion in s for an electron with beta=0.5 in B=50T
# units: seconds
flags[0]="-DPARAM_OVERWRITES:LIST='-DPARAM_DT_SI=0.825e-12/160'"
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_DT_SI=0.825e-12/80'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_DT_SI=0.825e-12/40'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_DT_SI=0.825e-12/20'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_DT_SI=0.825e-12/10'"

# limit examles if we run CI tests
if [ -z "$CI_PROJECT_DIR" ] ; then
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_DT_SI=0.825e-12/80'"
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_DT_SI=0.825e-12/40'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_DT_SI=0.825e-12/20'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_DT_SI=0.825e-12/10'"
fi

################################################################################
# execution
Expand Down
3 changes: 1 addition & 2 deletions share/picongpu/tests/compileCurrentSolver/cmakeFlags
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ flags[0]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EmZ<UsedParticleShape>;
flags[1]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=EZ<UsedParticleShape>;-DPARAM_PARTICLESHAPE=PCS;-DPARAM_DIMENSION=DIM2'"
# Esirkepov and TSC is tested in most examples
flags[2]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov<UsedParticleShape>;-DPARAM_PARTICLESHAPE=CIC'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov<UsedParticleShape>;-DPARAM_PARTICLESHAPE=TSC'"
flags[4]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov<UsedParticleShape>;-DPARAM_PARTICLESHAPE=PQS;-DPARAM_DIMENSION=DIM2'"
flags[3]="-DPARAM_OVERWRITES:LIST='-DPARAM_CURRENTSOLVER=Esirkepov<UsedParticleShape>;-DPARAM_PARTICLESHAPE=PQS;-DPARAM_DIMENSION=DIM2'"


################################################################################
Expand Down