Skip to content
Snippets Groups Projects
_index.md 1.06 KiB
Newer Older
1.  [HCC-DOCS](index.html)
2.  [HCC-DOCS Home](HCC-DOCS-Home_327685.html)
3.  [HCC Documentation](HCC-Documentation_332651.html)
4.  [Running Applications](Running-Applications_7471153.html)

<span id="title-text"> HCC-DOCS : Compiling Source Code </span>
===============================================================

Created by <span class="author"> Derek Weitzel</span>, last modified by
<span class="editor"> Adam Caprez</span> 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
----------------------------------

``` syntaxhighlighter-pre
$ module spider compiler
```

This command will list available compiler modules to load.

Loading Modules
---------------

``` syntaxhighlighter-pre
$ module load <module>
```

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