- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I turned of warning for F2008 and in some routines I get the warning
Fortran 2008 specifies that an elemental intrinsic function here be of type integer or character and each argument must be an initialization expr of type integer or character . [ABS]
So I commented out all lines with ABS in them and I stijll get the warning. Many other routines use ABS without this warning. What does it mean?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would suggest giving an example line of code that gives the message, including the declarations of the variable(s) used...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you show enough of the code so we can place this in context?
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It doesn't give a line number, just highlights the first line of code.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It doesn't give a line number, just highlights the first line of codeIf you are not familiar with the multiple output windows in the IDE, use a command window, where there is only one output device to which STDOUT and STDERR outputs get sent.
At a minimum, you have to be willing to present the source code for, without that, we could try to compile a million Fortran programs at random and still fail to reproduce the errors that you mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a USE SPACE statement in the file, so please attach the source code for that module, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can't see how it's relevant
Neal, please bear with me for a few minutes. It is relevant because without it I cannot compile the main subroutine. Secondly, space.f90 has USE OSIRMODS in it, so I am going to need the source for that as well; in fact, we need all the module sources that are in the chain from subroutine DATA_DOC. You can, if you prefer, zip all the needed sources into a single archive and attach just the archive instead of all the single files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DATA_DOC has "USE SPACE"
SPACE.MOD is not a module produced with your supplied "space.f90"
Therefor, whatever is being USE'd is not your space.f90, it is some other space.mod file.
Please clarify what is being used.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I managed to compile these two sources by declaring empty types from those that come from the OSIRIS module, but could not reproduce the error. It would be best if you could attach a ZIP of the project showing the problem and including the buildlog.htm with the warning. If you don't want to post it here, you can use "Send author a message" and do it that way, or use Intel Premier Support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I appreaciate all the suggestions and help, but as it stands, I think I'll just let it remain a curiosiy not worth pursuing. Obviously no one else has hit this, and perhaps it does not exist in release 13 (I have 12), I'll probably upgrade to the next major release, and then see if it still happens.

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