- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to profile the my MPI application executing on HOST+MIC using symmetric mode execution. I used the following command but it says cannot execute binary. I source the amplxe-vars.sh then used the following
mpirun -host test -n 2 amplxe-cl -collect hotspots -r result-dir1 ./hello : -host test-mic0 -n 4 amplxe-cl -collect hotspots -r result-dir1 ./hello.mic
Can someone help me to profile my MPI application in symmetric mode execution.
As a second option I tried
amplxe-cl -collect hotspots -r result-dir1 -- mpirun -host test -n 2 ./hello : -host test-mic0 -n 4 ./hello.mic
Please correct If I am doing it wrong.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nisha,
It looks like 'I_MPI_MIC=on' environment variable is missed. Also please make sure that your application binaries have correct file format (for example with objdump utility).
You can find the similar case in the Intel MPI Library User's Guide: Troubleshooting on Linux*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately amplxe-cl runs on the host, not the coprocessor. There is no amplxe-cl on the coprocessor. However, there is an amplxe-runss (which amplxe-cl starts up remotely) and sep (the hardware event collector). I was looking for documentation on how you might use amplxe-runss directly but there really doesn't seem to be any. There is, however, https://software.intel.com/sites/default/files/managed/35/7d/SEP_Users_Guide.pdf. Sep is what people have traditionally used on the coprocessor and this is probably where you want to start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Artem
Thanks for the reply, I used I_MPI_MIC enabled, but it says cannot use binary amplxe-cl. As I was launching the profiler amplxe-cl from host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Frances
Thanks for the reply and sharing the information. To do the profiling of applictaion running on
MIC using native mode execution where hello_mic is the binary compiled for MIC. Which
one is the correct approach. I am launching the profiling form the HOST and what is the role
played by option " target-system" , as for my case its throughing an error " Cannot create object
mic-host-launch. Please help.
option 1: amplxe-cl -collect hotspots -- mpirun -np 1 -host host-mic0 ./hello_mic
option 2:amplxe-cl -target-system=mic-host-launch -collect advanced-hotspots -app-working-
dir test
-- mpirun.mic -np 1 -host host-mic0 ./hello_mic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page