Hey guys,
For the Multi-agent software course we have to do the assignments on the following webpage with the pursuit software
https://sites.google.com/site/matthijssnel/teaching/mas2011
I reckon most of you have downloaded the software, and go it running on the linux computers by now. If you only have windows at home and don't want to dual boot you can do the following to install linux within windows on your computer, so you can get the pursuit software running:
1. Download and install virtualbox
2. Download the Ubuntu .iso file
3. Download daemon tools light
4. Daemon tools is used to use .iso files (which are actually cd/dvd like files) from you computer. Basically you fake your computer into thinking you have inserted a cd/dvd with the .iso file in your computer. You need to go to the tray with the daemon tools icon, right click it, go to virtual devices and add a new device. After that click on the new device in the same menu, and click on 'mount image'. Choose the path that leads to the ubuntu.iso file, and you are set to go.
5. Run virtualbox. This program will use some of your harddisk to install linux on, you can then run it via windows. In the software click on 'new', you will be taken to a wizard. Choose a name for your linux installation, and select Linux and Ubuntu. Select RAM to allot to linux, 512 will be fine for our predator-prey application. Choose 'create a new hard disk'. Select VDI, then dynamically allocated (unless you will be using it often, then choose fixed size), choose a location name and alot about 8GB to the linux OS (4.5 GB for the linux installation, + some extra space. 8 GB should easily suffice if you only use it for programming tasks like this. Press Create and you are done.
6. Now that you have created your linux virtual machine, you have to install linux on it. In virtualbox, click the 'start' button, and proceed with all the steps to install linux on your machine. Note: linux only has access to the 8GB of empty space you allocate it, so dont worry about the program deleting your files. Just choose: erase disk and install linux.
7. Now you have a working linux distribution! You can download the predator prey software to your linux OS. When you try to run the software you will most likely be prompted to install two packages. You can do this by going to System -> administration -> synaptic package manager. You can install the packages from here with a search (I forgot their names, but there was one tricky when where you needed version 5 instead of the 6 that was installed). For those that will run the java predators, you will also need to install the javaconmpiler from here. Either the sunSDK one, or openjvc will do.
8. Now that you have the packages, the script files (.sh, or shell) will be incomplete. Change any paths going to something.../bin to ../../bin The ../ indicates the previous directory.
9. Everything should work now, compile the predators, run the .sh file and test it out!!
If something doesn't work for you, please let me know.
Tijmen
No comments:
Post a Comment