- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a multi-threaded Fortran program that requires redirected input. I am trying to use it as a target in Inspector XE 2011. I am getting an error. I think the problem with with the redirected input. This is being run in Ubuntu Linux.
Below is an example of how to run the program outside of Inspector XE showing the redirected input.
./TEST < input.lst
To simulate the redirected input in Inspector XE I put the following under Application parameters:
< input.lst
I also tried to put the entire execution command, with the redirected input included,into a shell script and reference TEST as the child application. I get the same errors that way too.
When I run analysis I don't think the program is being executed by Inspector XE. I get errors and exit code 137.
When I reveal the command line I do not see the "< input.lst"appear anywhere.Its absence meansthe redirected input isn't happening. How do I get the redirected input to work in Inspector XE?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
# inspxe-cl -version
Intel Inspector XE 2011 Update 7 (build 189290) Command Line tool
Copyright (C) 2009-2011 Intel Corporation. All rights reserved.
I build a simplest application, and used "Redirect Input" (fort_data.txt file includes a character "5" only)
# ./fort_data.ifort < fort_data.txt
Enter number of repeats
x = 1 , y = 1
x = 2 , y = 2
x = 3 , y = 3
x = 4 , y = 4
x = 5 , y = 5
Also there is no problem to run it by usin inspxe-cl:
# inspxe-cl -collect mi2 -- ./fort_data.ifort < fort_data.txt
Used suppression file(s): []
Enter number of repeats
x = 1 , y = 1
x = 2 , y = 2
x = 3 , y = 3
x = 4 , y = 4
x = 5 , y = 5
Is there any special in your application?
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I followed your example and made a simple program using redirected input. Afterwards I now believe that Insepctor XE isn't working at all. I recently installed Inspector XE and I have not used it before. There were no errors in installing the program, but it clearly isn't working. After running a simple program I get the following messages:
Used supression files(s): []
Error: An internal error has occurred. Our apologies for this inconvenience. Please gather a description of the steps leading up to the problem and contact the Intel customer support team.
Warning: Error: Cannot find input file. Cannot continue.
I think I may not be running Inspector XE correctly or it is not correctly installed.
I built the number of queens example provided with Inspector XE. I built adebug version built with Intel Fortran 2011 (2011.4.191). I enabled OpenMP (-openmp), debug information (-g) and disabled optimization (-o0). I confirmed the program executes outisde of Inspector XE.
I tried to make a project with the Inspecor XE GUI. When I run analysis I get the same errors above.
On the command line I tried the following:
inspxe-cl -collecxt mi2 -- ./queens
I still get the same erros mentioned above. Do you know what can be the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If Inspector XE doesn't work at all on your machine, is it possible that Inspector XE works on untested OS? You may check release notes, or try this product on other machine (with different OS).
You can try - (If see any error message)
amplxe-feedback -create-bug-report
Please send me
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10.04, 10.10 and 11.04
Wait next release and review release notes toknow if version 11.4 is supported.
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Ubuntu 11.04. Sorry for the typo. Is 11.04 supported?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You said, you got Inspector XE to run, but only if you run it as root user on GUI. Is it possible there is permissionproblemof writing in result directory? Try command:
$inspxe-cl -collectmi3 -r /tmp -- application.
Regards, Peter

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page