-
Notifications
You must be signed in to change notification settings - Fork 13
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
nested task error: AssertionError: norm(G * v - curr) < if eltype(curr) == Float64 #99
Comments
@peggyn7, this is caused by an issue with Circuitscape. One thing you might try is changing the solver to CHOLMOD, as it is less likely to cause an @ranjanan I'm not sure what the best way forward is. Maybe a new argument to the Circuitscape INI that specifies a higher tolerance (obviously to be used with great caution)? I'm also not sure if we should be creating an issue in the packages with the solvers themselves. Shouldn't a direct solver always produce a solution where the norm is 0? Finally, cc @blindjesse, this error is related to the one you got, and subsequently solved by using CHOLMOD because there is a higher error tolerance. Wanted to tag you in case you want to stay in the loop. |
In my (particular) case I had to switch to CHOLMOD and single precision. Haven't had a chance to look any deeper to see if it's related in any way to the source / resistance, ini etc. |
Thanks so much for your help! We made the following change to the configuration file and it worked. precision = single |
Reopening until this can get fixed in Circuitscape. |
@peggyn7 could you attach your files so I can reproduce this? |
@ranjanan Here are the files I used that produced the same error. It is a clipped version of @peggyn7's files. I also attached the config file. It worked with the addition of the |
Test with new Circuitscape version? JuliaRegistries/General#42367. Will need a new version of Omniscape |
I'll release a new version of Omniscape with an updated Circuitscape dep today. |
Omniscape crashing with AssertionError: norm(G * v .- curr) / norm(curr) < 0.0001 |
Hello,
I am getting an error message when trying to run Omniscape version 0.5.0 in Julia version 1.6.1.
When we previously used Omniscape version 0.1.4 in Julia version 1.3.1, the processing was completed successfully.
The successful ascii file had the following characteristics:
For my sample ascii file I have:
ncols 1565
nrows 1011
xllcorner 6414438.576614
yllcorner 1847921.0801045
cellsize 30
NODATA_value -9999
The ini file params like used were:
block_size = 11
radius = 88
buffer = 0
Following is the log and error message that I received with the recent run in Julia version 1.6.1 with Omniscape version 0.5.0:
Thank you,
Peggy
The text was updated successfully, but these errors were encountered: