Circuitscape / Circuitscape.jl

Algorithms from circuit theory to predict connectivity in heterogeneous landscapes
https://circuitscape.org
MIT License
128 stars 35 forks source link

Issue relevant warnings when using large grids #233

Open ViralBShah opened 4 years ago

ViralBShah commented 4 years ago

We probably should issue a warning about excessive memory usage when using Cholmod with large grids. Perhaps over 5M cells?

https://github.com/Circuitscape/Circuitscape.jl/issues/232#issuecomment-623122194

A warning that may be clear is something like "Cholmod is a spare direct solver that consumes a lot of memory. A landscaspe with 5M cells will require roughly XGB of RAM. Please use cg+amg`.

ViralBShah commented 4 years ago

Also, when the grids are large enough, we should either automatically use 64-bit indexing, or issue a warning.

https://github.com/Circuitscape/Circuitscape.jl/issues/232#issuecomment-623055782