- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi folks,
I'm a newbie at using vtune, and have installed it for my group on one of our linux boxes.
All of us with the default shell (/bin/bash) can run this command just fine:
/opt/intel/ptu/bin/vtssrun prof -- ls
However, one of our developers has /usr/local/bin/zsh (symlink to /bin/zsh) as his shell.
( Coincidentally, only /bin/zsh is listed in /etc/shells , but that should not be an issue )
When he runs the command above, the command freezes, and we need to cntl-c out of it.
We discovered that if he moves his .zshrc to .zshenv, then vtune will run fine.
What's odd is, there is not much out of the ordinary in the file --
it is quite large, but simply a bunch of exports and defining functions.
When we stick 'strace -f ' in front of that command above, it hangs on 'futex',
after creating the sock successfully.
Would be nice if it printed out some debug/error msg, instead of just hanging.
Cheers, Rory
I'm a newbie at using vtune, and have installed it for my group on one of our linux boxes.
All of us with the default shell (/bin/bash) can run this command just fine:
/opt/intel/ptu/bin/vtssrun prof -- ls
However, one of our developers has /usr/local/bin/zsh (symlink to /bin/zsh) as his shell.
( Coincidentally, only /bin/zsh is listed in /etc/shells , but that should not be an issue )
When he runs the command above, the command freezes, and we need to cntl-c out of it.
We discovered that if he moves his .zshrc to .zshenv, then vtune will run fine.
What's odd is, there is not much out of the ordinary in the file --
it is quite large, but simply a bunch of exports and defining functions.
When we stick 'strace -f ' in front of that command above, it hangs on 'futex',
after creating the sock successfully.
Would be nice if it printed out some debug/error msg, instead of just hanging.
Cheers, Rory
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
fyi - we noticed when we removed the following line from his .zshrc:
export ROOT=/home/y
then vtune would work fine.
e.g. if you run the command without "ROOT" set in zsh env, it works fine:
[user@box]~% /opt/intel/ptu/bin/vtssrun prof -- ls
...
Stop request has been processed..
but if you define "ROOT" env var at the zsh prompt, it hangs:
[user@box]~% ROOT=blah /opt/intel/ptu/bin/vtssrun prof -- ls
export ROOT=/home/y
then vtune would work fine.
e.g. if you run the command without "ROOT" set in zsh env, it works fine:
[user@box]~% /opt/intel/ptu/bin/vtssrun prof -- ls
...
Stop request has been processed..
but if you define "ROOT" env var at the zsh prompt, it hangs:
[user@box]~% ROOT=blah /opt/intel/ptu/bin/vtssrun prof -- ls
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page