- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm running an Intel MIC offload openmp application using openmp runtime (with ompt support, both the CPU side and the MIC side), while libiomp5.so on the CPU side can trigger its ompt_intialize() and get profile data, libiomp5.so on the MIC side cannot trigger its ompt_intialize(), so that I cannot get the profile data I want. I'm wondering where the problem is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://www.cs.uoregon.edu/research/tau/tau-installguide.pdf
says MIC is supported only for native execution.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using the binary release that comes with Intel Parallel Studio XE 2016.1 or are you building the library from https://www.openmprtl.org or does that question make no sense at all? I know ompt is in the code in https://www.openmprtl.org; I didn't think it was in the binary release but then I don't really know much about this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry. I just leave out too many details.
I'm not using VTune Amplifier, the fact is, I'm using TAU(Tuning and Analysis Utilities) to instrument MIC offload application with openmp code. TAU is configured with ompt option, and the ompt mentioned above is from TAU release.
libiomp5.so on the CPU side can trigger its ompt_intialize() and get profile data, libiomp5.so on the MIC side cannot trigger its ompt_intialize(), so that I cannot get the profile data I want
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since support for OMPT is not built into the libiomp5.so which ships with the Intel compiler, you must be building your own version. My guess, therefore, is that you haven't managed to have that be the version which is executed by your code. Therefore I think you need to check that (maybe set KMP_SETTINGS=1 and KMP_VERSION=1 to see what the library you are running knows), and talk to the TAU folks about how their MIC libiomp5.so needs to be installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://www.cs.uoregon.edu/research/tau/tau-installguide.pdf
says MIC is supported only for native execution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since support for OMPT is not built into the libiomp5.so which ships with the Intel compiler, you must be building your own version. My guess, therefore, is that you haven't managed to have that be the version which is executed by your code. Therefore I think you need to check that (maybe set KMP_SETTINGS=1 and KMP_VERSION=1 to see what the library you are running knows), and talk to the TAU folks about how their MIC libiomp5.so needs to be installed.
Thanks, James. I'll give it a shot and see what happens.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Thank you, Tim. As far as I know, TAU does support offload execution and I have successfully done a few experiemnts. But things start going wrong when it comes to offload execution with OpenMP.
PS:The TAU folks say they don't support instrumenting openmp offload execution with opari2, so I try to use ompt myself. This is not officially supported by TAU, but seems to be right. However, I cannot get the profile I want. That's it.