Netlogo model6/2/2023 ![]() You might find useful the following description, taken from NetLogo’s Extensions Guide:Įach NetLogo extension consists of a folder with the same name as the extension, entirely in lower case. Note that you must copy the folder of the extension, not just the. Go to the extensions folder and copy the folder corresponding to your extension. Use Finder to open the Applications folder, where you will find the folder that contains your NetLogo program (if you have multiple versions of NetLogo, be sure to open the right version). Otherwise, it is necessary to follow Step 2.1 to include a copy of the extensions you are using inside the src folder of your project. If your model does not use extensions or uses the extensions that are bundled with the NetLogo download (meaning that you did not have to download anything to start using these extensions in your project), then you can skip this and go to Step 3. nlogo file (ogo), only the src folder will contain any files, but we still need to have at least a results folder to store the results of our experiment In our example, since our project consists of a single. ![]() Copy the contents of your project’s folder to MyDocker.Open File Explorer, go to My PC, then to the C: drive, then to Users, and finally your username.nlogo file (ogo), only the src folder will contain any files, but we still need to have at least a results folder to store the results of our experiment. Create a folder named MyDocker in your home directory.Use Finder to go to your home directory: go to Macintosh HD, then to Users and then to the folder with your user name (which should have a house icon).Otherwise, we suggest you to follow Step 1.1 to create a MyDocker folder that you can later navigate to: Step 1.1 on Mac If that is the case, you can continue to step 2. Therefore, it is important to verify you are able to navigate to the folder that contains your project using command line. Here is a video walkthrough of the steps described below:ĭocker looks for the files existing in the folder where you are when you call the build command. If you want to follow this exact example, you can create an arbitrary BehaviorSpace experiment and save it. nlogo file does not contain any BehaviorSpace experiments, we created one short experiment named ‘test’. ogo is in the src folder and the rest of the folders are empty. Following our suggested directory structure, we created a project folder named MyDocker and it contains the folders data, docs, results, and src. We will use as an example the Wolf Sheep Predation model from the Model Library, which we saved as ogo. To start this tutorial, you will need to have Docker installed in your computer, as well as a. ![]() You will also be able to create and run BehaviorSpace experiments in the container, and results will be transferred to a folder of your preference. As a result, you will be able to open, modify and run your containerized model as you would do with the original version. This tutorial shows how to containerize a NetLogo model in a Docker image and how to run a container that will allow you to interact with its Graphic User Interface (GUI).
0 Comments
Leave a Reply. |