[ET Trac] [Einstein Toolkit] #165: Intel compiler complains wrongly about incompatible argument lists in Fortran
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Jan 6 15:39:10 CST 2011
#165: Intel compiler complains wrongly about incompatible argument lists in
Fortran
-----------------------+----------------------------------------------------
Reporter: eschnett | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: Cactus | Version:
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by eschnett):
This is not an issue with modules; we figured out how to build with
modules in Fortran. The Cactus make system pre-processes the Fortran
files, looking for "include" and "use" statements, and then introduces the
corresponding dependencies. Some people introduce these dependencies by
hand, but this is in general not necessary.
The problem here is that the Intel compiler creates a pseudo-module for
each source file, and checks these even without any use statements. For
example:
file A.f90 contains subroutine A
file B.f90 calls subroutine A
In this case, the Intel compiler acts as if file A defined a module, and
as if file B used that module.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/165#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list