Skip to content

Instantly share code, notes, and snippets.



Last active Dec 19, 2015
What would you like to do?

Triton - Commands and Software install

Triton, TCC and TSCC, are clusters at the San Diego Supercomputer Center (SDSC):

Some commands

Account balance:

$ gbalance -u fpaolo
$ mybalance

Multiple serial jobs:

Submit a batch file (with several jobs):

  1. batch submission

    $ qsub

  2. or to get an interactive node and launch it from there

    $ qsub -I $ sh

check PBS commands


check on a job status (from the scheduler)

checkjob -vvv <jobid>
showq | grep <jobid>
showstart <jobid>

check the load in login node (high >= 5.0)


check feaseble procs (for particular queue)

showbf -f <queue>

Calculate time and cost:

NDS * 8 * Elap Time = SUs
TSK * Elap Time = SUs

Install Anaconda Python

TSCC is Red Hat Linux -> use Linux 64-Bit - Python 2.7




sh -b

Set path:

echo 'PATH=$PATH:$HOME/anaconda/bin; export PATH' >> .bash_profile
echo 'alias python=$HOME/anaconda/bin/python2.7' >> .bash_profile
source .bash_profile

Note 1: Anaconda already comes with mpi4py.

Note 2: Anaconda is installed in user folder.

Install mpi4py

Build and install

$ module purge
$ module load intel openmpi_mx
$ cd <path/to/mpi4py>
$ python build
$ python install --user

I think the problem has more to do with enthought python + netcdf was build with intel compilers (or at least I think, when I tried to run some tests earlier without the intel module loaded it came back with errors of not finding - specific to intel). So trying to mix gcc+openmpi + intel+netcdf caused the crashes.


To run code set the .bashrc:

# Portland is default on Triton
module unload pgi
module load intel openmpi_mx

And check:

$ source ~/.bashrc
$ module list
Currently Loaded Modulefiles:
  1) intel/11.1         2) openmpi_mx/1.4.1

General info and examples:

Install GMT

Installation with Intel compiler.

Download the script from:

And set path to netcdf/include:

export CPPFLAGS="-I/opt/netcdf/4.0.1/intel/include"

The path to netcdf/lib:

export LDFLAGS="-L/opt/netcdf/4.0.1/intel/lib"

The compiler to intel:

export CC=”icc”

And install (interactively create the GMT4param.txt):

$ sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment