diff --git a/README.md b/README.md index cb1a37d..b75e894 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![test](https://github.com/key4hep/key4hep-julia-fwk/actions/workflows/test.yml/badge.svg)](https://github.com/key4hep/key4hep-julia-fwk/actions/workflows/test.yml) [![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl) -Demonstrator project for HEP data-processing framework in Julia +Demonstrator project for HEP data-processing framework in Julia and based on [Dagger.jl](https://github.com/JuliaParallel/Dagger.jl) ## Getting started diff --git a/bin/schedule.jl b/bin/schedule.jl index e314cd0..96401d1 100644 --- a/bin/schedule.jl +++ b/bin/schedule.jl @@ -22,7 +22,7 @@ function parse_args() "--max-concurrent" help = "Number of slots for graphs to be scheduled concurrently" arg_type = Int - default = 3 + default = 1 "--dot-trace" help = "Output graphviz dot file for execution logs graph" @@ -65,6 +65,8 @@ end if abspath(PROGRAM_FILE) == @__FILE__ main() - rmprocs!(Dagger.Sch.eager_context(), workers()) - rmprocs(workers()) + if length(workers()) > 1 + rmprocs!(Dagger.Sch.eager_context(), workers()) + rmprocs(workers()) + end end