Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

CVF6.6C Update / Winteracter

monmouth
Beginner
1,665 Views
I am not sure if this is the place to discuss this anymore but I thought you maybe interested Steve? We have been using the CVF 6.6C update for a little while now without any problems. Today we discovered that Winteracter libraries no longer work, giving rise to the error "This module file was generated for a different platform or by an incompatible compiler or compiler release. It cannot be read." Reverting to version 6.6A or 6.6B the problem does not exist.This is not a problem for us as we will leave one machine at 6.6B for modifications to this program but thought that the forum may be interested.
Stuart
ps if you are out there "Bear of Little Brain" Happy New Year!!
0 Kudos
14 Replies
Steven_L_Intel1
Employee
1,665 Views
Get the new version of 6.6C I posted on the first.
0 Kudos
monmouth
Beginner
1,665 Views
Thanks Steve. The only excuse I have is that I was a little worse for wear on the first!!
Stu
0 Kudos
Steven_L_Intel1
Employee
1,665 Views
Do let me know if this solves the problem for you.
0 Kudos
monmouth
Beginner
1,665 Views
Steve. Everything is working well now. Thanks for your help.
Stu
0 Kudos
larsm
Beginner
1,665 Views
Steve!

The new update works for me too, including the program sources that I submitted to vf-support@compaq.com.
Thanks!

But I noticed the following in the release notes:

3993 - Allow SAVE only within a subprogram.

Surely SAVE is allowed in both the main program (although with no effect) and within modules according to the standard?

LarsM
0 Kudos
Steven_L_Intel1
Employee
1,665 Views
Hmm - you're right, the standard does allow that. I wonder what we missed here. We'll investigate.
0 Kudos
Steven_L_Intel1
Employee
1,665 Views
The actual change is that the compiler issues a standards warning for use of the SAVE attribute in a main program, if you ask for standards warnings. The use of the SAVE statement doesn't get this warning.
Nonetheless, the warning is incorrect - as you point out, the standard says "The SAVE attribute may appear in a main program and has no effect." We'll fix this on the Intel side for the future. Thanks for noticing.
0 Kudos
larsm
Beginner
1,665 Views
Sorry to be nagging, but just to make it clear: the same warning occurs for the SAVE attribute in modules as well and not only in the main program.

Best wishes

LarsM
0 Kudos
Steven_L_Intel1
Employee
1,665 Views
Right.
0 Kudos
Steven_L_Intel1
Employee
1,665 Views
I can't reproduce the problem for SAVE in modules. Do you have an example? SAVE in modules is legal and meaningful.
0 Kudos
larsm
Beginner
1,665 Views
Steve!

In fact, it occurred in the sources that I submitted to you
for reference CVF21217 on December 3rd.

File CVFTEST.ZIP.

For example, in module COMBINE on this line:

INTEGER, SAVE :: ndim, sel_node

Best wishes

LarsM
0 Kudos
Steven_L_Intel1
Employee
1,665 Views
Sorry, Lars, I don't see that behavior with your volter.f90 source.
0 Kudos
larsm
Beginner
1,665 Views
Steve!

I tried the sources exactly as I sent to you and it did occur.

BUT: it only occurred when I had "Fortran Standards Checking" on and set to "Fortran 95".
Does that account for our different behaviors?

Lars
0 Kudos
Steven_L_Intel1
Employee
1,665 Views
My error - was using the wrong compiler. I see it now - thanks.
0 Kudos
Reply