Linux Standard Software
Introduction
On Linux workstations in Stronghold, scientific software is managed using a module system. In particular, there are "software modules" and "environment modules". Both of these are accessible using the Linux command line. In general, we prefer environment modules, because they provide software package collections that are known to work well together.
Software Modules
Software modules on a given workstation can be accessed using the Linux command line. In particular, open the Terminal
application and type module avail
. This will show a long list of software packages that is organized by category (see example below).
Loading a Software Module
In order to use a module, you can simply load if from the command line using the module load
command. For example we can load the julia
language module by simply typing module load julia
from the command line. The software module can now be launched as it normally would be. In the case of Julia, we would simply launch the interpreter by running julia
from the command line. Note that this will load the version of Julia that has been designated as the default; as of this writing, that is Julia 0.4.6. However, there is a newer version, which we could load by running module load julia/0.5.0
. In this case, we would load version 0.5.0 of Julia.
Environment Modules
Environment modules are essentially a collection of software. For example, a given lab might have a collection of software packages that they use frequently. This collection of packages can be wrapped up in an "environment". Technically speaking, these environments are Conda environments, and we simply store them in the module database as if they were standard software.
We can view the available environment modules by simply running module avail conda
. This will show the list of available environment modules (see example below).
Each of these environment modules contains a huge list of packages. For example, consider the conda/datasci_v2
environment module. In order to view the available software in this particular module, run conda list --name=datasci_v2
to produce a huge list of output that resembles the truncated list below.
Loading Environment Modules
Much like software modules, we can load environment modules with the module load
command. In particular, we give the full name of the module. For example we could load the conda/datasci_v2
module by running module load conda/datasci_v2
.
Default Environment Modules to load
The conda/cbc_generic module provides R, Python, and Rstudio. In general, a user may start with the conda/cbc_generic module by
If a user needs to access Julia, the user may load the conda/bcbi_v0.3.1 by
Last updated