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

Advanced run not completing in Julia #131

Closed
mgray505 opened this issue Jun 27, 2018 · 13 comments
Closed

Advanced run not completing in Julia #131

mgray505 opened this issue Jun 27, 2018 · 13 comments

Comments

@mgray505
Copy link

mgray505 commented Jun 27, 2018

Hi Ranjan,
I mentioned to you today that we ran a configuration in the CS v.4.0 gui that finished in about 30 min, but when I've tried running it in Julia it's run for many hours without completing. I'm running it in 'advanced' mode where a pixel-wide strip of pixels (270m) runs across the northern part of the landscape and are assigned sources of unit current, and a pixel-wide strip in the southern edge of the landscape are connected directly to ground. The data also represents conductance instead of resistance. Here is a link to the conductance surface (bbmm_prediction_270_penalized_pow2_mult40.asc), source and ground asc, and the configuration file: https://drive.google.com/drive/u/2/folders/19C8T5EC-tWBEqSSo7Ppf6-BjaMo75Hc2

-Miranda

@ranjanan
Copy link
Member

@mgray505 thank you for posting this issue!

Could you please paste the output of the following command at the Julia prompt:

Pkg.status("Circuitscape")

@mgray505
Copy link
Author

  • Circuitscape 5.2.0+ master

@ranjanan
Copy link
Member

Great, and would you happen to know what the size of the graph is? It should be part of the circuitscape logs.

@mgray505
Copy link
Author

Graph has 5407745 nodes and 3 components.
Job took 36 minutes 27 seconds to complete.

@ranjanan
Copy link
Member

Thank you! That is most certainly a bug and I will get back to you as soon as I can with a fix.

@ranjanan
Copy link
Member

ranjanan commented Jul 17, 2018

@mgray505 could you please try #135 and see if it works? You can do so by doing: Pkg.checkout("Circuitscape"); Pkg.checkout("Circuitscape", "adv") and then restarting Julia and trying.

@mgray505
Copy link
Author

Hi @ranjanan -
I did this and am now getting this error
screen shot 2018-07-18 at 7 54 37 am

@ranjanan
Copy link
Member

@mgray505 that's very strange, given that the tests pass on #135. Could you post the output of
Pkg.status("Circuitscape") please?

@mgray505
Copy link
Author

mgray505 commented Jul 18, 2018

@ranjanan
screen shot 2018-07-18 at 9 13 26 am

@ranjanan
Copy link
Member

Could you do Pkg.status("Memento") too please?

@mgray505
Copy link
Author

screen shot 2018-07-18 at 9 28 58 am

@ranjanan
Copy link
Member

Sorry if you're already done this, but could you restart Julia, do using Circuitscape and then do Pkg.test("Circuitscape") please?

@ranjanan
Copy link
Member

Had a call with @mgray505 and fixed this. Turned out it was the same issue as #133 and then we had to update the Memento package

ranjanan added a commit that referenced this issue Jul 18, 2018
Fixing the dep warn broke dependency on earlier versions (#131), so this bump is required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants