# Recommended profiling tools?

**URL:** <https://forums.developer.nvidia.com/t/recommended-profiling-tools/154206>\
**Category:** Legacy PGI Compilers (archived)\
**Created:** [September 11, 2020, 9:06pm UTC](https://forums.developer.nvidia.com/t/recommended-profiling-tools/154206 "2020-09-11T21:06:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ytz15](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ytz15](https://forums.developer.nvidia.com/u/ytz15)\
**Post date:** [September 11, 2020, 9:06pm UTC](https://forums.developer.nvidia.com/t/recommended-profiling-tools/154206/1 "2020-09-11T21:06:46Z")

</div>

Hi Everyone,

I want to improve my skills on profiling openacc programs. So far I 'm using Nsight VSE for this task, but it’s kind of awkward, as I need to compile the code using from PGI bash, and then go to visual studio, create an useless empty project and profile the previously created executable. My question is, is there a better way to profile the OpenACC code ?

I learned that there’re also nvprof, visual profiler, nsight compute, nsight systems. What’s the difference between them ? and which one should I choose ?

Thanks!

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [September 14, 2020, 4:07pm UTC](https://forums.developer.nvidia.com/t/recommended-profiling-tools/154206/2 "2020-09-14T16:07:01Z")

</div>

I typically am running on remote Linux clusters so need to use the command line interfaces to the profiling tools, save the profile to a file, then open the profile in the GUI for inspection. I’m not a Windows users myself but would think the same process would work there as well.

> I learned that there’re also nvprof, visual profiler, nsight compute, nsight systems. What’s the difference between them ? and which one should I choose ?

Nvprof is the older profiler and is being superseded by Nsight Systems and Nsight Compute. Compute is best for understanding the low level performance of individual kernels. Systems is best to see the high level profile for a complete run and can be visualized over a timeline graph.

> **[Migrating to NVIDIA Nsight Tools from NVVP and Nvprof | NVIDIA Technical Blog](https://developer.nvidia.com/blog/migrating-nvidia-nsight-tools-nvvp-nvprof/)**
>
> If you use the NVIDIA Visual Profiler or the nvprof command line tool, it’s time to transition to something newer: NVIDIA Nsight Tools. Don’t worry! The new tools still offer the same profiling /

---

<div class="post-metadata">

**Author:** ![ytz15](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ytz15](https://forums.developer.nvidia.com/u/ytz15)\
**Post date:** [September 16, 2020, 3:11pm UTC](https://forums.developer.nvidia.com/t/recommended-profiling-tools/154206/3 "2020-09-16T15:11:30Z")

</div>

Hi Mat,

Thanks for your information. Can I ask what command line profiler you are using ? I only know nvprof can be run on command line interface and the results can be open in visual profiler. But you said they’re going to be deprecated. Thanks,

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [September 16, 2020, 4:25pm UTC](https://forums.developer.nvidia.com/t/recommended-profiling-tools/154206/4 "2020-09-16T16:25:49Z")

</div>

I use both Nsight-Systems and Nsight-Compute’s command line interfaces depending on what type of profile I’m generating. .
