This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
using_software_modules [2020/08/06 02:48] taylors [Using Software Modules] |
using_software_modules [2021/04/28 14:36] (current) brandonm [Quick Start] Word, spelling, and formatting fixes |
||
---|---|---|---|
Line 3: | Line 3: | ||
Many HPC systems support multiple libraries and library versions. For instance, by default, HPC Limulus systems support both Open MPI (Message Passing Interface) and MPICH. Each of these packages provides the MPI API for programmers and applications. These libraries are supplied as RPM packages as part of the [[https:// | Many HPC systems support multiple libraries and library versions. For instance, by default, HPC Limulus systems support both Open MPI (Message Passing Interface) and MPICH. Each of these packages provides the MPI API for programmers and applications. These libraries are supplied as RPM packages as part of the [[https:// | ||
- | To help manage multiple packages on a cluster, the [[https:// | + | To help manage multiple packages on a cluster, the [[https:// |
Thus, a user can quickly move between various library " | Thus, a user can quickly move between various library " | ||
Line 11: | Line 11: | ||
====Simple Example==== | ====Simple Example==== | ||
- | All Linux distributions come with GNU C compilers. While the versions of these compilers | + | All Linux distributions come with GNU C compilers. While the versions of these compilers |
- | By default OpenHPC uses modules to point to the version 8.3 GNU compilers. This setting can be confirmed by entering: | + | By default, OpenHPC uses modules to point to the version 8.3 GNU compilers. This setting can be confirmed by entering: |
< | < | ||
Line 23: | Line 23: | ||
< | < | ||
- | gcc --version | + | $ gcc --version |
gcc (GCC) 8.3.0 | gcc (GCC) 8.3.0 | ||
Copyright ... | Copyright ... | ||
Line 31: | Line 31: | ||
< | < | ||
- | $module rm gnu8 | + | $ module rm gnu8 |
Inactive Modules: | Inactive Modules: | ||
Line 37: | Line 37: | ||
</ | </ | ||
- | Ignoring the " | + | Ignoring the " |
< | < | ||
Line 61: | Line 61: | ||
====Quick Start==== | ====Quick Start==== | ||
- | The following are some quick examples of hos the '' | + | The following are some quick examples of how the '' |
===What Modules are Available==== | ===What Modules are Available==== | ||
< | < | ||
- | module avail | + | $ module avail |
----------------------------------------------- / | ----------------------------------------------- / | ||
Line 83: | Line 83: | ||
===Swap the MPI Libaries=== | ===Swap the MPI Libaries=== | ||
- | The folling | + | The following |
< | < | ||
$ which mpicc | $ which mpicc | ||
/ | / | ||
- | $ module swap openmpi3 mpich/3.3.1 | + | $ module swap openmpi3 mpich/3.3.1 |
$ which mpicc | $ which mpicc | ||
/ | / | ||
</ | </ |