- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Could you post your params.inc and flags.inc files, plus the command line you used, and I'll take a look.
thanks --
-- Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lorri -
OK, I will try that one.
Thanks Bill S.
HEY ! ! ! It Worked ! ! !
OK, I will try that one.
Thanks Bill S.
HEY ! ! ! It Worked ! ! !

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page