This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:compiling [2015/08/20 15:30] ischeepers [Intel Compilers] |
guide:compiling [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Compiling====== | ======Compiling====== | ||
| =====Compilers===== | =====Compilers===== | ||
| - | The following is a list of C, C++ and Fortran compilers available on the SUN cluster | + | The following is a list of C, C++ and Fortran compilers available on the CHPC cluster: |
| ====Intel==== | ====Intel==== | ||
| * '' | * '' | ||
| Line 9: | Line 9: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | |||
| - | < | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| =====Environment===== | =====Environment===== | ||
| Line 23: | Line 18: | ||
| * Remove a module from the environment < | * Remove a module from the environment < | ||
| - | To execute multiple module commands from a file (eg. a shell script), create a shell script, e.g.: | ||
| - | < | ||
| - | module load dell/ | ||
| - | module load dell/ | ||
| - | |||
| - | module list</ | ||
| - | |||
| - | This script has to be loaded via the " | ||
| =====Compiling===== | =====Compiling===== | ||
| ====Example Code==== | ====Example Code==== | ||
| Line 86: | Line 73: | ||
| ===Fortran=== | ===Fortran=== | ||
| < | < | ||
| - | ====Sun Studio==== | ||
| - | The following code snippets demonstrate how to compile the above code examples use the Sun Studio compiler suite: | ||
| - | ===C=== | ||
| - | < | ||
| - | ===Fortran=== | ||
| - | < | ||
| =====OpenMP===== | =====OpenMP===== | ||