diff --git a/src/LaMEM_ModelGeneration/Model.jl b/src/LaMEM_ModelGeneration/Model.jl index e41e62a9..a152bb76 100644 --- a/src/LaMEM_ModelGeneration/Model.jl +++ b/src/LaMEM_ModelGeneration/Model.jl @@ -290,6 +290,11 @@ function create_initialsetup(model::Model, cores::Int64=1, args::String=""; verb # write marker files to disk before running LaMEM Model3D = CartData(model.Grid.Grid, (Phases=model.Grid.Phases,Temp=model.Grid.Temp)); + if Sys.iswindows() + cores=1; + println("LaMEM_jll does not support parallel runs on windows; using 1 core instead") + end + if cores>1 PartFile = run_lamem_save_grid(model.Output.param_file_name, cores)