- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I use Fortran third party software named Winteracter to build engineering app. My simple question is how can I run inspector outside Visual studio and inside Winteracter to perform Static security analysys in the code. My main concern is about uninitialized variables. Is there any compiler switch that I can add to make inspector avaiable during the building?
Thanks in advance
Peter
- Tags:
- CC++
- Debugging
- Development Tools
- Fortran
- Intel® Inspector
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- 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
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
P R. wrote:It seems that ifort can't recognize the directives from Winteracter, I downloaded a demo of OpenGL from http://www.winteracter.com/demo.htm C:\DemoGL>ifort /Od /Qdiag-enable:sc3 /Qdiag-enable:sc-full gldemo.f90 Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 1 3.0.1.119 Build 20121008 Copyright (C) 1985-2012 Intel Corporation. All rights reserved. gldemo.f90(33): error #7002: Error in opening the compiled module file. Check I NCLUDE paths. [WINTERACTER] USE WINTERACTER ----------^ gldemo.f90(39): error #6457: This derived type name has not been declared. [WI N_MESSAGE] TYPE(WIN_MESSAGE) :: MESSAGE ...... So only way is to do dynamical memory check, such as - C:\DemoGL>inspxe-cl -collect mi2 -knob resources=false -knob stack-depth=1 -- gl demo.exe Used suppression file(s): 33 new problem(s) found 1 Invalid memory access problem(s) detected 6 Invalid partial memory access problem(s) detected 22 Memory leak problem(s) detected 1 Memory not deallocated problem(s) detected 3 Uninitialized memory access problem(s) detected Then use inspxe-gui to check error report.I used that example and it runs fine. No problems with static analysis with no errors or warnings reported. The main issue is inside Winteracter IDE perhaps with one compiler option. I also would like to say that Winteracter builds windows app. So, Winteracter is a windows app builder and not a console app like the one I tested. What can I do?
Thanks in advance
- 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
P R. wrote:I never try to rebuild gldemo.f90 just use existing gldemo.exe, downloaded from demo site. I think that associated winteracter's lib already was linked to gldemo.exeThanks
I would like to tell you that you can not perform a build action with demogl.f90 becuase you do not have acess to the winteracter .lib modules. So, if you still want to help me one this you should download from winteracter the trial version and then compile it. Otherwise all efforts are useless.
thanks a lot for everything
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
P R. wrote:ifort doesn't understand directive "USE WINTERACTER", MACRO "WIN_MESSAGE" - which are defined in winteracter's environment? Copyright (C) 1985-2012 Intel Corporation. All rights reserved. gldemo.f90(33): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [WINTERACTER] USE WINTERACTER ----------^ gldemo.f90(39): error #6457: This derived type name has not been declared. [WIN_MESSAGE] TYPE(WIN_MESSAGE) :: MESSAGEI do not know if I understood what you said. But, winteracter uses intel compiler. It calls ifort to make the build. So, it is weird that you say that there is no way to make static analysis. The last paragraph I really didn't understood....
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page