Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
8670c51b
Commit
8670c51b
authored
3 years ago
by
Matthias Lieber
Browse files
Options
Downloads
Patches
Plain Diff
resolved threads by Martin
parent
895a3d0d
No related branches found
No related tags found
3 merge requests
!322
Merge preview into main
,
!319
Merge preview into main
,
!266
review of compilers.md: thorough content update, removed deprecaded parts
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/software/compilers.md
+5
-5
5 additions, 5 deletions
doc.zih.tu-dresden.de/docs/software/compilers.md
with
5 additions
and
5 deletions
doc.zih.tu-dresden.de/docs/software/compilers.md
+
5
−
5
View file @
8670c51b
# Compilers
# Compilers
The following compilers are available on
our platforms
:
The following compilers are available on
the ZIH system
:
| | GNU Compiler Collection | Intel Compiler | PGI Compiler (Nvidia HPC SDK) |
| | GNU Compiler Collection | Intel Compiler | PGI Compiler (Nvidia HPC SDK) |
|----------------------|-----------|------------|-------------|
|----------------------|-----------|------------|-------------|
...
@@ -10,7 +10,7 @@ The following compilers are available on our platforms:
...
@@ -10,7 +10,7 @@ The following compilers are available on our platforms:
| C++ Compiler |
`g++`
|
`icpc`
|
`pgc++`
|
| C++ Compiler |
`g++`
|
`icpc`
|
`pgc++`
|
| Fortran Compiler |
`gfortran`
|
`ifort`
|
`pgfortran`
|
| Fortran Compiler |
`gfortran`
|
`ifort`
|
`pgfortran`
|
For an overview of the installed compiler versions, please use
`m
l
spider <module name>`
on the ZIH systems.
For an overview of the installed compiler versions, please use
`m
odule
spider <module name>`
on the ZIH systems.
All compilers support various language standards, at least up to ISO C11, ISO C++ 2014, and Fortran 2003.
All compilers support various language standards, at least up to ISO C11, ISO C++ 2014, and Fortran 2003.
Please check the man pages to verify that your code can be compiled.
Please check the man pages to verify that your code can be compiled.
...
@@ -23,15 +23,15 @@ the correct libraries.
...
@@ -23,15 +23,15 @@ the correct libraries.
Common options are:
Common options are:
-
`-g`
to include information required for debugging
-
`-g`
to include information required for debugging
-
`-pg`
to generate gprof
-styl
e sample-based profiling information during the run
-
`-pg`
to generate gprof
-lik
e sample-based profiling information during the run
-
`-O0`
,
`-O1`
,
`-O2`
,
`-O3`
to customize the optimization level from
-
`-O0`
,
`-O1`
,
`-O2`
,
`-O3`
to customize the optimization level from
no (
`-O0`
) to aggressive (
`-O3`
) optimization
no (
`-O0`
) to aggressive (
`-O3`
) optimization
-
`-I`
to set search path for header files
-
`-I`
to set search path for header files
-
`-L`
to set search path for libraries
-
`-L`
to set search path for libraries
Please note that aggressive optimization allows deviation from the strict IEEE arithmetic.
Please note that aggressive optimization allows deviation from the strict IEEE arithmetic.
Since the performance impact of options like
`-fp-model strict`
is very hard
the user herself
Since the performance impact of options like
`-fp-model strict`
is very hard
you
ha
s
to balance speed and desired accuracy of
he
r application.
ha
ve
to balance speed and desired accuracy of
you
r application
yourself
.
The user benefits from the (nearly) same set of compiler flags for optimization for the C, C++, and
The user benefits from the (nearly) same set of compiler flags for optimization for the C, C++, and
Fortran-compilers.
Fortran-compilers.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment