Skip to content

Improve how computations are made over MTGs #179

Improve how computations are made over MTGs

Improve how computations are made over MTGs #179

Triggered via pull request November 13, 2023 13:30
@VEZYVEZY
synchronize #51
mtg
Status Failure
Total duration 23m 41s
Artifacts

CI.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 5 warnings
Documentation: ../../../.julia/packages/Documenter/nQAq5/src/utilities/utilities.jl#L44
failed to run `@setup` block in src/reducing_dof.md ```@setup usepkg using PlantSimEngine, PlantMeteo # Import the examples defined in the `Examples` sub-module: using PlantSimEngine.Examples meteo = Atmosphere(T = 20.0, Wind = 1.0, P = 101.3, Rh = 0.65) struct ForceProcess1Model <: AbstractProcess1Model end PlantSimEngine.inputs_(::ForceProcess1Model) = (var3=-Inf,) PlantSimEngine.outputs_(::ForceProcess1Model) = (var3=-Inf,) function PlantSimEngine.run!(::ForceProcess1Model, models, status, meteo, constants=nothing, extra=nothing) return nothing end ``` exception = LoadError: UndefVarError: `AbstractProcess1Model` not defined Stacktrace: [1] top-level scope @ string:6 [2] eval @ ./boot.jl:370 [inlined] [3] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:1903 [4] include_string (repeats 2 times) @ ./loading.jl:1913 [inlined] [5] #61 @ ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:891 [inlined] [6] cd(f::Documenter.var"#61#62"{Module, MarkdownAST.CodeBlock}, dir::String) @ Base.Filesystem ./file.jl:112 [7] runner(#unused#::Type{Documenter.Expanders.SetupBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:890 in expression starting at string:6
Documentation: ../../../.julia/packages/Documenter/nQAq5/src/utilities/utilities.jl#L44
failed to run `@example` block in src/reducing_dof.md:8-15 ```@example usepkg struct ForceProcess1Model <: AbstractProcess1Model end PlantSimEngine.inputs_(::ForceProcess1Model) = (var3=-Inf,) PlantSimEngine.outputs_(::ForceProcess1Model) = (var3=-Inf,) function PlantSimEngine.run!(::ForceProcess1Model, models, status, meteo, constants=nothing, extra=nothing) return nothing end ``` exception = UndefVarError: `AbstractProcess1Model` not defined Stacktrace: [1] top-level scope @ reducing_dof.md:9 [2] eval @ ./boot.jl:370 [inlined] [3] #54 @ ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:738 [inlined] [4] cd(f::Documenter.var"#54#56"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#53#55"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:737 [6] (::IOCapture.var"#3#5"{DataType, Documenter.var"#53#55"{Documenter.Page, Module, Expr}, Task, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:119 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [8] with_logger @ ./logging.jl:626 [inlined] [9] capture(f::Documenter.var"#53#55"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool) @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:116 [10] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:736
Documentation: ../../../.julia/packages/Documenter/nQAq5/src/utilities/utilities.jl#L44
failed to run `@example` block in src/reducing_dof.md:107-122 ```@example usepkg m3 = ModelList( ForceProcess1Model(), Process2Model(), Process3Model(), Process4Model(), Process5Model(), Process6Model(), Process7Model(), status = (var0=0.5,var3 = 10.0) ) run!(m3, meteo) status(m3) ``` exception = UndefVarError: `ForceProcess1Model` not defined Stacktrace: [1] top-level scope @ reducing_dof.md:108 [2] eval @ ./boot.jl:370 [inlined] [3] #54 @ ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:738 [inlined] [4] cd(f::Documenter.var"#54#56"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#53#55"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:737 [6] (::IOCapture.var"#3#5"{DataType, Documenter.var"#53#55"{Documenter.Page, Module, Expr}, Task, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:119 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [8] with_logger @ ./logging.jl:626 [inlined] [9] capture(f::Documenter.var"#53#55"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool) @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:116 [10] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:736
Documentation
Process completed with exit code 1.
Julia 1 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Julia 1.7 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Documentation: src/run.jl#L242
A parallel executor was provided (`executor=ThreadedEx()`) but some models cannot be run in parallel: PlantSimEngine.Examples.ToyRUEGrowthModel{Float64}(0.2). The simulation will be run sequentially. Use `executor=SequentialEx()` to remove this warning. maxlog = 1
Documentation: src/run.jl#L242
A parallel executor was provided (`executor=ThreadedEx()`) but some models cannot be run in parallel: PlantSimEngine.Examples.ToyAssimGrowthModel{Float64}(0.2, 0.5, 1.2). The simulation will be run sequentially. Use `executor=SequentialEx()` to remove this warning. maxlog = 1
Documentation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/