SPSW 2012 summer school exercise session
This page is about the exercise session of the SPSW 2012 summer school on Modelling Development in Plant Sciences that will take place June 21st in Mürren
Contents
Summary
During the exercise session you will get introduced to Ordinary Differential Equations and how to solve them numerically using standard numerical software. We will then consider multicellular models and simulate pattern formation with Turing systems. For those already familiar with this, more advanced topics will be presented.
We will use Octave (or Matlab for those who have it) and Vlab for the practicals. In order to fully benefit form the exercise session, you should install this software on your laptop and bring it to the summer school.
Installing Octave
For Windows
- Download this file
- Uncompress it (called Octave3.6.1_gcc4.6.2_20120303.7z) to some directory (let's call it octave3.6.1)
- Open Windows explorer and type: “octave” (without quotes) in the search box.
- Find the file octave.exe (or just octave) and create a short-cut to it (right-click on it and “create shortcut”)
- Retype “octave shortcut” in the search box
- Find the file “Octave.exe – Shortcut” and move it to the desktop
- Double click on that shortcut. A window should appear and after a while some text should appear meaning that Octave is running in it.
- Type: "1+1" (without quotes) in the window and check if Octave knows the answer
- Type: "sombrero(24)". If a nice sombrero figures appears, it means you have a working Octave installation.
For MacOS
- Download this dmg file
- Open the dmg file
- Open the Extras folder and the gnuplot-4-4.3-acqua-i386.dmg file inside it
- Put Gnuplot into the application folder
- .Put Octave into the Applications folder.
- Launch the octave application. A terminal window should appear
- Type: "1+1" (without quotes) in the window and check if Octave knows the answer
- Type: "sombrero(24)". If a nice sombrero figures appears, it means you have a working Octave installation.
If you use Lion you may have the following error: dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib Referenced from: /usr/X11/lib/libfontconfig.1.dylib Reason: Incompatible library version: libfontconfig.1.dylib requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
The solution is the following:
Open /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot in a text editor. Use the editor search-and-replace feature to replace "DYLD_LIBRARY_PATH" with "DYLD_FALLBACK_LIBRARY_PATH". There are four instances that need to be replaced.
For Linux (ubuntu)
- Type: “sudo apt-get install octave” (without quotes) in the command line.
- Type: "octave" in a terminal
- Type: "1+1" (without quotes) in the window and check if Octave knows the answer
- Type: "sombrero(24)". If a nice sombrero figures appears, it means you have a working Octave installation.
Octave basics
Those not familiar with Octave are encouraged to get acquainted with it, for example by following this tutorial
Help
If you have trouble with the installation, please write an email to micha.hersch at unil.ch and he will help you.