- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all~
I use vtune to find out the hotspot of the program, but when I try to edit the code through double-click the hotspot code line it says that"
cannot open the external text editor for this file.Suggestion:make sure the text editor is set in the EDITOR or VISUAL enviroment variable
and supports a filename as an argument.”
Then I tried to write “export EDITOR=gedit” into the file ~/.bashrc. But it still failed.
Does anybody know how to address this issue?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi sun:
Prior to starting amplxe-gui, execute "echo $EDITOR", what is the output?
If it is gedit and it doesn't work, try changing it to vi and see if that even works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MrAnderson (Intel) wrote:
Hi sun:
Prior to starting amplxe-gui, execute "echo $EDITOR", what is the output?
If it is gedit and it doesn't work, try changing it to vi and see if that even works.
MrAnderson, Thanks for your reply.
Prior to starting amplxe-gui, the output of the command"echo $EDITOR" is “ gedit”.
However, when I try to edit the soure through double-clicking the code line, Vtune has no response to it instead of showing a warning.
Then I changed the enviroment $EDITOR=vi and started the vtune again, but it still had no response to it.
Do you know what is happening there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the same console window were you set the EDITOR variable, what happens when you attempt to execute the 'gedit' command? If it works in the shell and then you invoke VTune Amplifier XE and attempt to double-click on the source, it should work as well, since VTune Amplifier XE inherits the shell environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MrAnderson (Intel) wrote:
In the same console window were you set the EDITOR variable, what happens when you attempt to execute the 'gedit' command? If it works in the shell and then you invoke VTune Amplifier XE and attempt to double-click on the source, it should work as well, since VTune Amplifier XE inherits the shell environment.
Thank you very much!
Problem has been solved!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,I have encountered the same problem as you , but I have not solve it. I have other question about use vtune. Can you leave your WeChat or QQ ? I have to use vtune in my current research direction ,I hope to your help. happy new year!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, when l use vtune to analyze python programs, I show Binaryfile of the analysis target does not contain symbols required forprofiling. In addition, there are /usr/sbin/ldconfiginit_int() instrumentation failed. Profiling data may be missing. Leave your WeChat or QQ? Ihope to get your help.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page