Skip to content
Snippets Groups Projects
  1. HCC-DOCS
  2. HCC-DOCS Home
  3. HCC Documentation
  4. Running Applications

HCC-DOCS : Compiling Source Code

Created by Derek Weitzel, last modified by Adam Caprez on Mar 19, 2018

Compiling source code on HCC machines is done with compiler environments configured by the module utility.  The utility adds directives to the environment and adds executables to the PATH so that users and jobs can directly call the compilers.

Finding available compiler Modules

$ module spider compiler

This command will list available compiler modules to load.

Loading Modules

$ module load <module>

This command will load an available module.  The modules are usually in the form of <compiler>/<version>.