Re: [JLSE-Intel-NDA] Using VTune remotely on the Phi
Will, From what I can tell, the system you are on seems to be configured to use the Linux “perf” collector by default. For “hpc-performance” to run with this collector, you will have to configure “perf” in system wide mode. The error you were seeing seems to be related to this. The following page provides some details: https://software.intel.com/en-us/perf_collection_from_lin (I have listed the relevant section below). Unfortunately, the information provided will not help directly (unless you have root privelages on jlse). One workaround is to configure the analysis in the gui & output the command line (click on the “Command Line” button). You will have to check the “Use –collect with action” box to get the command line you need. This approach should work, but as you will see the command line is complicated. You can certainly try this, but I believe there is a simpler workaround. More on this shortly. Regards -michael PS: The relevant section on the page is: NOTE · For uncore events collection, configure Perf to run in the system-wide mode by setting the /proc/sys/kernel/perf_event_paranoid value to 0 or less (root privileges are required). · For the kernel modules resolution<https://software.intel.com/node/84ddf2a4-d4a6-4027-92e3-dce7b0fd7044#GUID-8C1ADD41-432E-4FEA-A5B3-99022E32C258>, make sure you have enough permissions to read kernel symbols information from the /proc/kallsyms file. Perf-based driverless collection can be used for running Advanced Hotspots, General Exploration and Custom event-based sampling analysis types on Linux and Android OS. If the uncore events support is available on the system, the VTune Amplifier may also use the Perf collection for Memory Access, HPC Performance Characterization and General Exploration analysis types with the Analyze memory bandwidth option enabled. From: Will Boyd [mailto:[email protected]] Sent: Wednesday, January 04, 2017 8:36 PM To: D'mello, Michael <[email protected]>; Hammond, Jeff R <[email protected]>; [email protected] Subject: Re: [JLSE-Intel-NDA] Using VTune remotely on the Phi Michael, Yes, that command works, along with "concurrency" and "locksandwaits". Only the "hpc-performance" and "memory-access" fail on KNL. Will On Wed, Jan 4, 2017, 8:09 PM D'mello, Michael <[email protected]<mailto:[email protected]>> wrote: Hi Will, Does this command work?
amplxe-cl –collect advanced-hotspots openmc
Regards -michael From: Will Boyd [mailto:[email protected]<mailto:[email protected]>] Sent: Wednesday, January 04, 2017 4:25 PM To: Hammond, Jeff R <[email protected]<mailto:[email protected]>>; D'mello, Michael <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: Re: [JLSE-Intel-NDA] Using VTune remotely on the Phi I am trying to run VTune on KNL but am running into the following error: $ amplxe-cl -collect hpc-performance openmc amplxe: Error: both cgroup and no-aggregation modes only available in system-wide mode usage: perf stat [<options>] [<command>] -G, --cgroup <name> monitor event in cgroup name only -A, --no-aggr disable CPU count aggregation -a, --all-cpus system-wide collection from all CPUs This command works fine on a Haswell node, but breaks when I run it on KNL. I am able to run VTune with the "hotspots" collection argument without on KNL. Does anyone know how to resolve this issue? Thanks, Will On Tue, Dec 13, 2016 at 6:22 PM Hammond, Jeff R <[email protected]<mailto:[email protected]>> wrote: FWIW based upon my experience trying unsuccessfully to debug why NWChem won’t run in the Vtune GUI, I recommend always using Vtune CLI. It’s a bad habit to get used to fancy features like GUIs and dynamic memory allocation if you want to be a serious HPC person ;-) Jeff From: <[email protected]<mailto:[email protected]>> on behalf of Will Boyd <[email protected]<mailto:[email protected]>> Date: Tuesday, December 13, 2016 at 3:00 PM To: "D'mello, Michael" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [JLSE-Intel-NDA] Using VTune remotely on the Phi Thank you Michael and Jeff. Downloading the results from the VTune CLI and importing them into the VTune GUI locally works great. On Tue, Dec 13, 2016 at 5:35 PM D'mello, Michael <[email protected]<mailto:[email protected]>> wrote: Hi Will, You can use the command line interface to collect the profiling information. For example:
amplxe_cl –collect hotspots ./a.out
You can then move the results (entire directory) over to the environment (Windows or Linux) in which you would like to view the results. regards -michael From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Will Boyd Sent: Tuesday, December 13, 2016 4:30 PM To: [email protected]<mailto:[email protected]> Subject: [JLSE-Intel-NDA] Using VTune remotely on the Phi I am interested in profiling an application on the Phi using Intel VTune. I would like to use the graphical interface for VTune, but have been unable to launch VTune remotely using my local instance of VTune. Does anyone have any recommendations for how to remotely profile my application on the Phi but view the results locally with the VTune GUI on my workstation? Thanks, Will
participants (1)
-
D'mello, Michael