Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4975 Discussions

Unable to open results in vTune GUI on MacOS

TimA
Novice
2,262 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
2,090 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

0 Kudos
13 Replies
GouthamK_Intel
Moderator
2,244 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
2,229 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


0 Kudos
TimA
Novice
2,201 Views

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

0 Kudos
TimA
Novice
2,200 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.

0 Kudos
ArunJ_Intel
Moderator
2,188 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


0 Kudos
TimA
Novice
2,187 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

0 Kudos
ArunJ_Intel
Moderator
2,180 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


0 Kudos
TimA
Novice
2,158 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. 

0 Kudos
ArunJ_Intel
Moderator
2,151 Views

Hi TimA,


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


Thanks

Arun


0 Kudos
TimA
Novice
2,141 Views

Here is the hotspot result directory.

0 Kudos
Kirill_U_Intel
Employee
2,115 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

0 Kudos
TimA
Novice
2,091 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

0 Kudos
Reply