Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
4554 Discussions

Unable to open results in vTune GUI on MacOS

TimA
Novice
913 Views

I ran a basic hotspot analysis in a remote HPC environment using the amplxe-gui available on the remote machine. The GUI is extremely slow through SSH, so I downloaded vTune for MacOS to view the results locally. I copied over the entire project directory and opened the .amplxeproj file with no trouble. Then, when I tried to open one of the results (r002hs), I get a popup that says "Intel vTune Profiler experienced an unexpected error." and the description is "Segmentation fault: 11". Crash log is attached. 

I am using MacOSX Big Sur, if that's relevant. I know there can be compatibility issues with this OS.

Any help would be greatly appreciated.

0 Kudos
1 Solution
TimA
Novice
741 Views

Krill,

I was not able to find the directory that you mentioned on my Mac. I updated the file on the Linux machine to what you posted and that did not fix the issue. 

I solved the problem though. What I did was I installed vTune on a Mac with macOS Catalina (10.15), rather than Big Sur (10.16). On the older OS, the program worked. This is just a compatibility issue with the new MacOS. 

Tim

View solution in original post

13 Replies
GouthamK_Intel
Moderator
895 Views

Hi,

Thanks for reaching out to us!

As your issue is related to Vtune, we have a dedicated forum for Vtune related issues.

We are redirecting this thread to the Vtune forum for a faster response.

Have a Good day!


Thanks & regards

Goutham


ArunJ_Intel
Moderator
880 Views

Hi TimA,


From the logs I can see you are using Intel(R) oneAPI VTune(TM) Profiler 2021.1.1 Gold version on your Mac OS.


Could you check and let me know the version of vtune that you are using on your HPC cluster(remote machine). You will be able to get the version information with the below command.


vtune --version


Thanks

Arun Jose


TimA
Novice
852 Views

I am using Intel vTune Amplifier XE 2017 on the remote machine.

Kirill_U_Intel
Employee
866 Views

Also you could try to run VTune remote collection from your Mac to target HPS system.

https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-ta...

 

just need to setup passwordless access

https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-ta... 

Kirill

TimA
Novice
851 Views

Unfortunately, I can't do password-less access because this is a cluster that is available for the whole university. To log in, I need a password and then dual factor authentication on top of that. Otherwise, the Remote Linux Host option would be the perfect choice here.

ArunJ_Intel
Moderator
839 Views

Hi  TimA,


The version of Vtune you are using seems a bit old. Could you please download and install OneAPI toolkit in your HPC cluster and use the Vtune profiler which is a part of the toolkit for collecting results.


You will get download link for OneAPI toolkit by following the below link.


https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit/download.html




Thanks

Arun


TimA
Novice
838 Views

Arun,

 

Is there anything else that I could do to successfully open these files on my Mac? This cluster services the entire university and I am just a single user. I don't have any sort of access to upgrade their software. 

 

Best,

Tim

ArunJ_Intel
Moderator
831 Views

Hi TimA


You would be able to install the oneAPI toolkit in your users home directory. The you can source ~/intel/oneapi/setvars.sh script which makes the vtune used latest oneAPI version.






Thanks

Arun


TimA
Novice
809 Views

I installed the oneAPI Base Toolkit on the remote machine. Because of permissions, I was not able to install as root. However, I got vTune profiling to work using the new install. I ran the same hotspot analysis on the same code and generated a .vtune file rather than a .amplxe file, which indicated to me that I was using the new vTune and not the Amplifier I was using before. One issue I found was that I could not source setvars.sh. I kept getting the error:

bash: setvars.sh: line 59: syntax error near unexpected token `('

bash: setvars.sh: line 59: `usage() {'

 

Regardless, I was able to generate a .vtune file. I moved the r000hs folder over to my Mac and tried to load it into the vtune-gui. The GUI was unable to load the file and gave me the same error as before. I've attached the crash log which will show this. This leads me to believe that something is wrong on my end. I've reinstalled oneAPI on the Mac and that did not help. Notably, there is no problem if I use vtune in the command line by running 'vtune -report summary' to view the results on my Mac. 

ArunJ_Intel
Moderator
802 Views

Hi TimA,


Could you attach your vtune result directory here, so we could try reproducing the issue from our end.


Thanks

Arun


TimA
Novice
792 Views

Here is the hotspot result directory.

Kirill_U_Intel
Employee
766 Views

Hi,

thank you for sharing results. I've reproduced issue on my side and redirected issue to dev team for fixing that.

As workaround, could you dump file VTUNE_INSTALL_DIR\config\connection_type\localhost.cfg with content

<?xml version="1.0" encoding="UTF-8"?>
<bag
  xmlns:boolean="http://www.w3.org/2001/XMLSchema#boolean"
  xmlns:int="http://www.w3.org/2001/XMLSchema#int"
  xmlns:double="http://www.w3.org/2001/XMLSchema#double"
  xsl:version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:exsl="http://exslt.org/common"
  exsl:keep_exsl_namespace=""
  syntax="norules">
  <internal>
    <name>%LocalhostConnection</name>
    <shortName>%LocalhostConnectionShortName</shortName>
    <description>%LocalhostConnectionDescription</description>
    <alias>localhost</alias>
    <int:schemaVersion>1</int:schemaVersion>
    <int:contentVersion>1</int:contentVersion>
    <property name="helpId"></property>
  </internal>
  <knobs>
  </knobs>
  <config xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:exsl="http://exslt.org/common" exsl:keep_exsl_namespace="">
    <targetOption>localhost</targetOption>
  </config>
  <context>
     <contextValue id="connectionType">localhost</contextValue>
     <contextValue id="fileRequiestLogic">local</contextValue>
  </context>
  <properties
      boolean:useStdErrAsFeedback="false"
      binaryNameTag="binaryName"
      targetSessionType="localhost"
      deviceAlias="%LocalhostDeviceAlias"
  > 
  </properties>
</bag>

on your Mac host and try open results again?

Sorry for inconvenience, Kirill

TimA
Novice
742 Views

Krill,

I was not able to find the directory that you mentioned on my Mac. I updated the file on the Linux machine to what you posted and that did not fix the issue. 

I solved the problem though. What I did was I installed vTune on a Mac with macOS Catalina (10.15), rather than Big Sur (10.16). On the older OS, the program worked. This is just a compatibility issue with the new MacOS. 

Tim

View solution in original post

Reply