CMGCR
Lectures Readings Modeling software Models Links

Getting started with NetLogo on DICE

Running NetLogo


The easiest way to run netlogo on DICE is to use my installation. Put /afs/inf.ed.ac.uk/user/n/ngoddard/public/bin on your path:

export PATH=/afs/inf.ed.ac.uk/user/n/ngoddard/public/bin:$PATH

You can put this in your ~/.bashrc file, or you can just type it to the prompt (in which case it will only last as long as your terminal window is open).

Then you can start netlogo just by typing "netlogo" to the prompt.

You can also download netlogo from the netlog website:


http://ccl.northwestern.edu/netlogo/

To be able to use the help documentation menu item in netlogo, you need to make sure "mozilla" is a known command that runs a web browser. If you've put my public bin directory on your path as above, then it should be known. Type the following to see if it is known.

which mozilla
If it isn't known, then either put my public bin directory on your path as above, or copy the mozilla script in that directory to somewhere that is on your path.

Getting started with the Stupid models

The "Stupid Models" are intended to introduce you gradually to what you can do with NetLogo. My suggestion is to work your way through the models starting with the simplest, to see how they work. Try making some of your own changes to the models to convince yourself that you understand how to do things. For example, try modfiying the first model so that the bugs all start out on the left hand edge of the world, or within ten patches from the left edge. You can open the models from here:


/afs/inf.ed.ac.uk/user/n/ngoddard/public/cmgcr/abm/netlogo/stupid

The documentation for the models is in the model source - look at the Procedure Tab and the Info Tab. Overall documentation for the series (which you should print out) is here. This document briefly describes new features in each model.


Home : Teaching : Courses : Cmgcr 

Informatics Forum, 10 Crichton Street, Edinburgh, EH8 9AB, Scotland, UK
Tel: +44 131 651 5661, Fax: +44 131 651 1426, E-mail: school-office@inf.ed.ac.uk
Please contact our webadmin with any comments or corrections. Logging and Cookies
Unless explicitly stated otherwise, all material is copyright © The University of Edinburgh