Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception during GC on Circuitscape #41524

Closed
ShabnamS93 opened this issue Jul 9, 2021 · 16 comments
Closed

Exception during GC on Circuitscape #41524

ShabnamS93 opened this issue Jul 9, 2021 · 16 comments
Labels
bug Indicates an unexpected problem or unintended behavior needs more info Clarification or a reproducible example is required

Comments

@ShabnamS93
Copy link

ShabnamS93 commented Jul 9, 2021

Hi.
Here I'm trying to run the Circuitscape package, but I got the following bug. Can it be caused because of my heavy files? My system runs on an 8-GB Ram, has a Core i7 processor, and the files are heavy (almost 17000 nodes to compute).

using Pkg
using Circuitscape

cd("D:\\articles\\mine\\ShirinModelling\\output\\circuitscape")

compute("FuCon.ini")

After it was through 1/10 of the process, I faced this issue (and Julia is not working anymore):

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.  
Exception: EXCEPTION_ACCESS_VIOLATION at 0x20254d5 -- gc_try_setmark at /cygdrive/c/buildbot/worker/package_win64/build/src\gc.c:1704 [inlined]
gc_mark_loop at /cygdrive/c/buildbot/worker/package_win64/build/src\gc.c:2405
in expression starting at none:0
gc_try_setmark at /cygdrive/c/buildbot/worker/package_win64/build/src\gc.c:1704 [inlined]
gc_mark_loop at /cygdrive/c/buildbot/worker/package_win64/build/src\gc.c:2405
_jl_gc_collect at /cygdrive/c/buildbot/worker/package_win64/build/src\gc.c:3034
jl_gc_collect at /cygdrive/c/buildbot/worker/package_win64/build/src\gc.c:3241
maybe_collect at /cygdrive/c/buildbot/worker/package_win64/build/src\gc.c:880 [inlined]
jl_gc_pool_alloc at /cygdrive/c/buildbot/worker/package_win64/build/src\gc.c:1204
UseRef at .\compiler/ssair\ir.jl:309 [inlined]
UseRefIterator at .\compiler/ssair\ir.jl:314 [inlined]
userefs at .\compiler/ssair\ir.jl:429 [inlined]       
ssamap at .\compiler/ssair\ir.jl:472
renumber_ssa! at .\compiler/ssair\slot2ssa.jl:72 [inlined]      
renumber_ssa! at .\compiler/ssair\slot2ssa.jl:71
construct_ssa! at .\compiler/ssair\slot2ssa.jl:893
slot2reg at .\compiler/ssair\driver.jl:118 [inlined]
run_passes at .\compiler/ssair\driver.jl:125
optimize at .\compiler\optimize.jl:272 [inlined]
_typeinf at .\compiler\typeinfer.jl:244
typeinf at .\compiler\typeinfer.jl:209
abstract_call_method_with_const_args at .\compiler\abstractinterpretation.jl:330
abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:168
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462      
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
abstract_call_method_with_const_args at .\compiler\abstractinterpretation.jl:330
abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:168
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
abstract_call_method_with_const_args at .\compiler\abstractinterpretation.jl:330
abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:168
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462      
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
abstract_call_method_with_const_args at .\compiler\abstractinterpretation.jl:330
abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:168
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462      
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
abstract_call_method_with_const_args at .\compiler\abstractinterpretation.jl:330
abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:168
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
abstract_call_method_with_const_args at .\compiler\abstractinterpretation.jl:330
abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:168
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462      
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1447      
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462      
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462      
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462      
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462      
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056
abstract_call at .\compiler\abstractinterpretation.jl:1040      
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_edge at .\compiler\typeinfer.jl:806
abstract_call_method at .\compiler\abstractinterpretation.jl:490abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:143
abstract_call_known at .\compiler\abstractinterpretation.jl:1033abstract_call at .\compiler\abstractinterpretation.jl:1056      
abstract_call at .\compiler\abstractinterpretation.jl:1040
abstract_eval_statement at .\compiler\abstractinterpretation.jl:1167
typeinf_local at .\compiler\abstractinterpretation.jl:1462
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1520    
_typeinf at .\compiler\typeinfer.jl:214
typeinf at .\compiler\typeinfer.jl:209
typeinf_ext at .\compiler\typeinfer.jl:892
typeinf_ext_toplevel at .\compiler\typeinfer.jl:925
typeinf_ext_toplevel at .\compiler\typeinfer.jl:921
jfptr_typeinf_ext_toplevel_10579.clone_1 at C:\Users\Shab\AppData\Local\Programs\Julia-1.6.1\lib\julia\sys.dll (unknown line)   
_jl_invoke at /cygdrive/c/buildbot/worker/package_win64/build/src\gf.c:2237 [inlined]
jl_apply_generic at /cygdrive/c/buildbot/worker/package_win64/build/src\gf.c:2419 [inlined]
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1703 [inlined]
jl_type_infer at /cygdrive/c/buildbot/worker/package_win64/build/src\gf.c:298
jl_generate_fptr at /cygdrive/c/buildbot/worker/package_win64/build/src\jitlayers.cpp:340
jl_compile_method_internal at /cygdrive/c/buildbot/worker/package_win64/build/src\gf.c:1970
jl_compile_method_internal at /cygdrive/c/buildbot/worker/package_win64/build/src\gf.c:1924 [inlined]
_jl_invoke at /cygdrive/c/buildbot/worker/package_win64/build/src\gf.c:2229 [inlined]
jl_apply_generic at /cygdrive/c/buildbot/worker/package_win64/build/src\gf.c:2419
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1703 [inlined]
start_task at /cygdrive/c/buildbot/worker/package_win64/build/src\task.c:839
Allocations: 4867930 (Pool: 4865840; Big: 2090); GC: 5
@vchuravy vchuravy changed the title A Bug Report Exception during GC on Circuitscape Jul 9, 2021
@vchuravy vchuravy added bug Indicates an unexpected problem or unintended behavior GC Garbage collector labels Jul 9, 2021
@vchuravy
Copy link
Member

vchuravy commented Jul 9, 2021

Hello @ShabnamS93 to make it easier to reproduce the bug, could you post FuCon.ini and your Pkg.status()?

@ranjanan @ViralBShah is Circuitscape doing anything fishy with memory?

@vchuravy vchuravy added the needs more info Clarification or a reproducible example is required label Jul 9, 2021
@ViralBShah
Copy link
Member

ViralBShah commented Jul 9, 2021

It is all straightforward Julia - but it may be using Mmapped memory for parallel runs.

@ViralBShah
Copy link
Member

@ShabnamS93 Can you send us the ini file and the input files to reproduce?

@ShabnamS93
Copy link
Author

ShabnamS93 commented Jul 9, 2021 via email

@ranjanan
Copy link
Contributor

ranjanan commented Jul 9, 2021

@ShabnamS93 you'll have to log in to github and put the files in the issue thread. If you attach them to the email, we cannot see them. Alternatively, you can put them up in a google drive link and reply via email.

@ShabnamS93
Copy link
Author

I have attached them to the email. But, now, here they are:

CircuitscapeData.zip

@ranjanan
Copy link
Contributor

ranjanan commented Jul 9, 2021

Thanks, checking it out.

@ranjanan
Copy link
Contributor

ranjanan commented Jul 9, 2021

Seems to work on my laptop. But I'll run this on a server for longer (seems like you saw this at 1700 pairs).

@ViralBShah
Copy link
Member

ViralBShah commented Jul 9, 2021

I wonder if one needs to replicate this on windows. This doesn't appear to parallelize - I note parallelize=false in the ini file, and the problem size doesn't appear to be too large that it would run the system out of memory.

@ranjanan
Copy link
Contributor

ranjanan commented Jul 9, 2021

This does not parallelize because a new graph is being generated for every pair. In this case however, it's probably worth parallelizing given each generated graph isn't too large. I'll run this for a while on a Windows machine too.

@ShabnamS93
Copy link
Author

Oh, I didn't think of that as an issue. Thanks a lot. I'll try it and let you know.

@ranjanan
Copy link
Contributor

I just ran this job over the weekend and it completed without issues on a Windows machine (Julia 1.6.0) and Ubuntu Linux (Julia 1.61).

Also, @ShabnamS93 just to clarify, parallelization isn't implemented for the mode you're running Circuitscape in. I was just making a comment about whether it's worth implementing (it is).

@ShabnamS93
Copy link
Author

ShabnamS93 commented Jul 18, 2021 via email

@vtjnash vtjnash removed the GC Garbage collector label Sep 29, 2021
@vtjnash
Copy link
Member

vtjnash commented Sep 29, 2021

I tried to test and got:

julia> compute("FuCon.ini")                                                                  
[ Info: 2021-09-29 19:34:47 : Logs will recorded to file: log_file     
[ Info: 2021-09-29 19:34:48 : Precision used: Double
[ Info: 2021-09-29 19:34:56 : Reading maps                                                   
[ Info: 2021-09-29 19:34:59 : Resistance/Conductance map has 613794 nodes
[ Info: 2021-09-29 19:35:03 : Total number of pair solves = 17205
[ Info: 2021-09-29 19:35:03 : Solving pair 1 of 17205                                                                                                                                     
[ Info: 2021-09-29 19:35:07 : Solver used: AMG accelerated by CG                                                                                                                          
[ Info: 2021-09-29 19:35:12 : Graph has 613616 nodes, 2 focal points and 992 connected components                                                                                         
[ Info: 2021-09-29 19:35:18 : Time taken to construct preconditioner = 3.988421164 seconds                                                                                                
[ Info: 2021-09-29 19:35:18 : Time taken to construct local nodemap = 0.234233598 seconds                                                                                                 
ERROR: AssertionError: norm(G * v .- curr, Inf) / norm(v, Inf) < 1.0e-5
Stacktrace:              
  [1] solve_linear_system(G::SparseArrays.SparseMatrixCSC{Float64, Int64}, curr::Vector{Float64}, M::AlgebraicMultigrid.Preconditioner{AlgebraicMultigrid.MultiLevel{AlgebraicMultigrid.Pi
nv{Float64}, AlgebraicMultigrid.GaussSeidel{AlgebraicMultigrid.SymmetricSweep}, AlgebraicMultigrid.GaussSeidel{AlgebraicMultigrid.SymmetricSweep}, SparseArrays.SparseMatrixCSC{Float64, I
nt64}, SparseArrays.SparseMatrixCSC{Float64, Int64}, LinearAlgebra.Adjoint{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}, AlgebraicMultigrid.MultiLevelWorkspace{Vector{Float64},
 1}}})                                 
    @ Circuitscape ~/.julia/packages/Circuitscape/zBmDn/src/core.jl:616                                                                                                                   
  [2] macro expansion
    @ ./timing.jl:299 [inlined]                                                              
  [3] (::Circuitscape.var"#f#96"{Float64, Int64, Circuitscape.RasterFlags, Dict{String, String}, Bool, Circuitscape.Shortcut{Float64}, Circuitscape.Cumulative{Float64}, Vector{Int64}, Ve
ctor{Tuple{Int64, Int64}}, Vector{Int64}, Vector{Int64}, Circuitscape.ComponentData{Float64, Int64}, AlgebraicMultigrid.Preconditioner{AlgebraicMultigrid.MultiLevel{AlgebraicMultigrid.Pi
nv{Float64}, AlgebraicMultigrid.GaussSeidel{AlgebraicMultigrid.SymmetricSweep}, AlgebraicMultigrid.GaussSeidel{AlgebraicMultigrid.SymmetricSweep}, SparseArrays.SparseMatrixCSC{Float64, I
nt64}, SparseArrays.SparseMatrixCSC{Float64, Int64}, LinearAlgebra.Adjoint{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}, AlgebraicMultigrid.MultiLevelWorkspace{Vector{Float64},
 1}}}, SparseArrays.SparseMatrixCSC{Float64, Int64}, Vector{Int64}})(i::Int64)
    @ Circuitscape ~/.julia/packages/Circuitscape/zBmDn/src/core.jl:215          
  [4] #94                                                                                    
    @ ~/.julia/packages/Circuitscape/zBmDn/src/core.jl:251 [inlined] 
...

@SVMendoza
Copy link

Hi.
it's the same error message.
I thought it was a memory allocation problem.

ERROR: LoadError: On worker 31:
AssertionError: norm(G * v .- curr, Inf) / norm(v, Inf) < 1.0e-5
Stacktrace:
[1] solve_linear_system
@ ~/.julia/packages/Circuitscape/GMT6U/src/core.jl:616
[2] macro expansion
@ ./timing.jl:287 [inlined]
[3] multiple_solve
@ ~/.julia/packages/Circuitscape/GMT6U/src/raster/advanced.jl:312
[4] multiple_solver
@ ~/.julia/packages/Circuitscape/GMT6U/src/raster/advanced.jl:292
[5] advanced_kernel
@ ~/.julia/packages/Circuitscape/GMT6U/src/raster/advanced.jl:205
[6] f
@ ~/.julia/packages/Circuitscape/GMT6U/src/raster/onetoall.jl:0
[7] #201
@ ~/.julia/packages/Circuitscape/GMT6U/src/raster/onetoall.jl:158
[8] #106
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
[9] run_work_thunk
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
[10] macro expansion
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
[11] #105
@ ./task.jl:411

@ViralBShah
Copy link
Member

This seems unrelated here - can you file a new issue and mention the OS, input files and settings to reproduce?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior needs more info Clarification or a reproducible example is required
Projects
None yet
Development

No branches or pull requests

6 participants