[ET Trac] [Einstein Toolkit] #1333: Fortran module in GRHydro_InterfacesM.h is nonsensical

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Apr 23 03:48:30 CDT 2013


#1333: Fortran module in GRHydro_InterfacesM.h is nonsensical
-----------------------------------+----------------------------------------
 Reporter:  rhaas                  |       Owner:     
     Type:  defect                 |      Status:  new
 Priority:  major                  |   Milestone:     
Component:  EinsteinToolkit thorn  |     Version:     
 Keywords:  GRHydro                |  
-----------------------------------+----------------------------------------
 since
 1.) the module is stored in a .h file
 2.) the .h file is included at the *top* of .F90 files
 3.) the routines for which modules are declared are mostly C routines that
 do not live in a module

 as a result should one actually "use" the module in eg con2prim then one
 would get a link time error looking for the non-existent fortran module
 routine

 I probably also creates all kinds of race conditions to have the same
 module defined in more than one source file, it also carefully circumvents
 the Cactus module tracking mechanism.

 It is highly confusing and misleading to have the module present when in
 fact it cannot be used.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1333>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list