- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
It is impossible (at least, without workaround, see below) to compile the new DOM interface in FoX (Fortran XML library, by Toby White) due to a compiler error in the intel fortran compiler.
This has been tested and confirmed with versions 10.0.023 and 9.1.040 of the fortran compiler (on Fedora Core 6, x86_64 Pentium D processor, and Fedora 7, x86_64 Core 2 Duo processor).
This error can be reproduced by downloading the library from the following URL:
http://www.uszla.me.uk/software/source/FoX/FoX-2.2-rc1.tgz
Extract it and execute the following:
config/configure FC=ifort && make
The reported error is:
fortcom: Severe: m_dom_dom.f90, line 5679: Please report this error along with the circumstances in which it occurred in a Software Problem Report
arg%nodeValue(n+1:n+len(getData(this))) = vs_str(getData(this))
^
[ Aborting due to internal error. ]
compilation aborted for m_dom_dom.f90 (code 1)
There is a workaround for this bug.
By splitting the offending line in two:
i = n+len(getData(this))
arg%nodeValue(n+1:i) = vs_str(getData(this))
the code compiles fine.
However, this still means that their is an error in the compiler.
I am unable to log into the premier.intel.com, so I'm reporting the bug here.
Greetings,
Wim
Link Copied
- 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
In the meantime, I will try this library code and see if I can reproduce the problem.
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did discover a minor bug in the FoX library code. In source m_pxf_abort_flush.f90 is this:
#ifdef F2003
interface
subroutine abort(), bind(c)
end subroutine abort
end interface
#define FC_HAVE_ABORT
#endif
That comma before bind(c) should not be there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Done.MADsblionel:
You have correctly identified the offending source statement and the workaround. Please report this to Intel Premier Support and reference T79900-CP.
I'll contact the author.MADsblionel:
I did discover a minor bug in the FoX library code. In source m_pxf_abort_flush.f90 is this:
#ifdef F2003
interface
subroutine abort(), bind(c)
end subroutine abort
end interface
#define FC_HAVE_ABORT
#endif
That comma before bind(c) should not be there.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page