Hi Mandeep,
On Tue, Apr 9, 2013 at 9:34 AM, Singh, Mandeep
<[log in to unmask]> wrote:
> Hello all,
>
> I am working in a new group now. The source code is mostly Fortran 77 and little bit of Fortran 90 (along with C++ UI and some very optimized assembly code). I am trying to encourage programmers to use the newer Fortran 95/2003/2008 and even some useful Fortran 90 features. The issue is with large amount of legacy code is working fine so there is a cost in converting older code. But, for newer code I want to encourage them to start exploring newer features.
I like to write a very simple Fortran 90 interface for F77, an example
for Lapack is here:
https://github.com/certik/fortran-utils/blob/master/src/lapack.f90
and then use it from Fortran 90 like any other Fortran 90 code, an example here:
https://github.com/certik/fortran-utils/blob/master/src/linalg.f90
That way I get the best of both worlds. All new code is modern
Fortran, but I can call F77 in a safe and robust way.
>
> I want to use features that give biggest bang for the buck and make for easier maintainability.
>
> With some many experts on this forum, can you point me to some ppt or material on newer Fortran features. That I can run through with some lunch n learn session to wet their appetite. Then, we can dig deeper. If there any on-line classes that would be good as well.
>
> If there are any suggestions or experiences please share as well.
I have been maintaining a page about modern Fortran for exactly this purpose:
http://fortran90.org/
There are also great books, some of them are referenced here:
http://fortran90.org/src/faq.html#what-are-good-books-to-learn-fortran-from
and there are also many other great online resources, some of them
referenced here:
http://fortran90.org/src/faq.html#what-are-other-good-online-fortran-resources
I will be very happy to update the page with more links or information.
Ondrej
|