GMT on WestGrid Systems

Table of Contents

Introduction

GMT - Generic Mapping Tools is a script-driven package of utilities for gridding and contouring geographic and Cartesian data sets, with support for many map projections. Vector plots, surface plots and other types of graphics are supported. Visit gmt.soest.hawaii.edu for a full description of program features, example output and tutorials.

Running GMT on Westgrid Systems

GMT is run in basically the same way on each WestGrid system on which it has been installed. However, the PATH, GMTHOME and related variables are defined differently depending on which system is being used.

GMT on Cortex

GMT has been installed on Cortex in /usr/global/ibm/gmt/gmt-4.1.3 .

To run GMT programs users should set the following environmental variables:

For csh or tcsh users:

setenv NETCDFHOME /usr/global/ibm/netcdf/netcdf-3.6.0-p1
setenv GMTHOME /usr/global/ibm/gmt/gmt-4.1.3/data
set path=(/usr/global/ibm/gmt/gmt-4.1.3/bin $path)

For sh or bash users:

export NETCDFHOME=/usr/global/ibm/netcdf/netcdf-3.6.0-p1
export GMTHOME=/usr/global/ibm/gmt/gmt-4.1.3/data
export PATH=/usr/global/ibm/gmt/gmt-4.1.3/bin:$PATH

For all users:

Add /usr/global/ibm/gmt/gmt-4.1.3/man to MANPATH
Add /usr/global/ibm/gmt/gmt-4.1.3/www/gmt/gmt_services.html as a browser bookmark

GMT on Glacier

GMT has been installed on glacier in /global/software/GMT4.1.3 . See the README file in that directory for information on how to modify your scripts for running in that location.

GMT on Nexus

GMT has been installed on Nexus in /usr/global/gmt/gmt .

To run GMT programs users should set the following environmental variables:

For csh or tcsh users:

setenv NETCDFHOME /usr/global/gmt/build/netcdf-3.6.1
setenv GMTHOME /usr/global/gmt/gmt/data
set path=(/usr/global/gmt/gmt/bin $path)

For sh or bash users:

export NETCDFHOME=/usr/global/gmt/build/netcdf-3.6.1
export GMTHOME=/usr/global/gmt/gmt/data
export PATH=/usr/global/gmt/gmt/bin:$PATH

For all users:

Add /usr/global/gmt/gmt/man to MANPATH
Add /usr/global/gmt/gmt/www/gmt/gmt_services.html as a browser bookmark

GMT on Robson

GMT has been installed on Robson in /usr/local/gmt, but, links to the excecutables have been added to /usr/local/bin, which is on the default command path.

Before running GMT programs, users should set the following environmental variable:

For csh or tcsh users:

setenv GMTHOME /usr/local/gmt

For sh or bash users:

export GMTHOME=/usr/local/gmt


Updated 2008-11-12