Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Ultimately, some testing may be required to find the best compiler for a given code. You should be aware that it is a good practice to use a range of different compilers in order to confirm code standard-conformance and portability.

...

Warning
iconfalse
titleThe module PrgEnv-aocc is currently broken on Setonix, but there is a workaround

The module PrgEnv-aocc/8.3.2 is currently broken on Setonix. So, after the basic command: module load PrgEnv-aocc/8.3.2 , the AOCC compilers will not work properly. Fortunately, both, the c/c++ and fortran AMD compilers can still be used using the following three commands for setting the environment:

module unuse /opt/modulefiles

module load PrgEnv-aocc/8.3.2

module load aocc/3.2.0

We are sorry for this inconvenience, and we'll fix the module to work properly with the basic command as soon as possible.

Basics of compilation

Often the term compilation is used to refer to both the compilation of a source code and linking of the resulting object files, the low-level representation in machine code, and third-party libraries into an executable. This is because compilers allow performing both steps at once for simple programs. However, when your source code is large, this course of actions is not advisable.

...

...