Discover Interpreters

Python

Use the following command to find available Python versions:

$ module avail python

To load a Python module:

$ module load <Module Name>

Note:: When using matplotlib, use the following lines in your code:

import matplotlib
matplotlib.use('TkAgg')

Perl

The following path contains the recommended version of perl:

/usr/local/other/perl

You can enable this by adding the path above to your $PATH variable. By using the following method for bash:

export PATH="/usr/local/other/perl:$PATH"

And for tsch/csh, use:

setenv PATH $PATH\:/usr/local/other/perl

Note: If you do not use the version above, your environment will already be loaded with a default version of perl which is not as up-to-date as the recommended version.


Category: