Running example models and using a cluster

From BanghamLab
Revision as of 10:08, 14 June 2011 by AndrewBangham (talk | contribs)
Jump to navigation Jump to search

The purpose of these tutorials is to learn how to run the example growth simulations included in GFtbox. It is assumed that you have already downloaded the GFtbox software and have Matlab installed.

Getting Started

1) Explaining the tools. In these tutorials, we will be using GFtboxCommand and ClusterMonitor. This section explains the purpose of these functions.

2) Running a growth simulation for an example model. This section demonstrates how to use GFtboxCommand to run a growth simulation. The model used for the simulation is an example model included with the GFtbox.

3) Altering the simulation parameters. Following on from part 2, here we show how to adjust a simulation parameter within GFtboxCommand. Specifically, we alter the value of dt, the temporal resolution of the simulation, and show how it can be used to verify the correctness of the value specified.

4) Altering the model parameters. Finally, we demonstrate how a number of model parameters can be varied by specifying a range of values for each model argument. We show how the computationally expensive task of simulating all combinations of specified ranges can be more efficient if a computer cluster is used via the ClusterMonitor tool.

1 Explaining the tools

GFtboxCommand

Is a command line version of the GFtbox. By command line, we mean that all program functions are operated via typed commands rather than by a graphical interface. Like GFtbox, GFtboxCommand is capable of running growth simulations of an interaction function, and allows the user to specify model and simulation parameters. Unlike GFtbox, this also allows the user to select ranges of values for a number of parameters, and will automatically spawn multiple simulations which explore the various combinations of those parameters. This can be used to evaluate the effect of various parameters on the growth of a given model.

ClusterMonitor

Provides a graphical interface for managing simulations running remotely on a computer cluster. Specifically, it allows you to see which projects are present and running on the cluster, to retrieve the completed projects, to generate images of the simulations at specified stages of growth, and to remove projects from the cluster. If you do not intend to use a computer cluster, then you will not need to use ClusterMonitor.

2 Running a growth simulation for an example model

This tutorial is aimed at running a growth simulation for one of the example interaction functions included with the GFtbox. The purpose of this exercise is to firstly demonstrate how simulations can be invoked using GFtboxCommand, and secondly to show how to reproduce experimental results (specifically, those published in... ) given an interaction function.

3 Altering the simulation parameters

4 Altering the model parameters

3 - Will show dt changed individually, submitted as a range, submitted to a cluster - Will say that Terminal or SSH does same thing, and can still be useful