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

Compiler crashes and burns

WSinc
New Contributor I
834 Views
This is caused by the include "flags.inc"
What puzzles me is that the other INCLUDE statement does not cause
any problems, and they are in the same directory folder.

Is there ANY reason why a subroutine can't have more than one INCLUDE statement?

The cut and paste from the output build does not work.
I had to put it into a text file.

0 Kudos
6 Replies
Lorri_M_Intel
Employee
834 Views
I've seen this sort of thing before ...
Could you post your params.inc and flags.inc files, plus the command line you used, and I'll take a look.

thanks --

-- Lorri
0 Kudos
WSinc
New Contributor I
834 Views
The only reference is from VS 2008, and the include statement is in the subroutine I posted.
The other subroutine has the same problem, I will upload it also.
As well as the two include files.

So now the UPLOAD folder should have 5 files in it.

The INCLUDE (FLAGS.inc)statement I added causes the error -
The previous INCLUDE was params.inc, no problem with that one.
0 Kudos
Steven_L_Intel1
Employee
834 Views
See if turning off /warn:interface fixes it. Your log didn't show the compile command, but as a Debug configuration I'm 95% sure that's the problem.
0 Kudos
Lorri_M_Intel
Employee
834 Views
Let me tell you what I've discovered ...

I was able to reproduce your internal compiler error.

The problem seems to be with the warn:interfaces switch, which is on by default in the DEBUGconfiguration.

You are using 12.0 Update 1; I tried your program with the {latest} 12.0 Update 3 and it was able to compile:

X:\tests>ifort /warn:interfaces /c solve.f90 tsolve.f90 /Zi

Intel Visual Fortran Compiler XE for applications running on IA-32, Version 12.0.3.175 Build 20110309

Copyright (C) 1985-2011 Intel Corporation. All rights reserved.

X:\tests>

You can do one of two things; you can take off the warn:interfaces switch or you can upgrade to Update 3.

To turn off warn:interfaces, go to Project->Properties->Fortran->Diagnostics. This brings up quite a long dialog box, scroll down to the section labelled "Language Usage Warnings", and change "Check routine interfaces" to be "No".

I hope this helps --

-- Lorri

0 Kudos
WSinc
New Contributor I
834 Views
Hi Steve -

I could not reply directly to your message, but -

I looked at the project propertires, and there are a whole slew of WARN
things to be turned off and on.

Which one did you have in mind?
0 Kudos
WSinc
New Contributor I
834 Views
Hi Lorri -

OK, I will try that one.

Thanks Bill S.

HEY ! ! ! It Worked ! ! !
0 Kudos
Reply