UAF-RCS HPC Documentation
  • README
  • RCS High Performance Computing (HPC) Documentation
  • Request an Account
  • Getting Started
    • Introduction
    • Linux Training/Overview
    • SSH
    • Nodes
    • Using VNC to Login
    • Migrating to the New Environment
  • Available Filesystems
    • Available Filesystems
  • Using Batch
    • Batch Overview
    • Available Partitions
    • Common Slurm Commands
    • Batch Scripts
    • Interactive Jobs
    • Select a Processor Architecture
  • Third Party Software
    • Third-Party Software
    • Installing Your Own Software
    • Using the Software Stack
    • Using Software Collections (SCL)
    • Complier Toolchains
    • Maintained Software Packages
    • Singularity
    • Miniconda
    • Jupyter
    • Lmod
  • Compiling Source
    • Compiling from Source Code
  • System Architecture
    • System Architecture
  • Community Condo Model
    • Community Condo Model
  • Policies
    • Policies
Powered by GitBook
On this page
  1. Compiling Source

Compiling from Source Code

PreviousLmodNextSystem Architecture

Last updated 9 months ago

Compiling C, C++, and Fortran code on Chinook is reasonably similar to how it is done on regular Linux systems, with some important differences. This page will try to outline both areas, focusing mostly on the differences.

Available Compilers

Two default compiler suites are available on Chinook, the Intel OneAPI and the GNU Compiler Collection.

The default compiler suites on Chinook are the which provides the classic icc, icpc, and ifort compilers and the new icx, icpx, and ifx compilers

The is also available and maintained on Chinook, providing gcc, g++, and gfortran. GNU compiler compatibility is ubiquitous across free and open-source software projects, which includes much scientific software.

For documentation on each of these compiler suites, please refer to the following:

Open-source Linear Algebra / FFT

The following free and open-source linear algebra and fast Fourier transform libraries have been built using GCC and are available for use:

  • OpenBLAS (includes LAPACK)

  • ScaLAPACK

  • FFTW

Intel MKL

The is available for use on Chinook. MKL offers Intel-tuned versions of all of the above open-source libraries, effectively replacing them.

For more information on linking against MKL, see Intel's . Of particular note is the online , which will generate appropriate link flag strings for your needs.

For more information on MKL itself, see Intel's .

Intel oneAPI
GNU Compiler Collection
Intel oneAPI documentation
GCC Documentation/
Intel Math Kernel Library (MKL)
MKL Linking Quick Start
MKL Link Line Advisor
MKL documentation