- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think:
set scriptpath ""
set scriptpath "[file dirname [file normalize "/___"]]"
is supposed to be:
set scriptpath "${ModulesCurrentModulefile}"
set scriptpath "[file dirname [file normalize "$scriptpath/___"]]"
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel communities.
We were able to reproduce the issue from our end on linux machine with latest version of VTune (2024.0).
We are checking on it internally and will get back to you with an update shortly.
Could you please share your OS and hardware details?
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The install was done on a CentOS 7.9, Xeon E5-2637 machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reporting this issue.
We were able to reproduce it and we have informed the development team about it.
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
This bug is documented in the Intel(R) VTune(TM) Profiler release notes: https://www.intel.com/content/www/us/en/developer/articles/release-notes/vtune-profiler-release-notes.html#inpage-nav-4
and a workaround patch is available at https://www.intel.com/content/dam/developer/articles/release-notes/intel-oneapi-toolkit-release-notes/vtune-2024-fix.tcl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, both the current and patched modules have unbalanced curly braces in:
set modulefilever "[file tail "$scriptpath}"]"
Cheers,
Nuno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reporting this. The Intel(R) VTune(TM) Profiler module file has been fixed in the 2024.2 release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sadly it looks like 2024.02 is broke in a different way...
set script_path "[file normalize [exec readlink -f ${ModulesCurrentModulefile}]]"
...results is something like...
<installdir>/vtune/2024.2/etc/modulefiles/vtune/2024.2
and then...
set PRODUCT_INSTALL_DIR "[file dirname [file dirname $script_path]]"
... turns into ...
<installdir>/vtune/2024.2/etc/modulefiles
What's missing is something that takes off two more level of directories...
set PRODUCT_INSTALL_DIR "[file dirname [file dirname $PRODUCT_INSTALL_DIR]]"
... to get a PRODUCT_INSTALL_DIR to point at the right level...
<installdir>/vtune/2024.2
(At least that's what I had to do....)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is one known issue, which will be fixed in a future release. Here is a workaround:
The target file is something like /opt/intel/oneapi/vtune/latest/etc/modulefiles/vtune/2024XX
set write permissions on the target file and edit the file
Old
set PRODUCT_INSTALL_DIR "[file dirname [file dirname $script_path]]"
New
set PRODUCT_INSTALL_DIR "[file dirname [file dirname [file dirname [file dirname $script_path]]]]"
Open a new shell and load the module again
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page