- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Amplifier XE 2015 on Windows 7 and trying to profile 4xMPI processes running on my local machine. I get 3x of the above messages when running 4 MPI processes. Is that expected? That is it seems that XE is having problems profiling multiple MPI processes at the same time.
mpiexec -n 4 amplxe-cl -result-dir my_result_ah -collect hotspots -- <my_exe.exe>
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"Accurate CPU time is disabled..." - this warning message hints that you might use CLI in cmd, which is under administrator privilege.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't experienced message of "...Trace session is already in use" - was it due to some VTune processes remained?
You may try -
amplxe-cl -result-dir my_result_ah -collect hotspots -- mpiexec -n 4 <my_exe.exe> ; which combined performance data from four processes in one result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> amplxe-cl -result-dir my_result_ah -collect hotspots -- mpiexec -n 4 <my_exe.exe> ; which combined performance data from four processes in one result.
Above measures performance data of MPI processes which work on single node, in order to measure MPI processes work on multiple nodes, try:
mpirun -gtool "amplxe-cl -r result_dir -collect hotspots:all=node-wide" -n 4 <my_exe.exe>
Check if previous VTune process is remained in system: "ps -ae | grep amplxe-cl" , kill it if any.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the responses.
I have full administrator privileges on this machine. Note this is on Windows 7. No other instances of ampl are running. I have rebooted to make sure.
I think the interesting information is that I get 3 warnings when profiling 4 MPI processes. Anyway, it seems to be harmless as after starting from scratch after a reboot, although I still get the warning messages, the profile results are all good and complete for all 4 processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a good news that you can get normal VTune's result(s). It seemed that VTune worked on one rank and detected there were performance data collections on other ranks. Yes, it is harmless warning message...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"Accurate CPU time detection" allows to improve the precision of times for active CPU intervals. The collection technology it uses cannot be started twice on a system.
Running
mpiexec -n 4 amplxe-cl -result-dir my_result_ah -collect hotspots -- <my_exe.exe>
you're starting 4 amplxe-cl collections on the system causing this warning to appear. You may simply ignore these warnings actually.
Another way is to try command lines Peter suggested:
amplxe-cl -result-dir my_result_ah -collect hotspots -- mpiexec -n 4 <my_exe.exe>
or
mpirun -gtool "amplxe-cl -r result_dir -collect hotspots:all=node-wide" -n 4 <my_exe.exe><
which will start just one collection session on a system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please note that -gtool option that Peter mentioned enabled only in Intel MPI starting from Intel Paralell Studio XE 2016 Beta (5.1.0) and only for Linux.
Thansk & Regards, Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> Please note that -gtool option that Peter mentioned enabled only in Intel MPI starting from Intel Paralell Studio XE 2016 Beta (5.1.0) and only for Linux.
Hi Dmitry,
I found that I also can use -gtool option in VTune Amplifier XE 2015 U3. You're right - I used IMPI 5.03 on Linux, Cluster system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for all the suggestions! Amplifier XE 2015 works extremely well on both Windows and Linux for me.
Every release has been more robust, faster and with more useful features!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Than you vasci_ for the feedback! We're pleased to hear that!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page