Difference between revisions of "Development/Score-P"

From bwHPC Wiki
Jump to: navigation, search
(Created page with "{| width=600px class="wikitable" |- ! Description !! Content |- | module load | devel/gdb |- | Availability | bwUniCluster | BwForCluster_Chemistry |- | License |...")
 
Line 4: Line 4:
 
|-
 
|-
 
| module load
 
| module load
| devel/gdb
+
| devel/scorep
 
|-
 
|-
 
| Availability
 
| Availability
Line 10: Line 10:
 
|-
 
|-
 
| License
 
| License
| [http://www.gnu.org/licenses/ GPL]
+
| [https://opensource.org/licenses/BSD-3-Clause BSD 3-clause License]
 
|-
 
|-
 
|Citing
 
|Citing
Line 16: Line 16:
 
|-
 
|-
 
| Links
 
| Links
| [http://www.gnu.org/software/gdb/ Homepage] | [http://www.gnu.org/software/gdb/documentation/ Documentation] | [https://sourceware.org/gdb/wiki/ Wiki] | [http://www.gnu.org/software/gdb/mailing-lists/ Mailinglists]
+
| [http://www.vi-hps.org/projects/score-p/ Homepage] | [http://scorepci.pages.jsc.fz-juelich.de/scorep-pipelines/docs/scorep-6.0/html/ Documentation] | [https://mailman.zih.tu-dresden.de/groups/listinfo/scorep-news News Mailinglists] | [mailto:support@score-p.org Bug Reports]
 
|-
 
|-
 
| Graphical Interface
 
| Graphical Interface
Line 22: Line 22:
 
|-
 
|-
 
| Included modules
 
| Included modules
  +
| -
| icc | icpc | ifort | idb
 
 
|}
 
|}
 
<br>
 
<br>
 
= Introduction =
 
= Introduction =
  +
The Score-P Project is a profiling and tracing library with supportive tools developed mainly by by the [[http://www.vi-hps.org/ VI-HPS]] project.
The '''GNU Debugger (GDB)''' is a standard debugger for serial programs although it can be used for parallel and even distributed programs with few processes too. In the past Intel supported their own '''idb''' debugger, however this has been deprecated in favor of their own port called <kbd>gdb-ia</kbd>.
 
 
<br>
 
<br>
   
 
= Versions and Availability =
 
= Versions and Availability =
A list of versions currently available on all bwHPC-C5-Clusters can be obtained from the
+
A list of versions currently available on all bwHPC Clusters can be obtained from the
 
<br>
 
<br>
 
<big>
 
<big>
Line 38: Line 38:
 
</big>
 
</big>
 
{{#widget:Iframe
 
{{#widget:Iframe
|url=https://cis-hpc.uni-konstanz.de/prod.cis/bwUniCluster/devel/gdb
+
|url=https://cis-hpc.uni-konstanz.de/prod.cis/bwUniCluster/devel/scorep
 
|width=99%
 
|width=99%
 
|height=120
 
|height=120
 
}}
 
}}
 
On the command line interface of any bwHPC cluster you'll get a list of available versions
 
On the command line interface of any bwHPC cluster you'll get a list of available versions
by using the command <kbd>module avail devel/gdb</kbd>.
+
by using the command <kbd>module avail devel/scorep</kbd>.
  +
'''Please note''' that Score-P installation may be ''hidden'' in the sense that it's dependent on the
  +
MPI, which in turn is dependent on the compiler.
  +
So while there are a multitude of compiler version's only some may feature an MPI, which offers tracing using Score-P.
  +
Please use <kbd>module --ignore-cache spider</kbd> to evaluate all possible installations.
 
<pre>
 
<pre>
 
$ : bwUniCluster 2.0
 
$ : bwUniCluster 2.0
$ module avail devel/gdb
+
$ module load compiler/gnu/10.2 mpi/openmpi ; module avail devel/score
 
------------------------ /opt/bwhpc/common/modulefiles/Core -------------------------
 
------------------------ /opt/bwhpc/common/modulefiles/Core -------------------------
devel/gdb/9.2 devel/gdb/10.1 (D)</pre>
+
devel/scorep/6.0</pre>
   
  +
<font color=red>Attention!</font><br>
 
  +
= Loading =
The installed default system GDB may be a different version.
 
  +
Score-P may be loaded with a specific and MPI:
Check the <font color=green>default</font> version by: <pre>gdb --version</pre> <font color=red>without loaded GDB-module</font>.
 
  +
<pre>$ module load compiler/gnu/10.2 mpi/openmpi devel/scorep</pre>
  +
  +
Check the installation of this Score-P instance using <kbd>scorep-config</kbd>:
 
<pre>
 
<pre>
  +
$
$ module purge # clear all loaded modules
 
  +
$ scorep-config
$ gdb --version # this is the default version
 
  +
</pre>
GNU gdb (GDB) Red Hat Enterprise Linux 8.2-11.el8
 
[...]
 
$ module avail devel/gdb # available GDB-module
 
------------------------ /opt/bwhpc/common/modulefiles/Core -------------------------
 
devel/gdb/9.2 devel/gdb/10.1 (D)</pre>
 
It is ''not'' recommended to debug MPI-parallel binaries with GDB, please read [[MPI]] on how to do that.
 
Rather parallel debuggers like ARM Forge (formerly Allinea ddt) or Totalview ease debugging with a GUI.
 
<br>
 
   
   
= Loading =
 
It is possible to choose between several versions of GDB. By default both programs are installed. You can check the version which is currently used with:
 
<pre>$ gcc --version</pre>
 
<br>
 
To use a different version ofGDB, you have to load it through the module system.
 
For example if you need GDB 10.1, load the <kbd>devel/gdb</kbd> module.
 
<br>
 
How to load the desired version (e.g. GDB version 9.2):
 
<pre>$ module load devel/gdb/9.2</pre>
 
 
<br>
 
<br>
   

Revision as of 17:50, 5 November 2020

Description Content
module load devel/scorep
Availability bwUniCluster | BwForCluster_Chemistry
License BSD 3-clause License
Citing n/a
Links Homepage | Documentation | News Mailinglists | Bug Reports
Graphical Interface No
Included modules -


1 Introduction

The Score-P Project is a profiling and tracing library with supportive tools developed mainly by by the [VI-HPS] project.

2 Versions and Availability

A list of versions currently available on all bwHPC Clusters can be obtained from the

Cluster Information System CIS

{{#widget:Iframe |url=https://cis-hpc.uni-konstanz.de/prod.cis/bwUniCluster/devel/scorep |width=99% |height=120 }} On the command line interface of any bwHPC cluster you'll get a list of available versions by using the command module avail devel/scorep. Please note that Score-P installation may be hidden in the sense that it's dependent on the MPI, which in turn is dependent on the compiler. So while there are a multitude of compiler version's only some may feature an MPI, which offers tracing using Score-P. Please use module --ignore-cache spider to evaluate all possible installations.

$ : bwUniCluster 2.0
$ module load compiler/gnu/10.2 mpi/openmpi ; module avail devel/score
------------------------ /opt/bwhpc/common/modulefiles/Core -------------------------
devel/scorep/6.0


3 Loading

Score-P may be loaded with a specific and MPI:

$ module load compiler/gnu/10.2 mpi/openmpi devel/scorep

Check the installation of this Score-P instance using scorep-config:

$ 
$ scorep-config




4 Documentation

For online documentation see the links section in the summary table at the top of this page. For local documentation consult the man page.

$ man gdb