On Feb 20, 2015, at 10:01 AM, George Bosilca <bosi...@icl.utk.edu> wrote:
> 
> Great. Using grep I couldn't find how this is handled anywhere in the source 
> directory. But it seems to me that the Fortran layer is now way more 
> complicated than I initially thought.

Fortran is your friend.
(repeat until you believe it)

FWIW, that increment has been there since the very beginning.  So this 
particular aspect is nothing new.

But there are other aspects of the Fortran layer that are more complicated than 
I wish they were.  Honestly, if I could dedicate a week, I would love to re-do 
the Fortran layer from scratch and generate (almost) all the Fortran code based 
on the results of compiler tests from configure.  I.e., we already have a fixed 
set of the Fortran API prototypes; we already generate all the relevant Fortran 
header files from it.  It would be great to generate (almost) all the relevant 
Fortran function definitions from it, too.  That would eliminate a LOT of the 
complexity in our Fortran bindings implementation.

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to