Home » Intel » Doctor Fortran in “It’s a Modern Fortran World”

Doctor Fortran in “It’s a Modern Fortran World”


I just lately obtained a duplicate of “Numerical Computing with Up to date Fortran”, by way of Richard Hanson and Tim Hopkins, and stated what number of books on Fortran are being printed just lately with “Up to date Fortran” within the titles. It seems this isn’t a brand new phenomenon – a search on Amazon.com displays that this phrase has been used for books on Fortran ninety and even Fortran seventy seven! I chatted about this with two of the more moderen books’ authors, asking why they felt it important to qualify Fortran that means. The reply used to be normally that many programmers’ view of Fortran is caught within the F77 and even F66 days and that it used to be useful to prod them into considering of Fortran as brand new, which in fact it’s. A facet merit, I assume, is that they are able to reuse the title when the usual adjustments!

Anyway, I determined to take this house to record the present set of “up to date” books in the marketplace, a few of which I’ve learn and a few I have never. They may be all totally different and enchantment to totally different audiences and wishes.

Numerical Computing with Brand new Fortran – Richard J Hanson and Tim Hopkins – SIAM, 2013, ISBN 978-1-611973-1-2

I’ve recognized Dr. Hanson professionally for quite a few years – he used to be previously the manager mathematician at Visible Numerics, Inc. (now Rogue Wave Device), builders of the IMSL library. Dr. Hanson was once the primary purchaser to ever inquire from me what Intel’s plans had been for coarrays, which at the moment used to be nonetheless a suggestion for Fortran 2008. When he despatched me a duplicate of his e book, I used to be anticipating a textual content heavy on mathematical formulae, however that is now not what we’ve right here.

The target audience Hanson and Hopkins take into account is the Fortran programmer who’s neatly versed in older variations of the language, however is unfamiliar with Fortran 2003/2008 or is not positive how the brand new options could be advisable. This isn’t a reference guide nor a “research Fortran from scratch” textual content. The authors methodically work their means thru units of options which can be new: free-type supply, modules, derived sorts, widely wide-spread methods, polymorphism and recursion. Every chapter introduces the ideas in an incremental type, displaying how they’re appropriate to issues ceaselessly present in numerical programming.

However there may be extra… After a few “case learn about” chapters, Hanson and Hopkins dedicate chapters to parallelism (OpenMP, MPI and coarrays), the IEEE Floating Level intrinsic modules and C interoperability. Ultimately there are chapters on cleansing up out of date code, software trying out, compilers and different helpful instruments.

I preferred this e-book so much and suggest it to someone who thinks their Fortran talents are “rusty”. The writing type may be very approachable and it is helpful even for these now not doing numerical computing.

Up to date Fortran in Follow – Arjen Markus – Cambridge College Press, 2012, ISBN 978-1-107-60347-9

I’ve by no means met Arjen Markus, however he has been a widely wide-spread contributor to the Intel Fortran consumer boards and we now have corresponded lots. His e-book has a an identical way to that of the Hanson/Hopkins work above in that it assumes you understand the basics of at the least Fortran seventy seven and walks you via issues which were introduced to the language when you consider that then. Markus focuses extra on sensible examples, and covers themes comparable to reminiscence allocation, C interoperability and takes a helpful diversion into including pix, GUI and Web conversation to Fortran code. He additionally spends a while on writing powerful code and methods to take a look at it correctly, subject matters which might be extraordinarily treasured. Markus additionally has a chapter on parallelism, once more overlaying OpenMP, MPI and coarrays. There is quite a few excellent recommendation on this e-book.

Up to date Fortran – Norman Clerman and Walter Spector – Cambridge College Press, 2012, ISBN 978-0521514538

Whereas I had no longer met Norm Clerman in particular person except only a year or two in the past, he is been a purchaser for most likely 15 years. His optical modeling application introduced out the worst in Digital Visible Fortran, and it took a few years of computer virus fixing prior to shall we even assemble his entire software. His code used to be stylish, but it surely made heavy use of Fortran ninety modules, public/personal attributes, USE renaming and extra. Over the years, the collection of computer virus studies dropped and he persisted to make use of the Digital, Compaq after which Intel compilers. Clerman was once tickled to listen to that we had a whole check suite composed of best his sources.

I’ve no longer learn Clerman and Spector’s e-book, however just like the others I speak about above it seeks to convey a Fortran programmer in control with what the present language deals, with a dose of favor suggestions that I’m certain are profitable.

Brand new Fortran Defined – Michael Metcalf, John Reid and Malcolm Cohen, Oxford College Press, 2011, ISBN 978-0199601417

That is the e book that the majority everybody who’s studying Fortran has on their desk. I do not assume I’ve met Mike Metcalf, however John Reid and Malcolm Cohen I do know smartly during the Fortran requirements committee. Reid is the ISO Fortran Working Team chair and Cohen has been the editor of the usual for a lot of years. In contrast to the books above, this can be a full reference for the language and is likely one of the first locations our builders flip once they need to higher take into account a characteristic they may be enforcing. It can be way more readable than the Fortran usual itself and has numerous explanatory textual content and examples.

There is but some other “Up to date Fortran” e book within the works with the aid of Damian Rouson, who at the moment teaches at Stanford College. I’ve met Damian once or twice and we’ve got had prolonged conversations over e-mail and phone. He already has one e book out, Scientific Device Design: The Object-Oriented Manner,  which will offer you a touch as to the place his pursuits lie. This one most likely is not going to be printed unless 2015, he tells me.