diff --git a/Project.toml b/Project.toml index 3fa0059..7e8950a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GCMAES" uuid = "4aa9d100-eb0f-11e8-15f1-25748831eb3b" authors = ["Yao Lu "] -version = "0.1.24" +version = "0.1.25" [deps] BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0" diff --git a/src/util.jl b/src/util.jl index 3561ff0..03c743c 100644 --- a/src/util.jl +++ b/src/util.jl @@ -180,6 +180,7 @@ function limit_mem_per_cpu(mem) end function make_virtual_jobarray(n) + !inmpi() && return nothing if !haskey(ENV, "SLURM_ARRAY_TASK_ID") ENV["SLURM_ARRAY_TASK_ID"] = 0 ENV["SLURM_ARRAY_TASK_COUNT"] = 1