...
Column |
---|
Note |
---|
icon | false |
---|
title | Migration note: Intel compilers are not present on Setonix |
---|
| The Intel compilers have been replaced with AOCC, the AMD compilers that are based on LLVM Clang. Codes that were built with Intel should move to GNU. |
|
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.
Column |
---|
Warning |
---|
icon | false |
---|
title | The 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.
...