cc_staff
782
edits
(Reviewed starting the NVVP graphical profiler) |
(Getting started with NVVP) |
||
Line 94: | Line 94: | ||
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]]), | 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]]), | ||
it is possible to launch the NVVP from a terminal: | it is possible to launch the NVVP from a terminal: | ||
</translate> | |||
{{Command | {{Command | ||
|module load cuda/11.7 java/1.8 | |module load cuda/11.7 java/1.8 | ||
Line 100: | Line 101: | ||
|nvvp | |nvvp | ||
}} | }} | ||
<translate> | |||
[[File:Nvvp-pic0.png|thumbnail|300px|NVVP profiler|right]] | [[File:Nvvp-pic0.png|thumbnail|300px|NVVP profiler|right]] | ||
[[File:Nvvp-pic1.png|thumbnail|300px|Browse for the executable you want to profile|right]] | [[File:Nvvp-pic1.png|thumbnail|300px|Browse for the executable you want to profile|right]] | ||
# After the NVVP startup window you get prompted for a ''Workspace''. Replace <code>home</code> | # After the NVVP startup window, you get prompted for a ''Workspace'' directory, which will be used for temporary files. Replace <code>home</code> with <code>scratch</code> in the suggested path. Then click ''OK'' | ||
# | # 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 | |||
## Browse to the <code>cq-formation-openacc/cpp</code> directory | |||
## Select the executable <code>cg.x</code> that was compiled in a previous section. Then click ''OK'' | |||
# Click ''Finish'' to start profiling the executable. | |||
=== NVIDIA NVPROF Command Line Profiler === <!--T:15--> | === NVIDIA NVPROF Command Line Profiler === <!--T:15--> |