- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am running VTune Amplifier XE 2013 Update 14. Are the meanings of exit-code values of amplxe-cl similar to that of Inspector?
Thanks,
Frankie
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the exit code(value)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello iliyapolak,
Exit code value is 4. And that means "Application returned a non-zero exit code.", according to Intel Inspector. So I wonder if I should see the exit code from VTune Amplifier the same way as Intel Inspector.
Frankie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use option "-return-app-exitcode" to know application' exit code. For example: amplxe-cl -collect concurrency -return-app-exitcode -- C:\test\sample.exe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Follow Peter's advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Unfortunately that's not what I am asking about. I would like to know how to interpret the exit code of amplxe-cl itself.
Referring to Intel Inspector Help, there is a 'Command Line Output' : 'Exit Code' section. Is the VTune Amplifier following the same rule described there?
Thanks,
Frankie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no exit code check for amplxe-cl itself...can you use "amplxe-cl -command status -r result-dir" for a running collection?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Peter,
I would like to check the status of the amplxe-cl, similar to this for Intel Inspector
The inspxe-cl command returns the following exit codes:
0 Success and no new problems detected
1 Usage error
2 Internal error
4 Application returned a non-zero exit code
8 At least one new problem detected
12 Application returned a non-zero exit code and at least one new problem detected
It would be useful for automation. From what I see, it is already returning some of the above, but I cannot be sure without the stated documentation.
Frankie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no description in doc of VTune Amplifier, it is not guaranteed all return exit code can be used. Do you hope it could be a new feature request? I don't think that it can be used without doc declaration. I can help to escalate this to dev team.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Peter,
That would be great. Thanks!
Frankie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have reported this to dev team. I will post if any progress.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following error codes are valid for Amplifier (amplxe-cl) if option -return-app-exitcode is not specified:
0 Success
1 Usage error
2 Internal error
4 Application returned a non-zero exit code
5 Application returned a non-zero exit code and Usage error
6 Application returned a non-zero exit code and Internal error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the information.
Frankie
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page