OpenACC Tutorial - Profiling: Difference between revisions

Jump to navigation Jump to search
The Visual Profiler only works with CUDA C/C++ or OpenACC codes
(More precision on the test environment)
(The Visual Profiler only works with CUDA C/C++ or OpenACC codes)
Line 90: Line 90:
One graphical profiler available for OpenACC applications is the
One graphical profiler available for OpenACC applications is the
[https://developer.nvidia.com/nvidia-visual-profiler NVIDIA Visual Profiler (NVVP)].
[https://developer.nvidia.com/nvidia-visual-profiler NVIDIA Visual Profiler (NVVP)].
It's a cross-platform analyzing tool for code written with OpenACC and CUDA C/C++ instructions.
It's a cross-platform analyzing tool '''for codes written with OpenACC and CUDA C/C++ instructions'''.
Consequently, if the executable is not using the GPU, you will get no result from this profiler.


When [[Visualization/en#Remote_windows_with_X11-forwarding|X11 is forwarded to an X-Server]], or when using a [[VNC|Linux desktop environment]] (also via [[JupyterHub#Desktop|JupyterHub]] with two (2) CPU cores, 5000M of memory and one (1) GPU),
When [[Visualization/en#Remote_windows_with_X11-forwarding|X11 is forwarded to an X-Server]], or when using a [[VNC|Linux desktop environment]] (also via [[JupyterHub#Desktop|JupyterHub]] with two (2) CPU cores, 5000M of memory and one (1) GPU),
Line 108: Line 109:
# Select ''File > New Session'', or click on the corresponding button in the toolbar.
# Select ''File > New Session'', or click on the corresponding button in the toolbar.
# Click on the ''Browse'' button at the right of the ''File'' path editor.
# Click on the ''Browse'' button at the right of the ''File'' path editor.
## Browse to the <code>cq-formation-openacc/cpp</code> directory.
## Change directory if needed.
## Select the executable <code>cg.x</code> that was compiled in a previous section. Then click ''OK''.
## Select an executable built from codes written with OpenACC and CUDA C/C++ instructions.
# Below the ''Arguments'' editor, select the profiling option ''Profile current process only''.
# Below the ''Arguments'' editor, select the profiling option ''Profile current process only''.
# Click ''Next >'' to review additional profiling options.
# Click ''Next >'' to review additional profiling options.
cc_staff
782

edits

Navigation menu