You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone!
I came across this code and it seems very useful to what I'm doing right now so I would very much like to try. I'm working on a Windows machine with Julia 1.10 installed via Windows Store, and I installed the package using the instructions on your readme. Until there, everything is fine. The issue starts when I try to test the package via
using JustRelax
julia> ]
pkg> test JustRelax
it goes well at the beginning
Testing Running tests...
Testing package JustRelax.jl
Test Summary:| Pass Total Time
Traits |25251.6s
Test Summary:| Pass Total Time
2D allocators |44440.0s
Test Summary:| Pass Total Time
2D Displacement |221.7s
Test Summary:| Pass Total Time
3D allocators |53530.0s
Test Summary:| Pass Total Time
3D Displacement |221.9s
Test Summary:| Pass Total Time
Type conversions |880.1s
Test Summary:| Pass Total Time
Type copy |880.2s
and then the problem arises:
Running tests from C:\Users\Usuario\.julia\packages\JustRelax\1nWan\test\test_Blankenbach.jl
Blankenbach 2D: Error During Test at C:\Users\Usuario\.julia\packages\JustRelax\1nWan\test\test_Blankenbach.jl:301
Got exception outside of a @test
UndefVarError:`phase_ratios_center!` not defined
Stacktrace:
[1] main2D(igg::IGG{Int64, MPI.Comm}; ar::Int64, nx::Int64, ny::Int64, nit::Int64)
@ Main C:\Users\Usuario\.julia\packages\JustRelax\1nWan\test\test_Blankenbach.jl:116
[2] macro expansion
@ C:\Users\Usuario\.julia\packages\JustRelax\1nWan\test\test_Blankenbach.jl:312 [inlined]
[3] macro expansion
@ C:\Users\Usuario\.julia\packages\Suppressor\cKnGx\src\Suppressor.jl:22 [inlined]
[4] macro expansion
@ C:\Users\Usuario\.julia\packages\JustRelax\1nWan\test\test_Blankenbach.jl:302 [inlined]
[5] macro expansion
@ C:\Users\Usuario\.julia\juliaup\julia-1.10.5+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Test\src\Test.jl:1577 [inlined]
[6] top-level scope
@ C:\Users\Usuario\.julia\packages\JustRelax\1nWan\test\test_Blankenbach.jl:302
[7] include(mod::Module, _path::String)
@ Base .\Base.jl:495
[8] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:318
[9] _start()
@ Base .\client.jl:552
Test Summary:| Error Total Time
Blankenbach 2D |1115.8s
ERROR: LoadError: Some tests did not pass:0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at C:\Users\Usuario\.julia\packages\JustRelax\1nWan\test\test_Blankenbach.jl:301
This message appears in every "major script" that needs to use the phase_ratio_center! function. Any help?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi
Thanks for reaching out. I assume that you did:
julia> ] add JustRelax
(@1.10) pkg> test JustRelax
We are currently in the process of updating the miniapps and the tests according to the latest changes in one dependency package (JustPIC.jl). The phase_ratios have been moved there and the code has been removed from JustRelax. A patch release will soon follow (in the coming days to weeks).
What if you clone the main branch with:
julia> ] add JustRelax#main
(@1.10) pkg> test JustRelax
Hi everyone!
I came across this code and it seems very useful to what I'm doing right now so I would very much like to try. I'm working on a Windows machine with Julia 1.10 installed via Windows Store, and I installed the package using the instructions on your readme. Until there, everything is fine. The issue starts when I try to test the package via
it goes well at the beginning
and then the problem arises:
This message appears in every "major script" that needs to use the
phase_ratio_center!
function. Any help?Thanks in advance
The text was updated successfully, but these errors were encountered: