6/10/2023 0 Comments Netlogo gisReally only the *.jar files are needed, but the rest won't hurt. Just browse to NetLogo 6.3.0/extensions/.bundled/gis and copy everything to your model's directory. This is a good solution in this particular case because the GIS extension was updated after NetLogo 6.3.0 was released, but it would not work in cases where a bundled extension wasn't updated.Ĭopy the GIS extension files into the same folder your model lives in. This will place the extension in a user-specific folder not relative to the program installation, so it should be detected when running through nlrx as well. In the NetLogo GUI, use the Extension Manager to install the updated GIS extension (v1.3.2 as of this writing). It looks like you're using Windows, so while this solution may be possible I'm not sure how to do it off the top of my head. I don't know if nlrx provides a simple way to set Java properties for the NetLogo session or not.Īdd a symbolic link to the NetLogo bundled extensions folder from your nlrx working directory. For Windows, given the paths you listed you want to point it to C:\Program Files\NetLogo 6.3.0\extensions\.bundled\. Setting the Java system property would be an easy way to get NetLogo looking in the right spot. Here are some potential workarounds (apologies that I cannot test these at the moment): Likely the issue is that the working directory for your nlrx session is not the same as the NetLogo application directory. NetLogo checks for extensions in certain paths based on the working direcetory it's started in. I have tried with different versions of java. > = simdesign_ff(nl = model, nseeds = 20)Ĭreating full factorial simulation designĮxception in thread "main" Can't find extension: gis at position 15 inĪt .signalError(ErrorSource.scala:11)Īt .importExtension(ExtensionManager.scala:180) "maximum-years" = simdesign_ff(nl = model, nseeds = 20)Īll defined variables and constants are valid! Hp = "length filter overview-investments-owner", Pv = "length filter overview-investments-owner", Ins = "length filter overview-investments-owner", Model i = 2 ] overview-investments-owner", Out_path = "C:/Users/derke001/Documents/My desktop/ABM/Article ABM/model/Netlogo_the_latest" "Netlogo_the latest/(V5.4) Netlogo Amsterdam - Mark/(V5.4) Netlogo Amsterdam - Mark/V(6.0) BehaviorSpace ogo" "C:/Users/derke001/Documents/My desktop/ABM/Article ABM/model/", Nl_path = "C:/Program Files/NetLogo 6.3.0" What can I do to make it work? Thank you. However, when I reach running the experiment, I get the gis extension can't be found. Java HotSpot(TM) 64-Bit Server VM (build 16.0.1 9-24, mixed mode, sharing) Java(TM) SE Runtime Environment (build 16.0.1 9-24) All the system requirements seem to be satisfied: $ java -version I was trying to run a sensitivity analysis using the nlrx r package.
0 Comments
Leave a Reply. |