Kenneth Desmond

Emory University

3rd Year Graduate Student

Advisor: Eric R. Weeks

GDL     Installing GDL     Setting Up GDL     Particle Tracking    


Linux

First you must download the source code from Source Forge. Download package 0.9pre6 to your computer and unzip the package. Before we start the installation we correct an incorrect line in one of the source code files. Go to the folder labeled scr and open the file pldtik.cpp. Go to line 223 and erase the false argument.

Next you must install a series of different softwares in order to successfully install GDL. If you're using a debian based linux system open a terminal and change the current directory the unzipped GDL folder. Then type the following lines into the command prompt (ignore >>)

>> sudo apt-get install netcdfg-dev libhdf5-serial-dev libplplot-dev plplot9-driver-xwin libhdf4g-dev libreadline5-dev gsl-bin libgsl0-dev

>> sudo apt-get install libmagick++9-dev

>> sudo apt-get install g++

>> sudo apt-get install gawk

The first set of commands are a bunch of different software that will provide various GDL capabilities such as plottting and read & write. The second command will install the ImageMagick libraries which are needed for reading and writing image files. The last two command lines are needed to compile the source code.

Once all of the above software is installed then type the following into the command line

>> make

>> sudo make install

Once the installation is done the current directory should have a file call gdl. To run gdl simply type gdl into the command prompt.

Mac OS X

Fortunately installation on a Mac is easy because there is a binary file that can be downloaded from Sourceforge's MAC OS X HPC site.