Skip to content

Commit

Permalink
Compile system image to speed up 'debug_checks' CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
johnomotani committed Aug 2, 2024
1 parent 352297f commit e3f81a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/debug_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
sed -i -e "s/_debug_level = get_options.*/_debug_level = 2/" src/debugging.jl
julia --project -e 'using MPIPreferences; MPIPreferences.use_system_binary(); using Pkg; Pkg.precompile()'
julia --project -O3 --check-bounds=yes precompile.jl --debug 2
# Need to use openmpi so that the following arguments work:
# * `--mca rmaps_base_oversubscribe 1` allows oversubscription (more processes
Expand All @@ -44,4 +45,4 @@ jobs:
# terrible performance when oversubscribing.
## Don't use --compiled-modules=no for now, as it currently breaks Symbolics.jl
#mpiexec -np 4 --mca rmaps_base_oversubscribe 1 julia --project --check-bounds=yes --compiled-modules=no debug_test/sound_wave_tests.jl --debug 2
mpiexec -np 4 --mca rmaps_base_oversubscribe 1 julia --project --check-bounds=yes debug_test/runtests.jl --debug 2
mpiexec -np 4 --mca rmaps_base_oversubscribe 1 julia --project -Jmoment_kinetics.so -O3 --check-bounds=yes debug_test/runtests.jl --debug 2

0 comments on commit e3f81a2

Please sign in to comment.