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.

Conversion from CVF to IVF

Intel_C_Intel
Employee
407 Views
Hi.
The company I work for recently updated our Fortran compiler from CVF 6.6 to IVF 8.1. I run IVF with MS Visual Studio 2003.NET, under Windows 2000. I had to convert two Fortran programs : a nonlinear programming solver and a software used to simulate flow behavior in a network. Both programs have no Windows interface : they run in a console.
Converting the solver went well. Converting the other software was quite a different challenge. I checked all options, comparing setups between CVF and IVF. The program runs well when compiled with CVF. With IVF, I can compile and link. The execution is in trouble. Weird characters appear, references to variables are lost. I added lines in the code (write (*.*) )to dump extra information in the console : the program crashed to another line somewhere in the code. I tried to debug the program : it crashed somewhere else...
I don't know what's wrong. Is there an option that can help correct this problem? As I mentioned, the program runs well using CVF 6.6. Since it is not supported anymore, we moved to IVF. There is a lot of included files containing common blocks shared between Fortran files...
Any idea? Thanks.
Francois
0 Kudos
2 Replies
Steven_L_Intel1
Employee
407 Views
The first thing I would recommend is making sure you're using a current compiler version - 8.1.025 is the latest.

The symptoms you describe sound like stack corruption. This can be caused by a mismatch of calling conventions, array bounds errors, argument mismatches, and other errors. If after your own debugging you can't solve it, please submit a case to Intel Premier Support and include everything needed to reproduce the problem - we'll be glad to look into it.
0 Kudos
Intel_C_Intel
Employee
407 Views
Thanks for your quick reply.
I downloaded w_fc_pc_8.1.025.exe on Febrary 1st. To be sure, I reinstalled it and recompiled everything. I still have the weird behavior.
I'll send a request to Intel Premier Support for help.
Francois
0 Kudos
Reply