Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

C/C++ Debugger Displays FORTRAN Variables

peledrg
Beginner
720 Views
I have installed FORTRAN compiler 8.1 in Visual Studio .NET. I flagged Qzero and Qsave for Fortran. Since I installed the new FORTRAN complilermy"C++"compiler showsvariables as they appear in FORTRAN.
double var1[3];
Will display in "C++" watch compiler:
+var1 REAL*8
var(1) 0.00000
var(2) 0.00000
var(3) 0.00000
Any settings that I can do to overcome this problem?
0 Kudos
5 Replies
Steven_L_Intel1
Employee
720 Views
Is this a Fortran project or a C++ project? I would not expect to see this for a C++ project.
0 Kudos
peledrg
Beginner
720 Views
Steve,
Theproject is a large legacy FORTRANapplication that in the last few years, had many enhancements in "C". Therefore, there is a need to use both the FORTRAN and the "C" debugger.
If I do not set the Qzero and the Qsave then I do not have the problem with the variables being displayed in "FORTRAN" format. However, I do need the Qzero and Qsave settings since there are thousands of uninitialized variables, and/or variables that needed to retain their value but were not properly set at development time.
Any words of wisdom?
0 Kudos
Steven_L_Intel1
Employee
720 Views
I have not heard of this problem before. When I get back to the office on Monday (I'm travelling today) I will try some experiments. I'd recommend creating a small example, if possible, and submitting it to Intel Premier Support if you want to get things going sooner. I'd ask you to do that sooner or later anyway.
0 Kudos
peledrg
Beginner
720 Views
Steve,
I have un-installed the entire Visual Studio .NET and re-installed it and the problem went away. This should not have been necessary to do. Uninstalling the Fortran compiler 8.0 and installing 8.1 should have worked. In fact the problem of displaying Fortran variables showed up in a small "pure C" program that I have created.
I am all set, but it would be nice if you could figure out why this has happened to me.
Here is the "about" information from the Visual Studio that we are using:
Microsoft Development Environment 2003 Version 7.1.3088
Microsoft ,NET Framework 1.1 Version 1.1.4322
Intel Fortran Compiler Integration for Microsoft Visual Studio .NET 2003, Version 8.1.2380.2003, Copyright (C) 2002-2004 Intel Corporation
Thanks for your help
Rachel
0 Kudos
Steven_L_Intel1
Employee
720 Views
I agree it should not have occurred. But we have seen the occasional problem with VS.NET not correctly registering our added software.
0 Kudos
Reply