This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:compiling [2016/03/31 14:37] wikiadmin |
guide:compiling [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 18: | 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 81: | 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===== | ||