Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Fortran --> Python (was linux engineer)
- Date: Thu, 7 Jun 2012 18:30:43 +0900
- From: Nicolas Limare <nicolas+tlug@example.com>
- Subject: Re: [tlug] Fortran --> Python (was linux engineer)
- References: <CA+hLB24QCwzJdnUAqb_xgQJuTuERrxy8o8VnRRRXpZNyP45dPw@mail.gmail.com> <20120606145641.d069eb462b8be9a831d855f9@kinali.ch> <20120606182726.5c175889.jep200404@columbus.rr.com> <87k3zk9dcy.fsf@uwakimon.sk.tsukuba.ac.jp> <CAA2hLfE_yS16cNUA3WcvJ7TQ_rhWNH1nwJ+Zbp=Qx+KwTAE9kQ@mail.gmail.com> <20120607065721.GB7452@xray.astro.isas.jaxa.jp>
- User-agent: Mutt/1.5.21 (2010-09-15)
> As for the question "Why (still!) Fortran?": When I was in graduate > school (20 years ago...sigh), we had a collaborator from Germany > who constructed state-of-the-art stellar atmospheres. I asked him how > big his (fortran) code was. "When I was in grad. school it was a few > million lines...I haven't counted since then.") So... Who is going > to re-write a few million lines of Fortran code into Python? (And > why?!) Dijkstra wrote, in EWD498 "How To Tell Truths thet Might Hurt?", In the good old days physicists repeated each other's experiments, just to be sure. Today they stick to FORTRAN, so that they can share each other's programs, bugs included. Irony aside, rewriting these codes is a colossal work, but multi-million lines codes written by a researcher can not be read and verified, and will likely include lots of bugs and differences between the documentation and implementation of the algorithms. A clean rewrite with well defined APIs and unit tests would be necessary to make computational research verifiable and reproducible. > It's a good bet that graduate students studying under him did not write > their own stellar atmosphere code in perl or python or c They could write in C or C++, mixing these languages with FORTRAN is easy. Unless the PhD advisor can't read C or C++, which is frequent. > I've also heard from some theoriticians - even 'young' ones - that > Fortran is still the superior language for numerical work. I think the superiority is in the compilers, better tuned for unusual HPC architectures than gcc or icc. They also benefit from the possibility to manipulate the FORTRAN array types better than any C/C++ programmer would do in loops over scalars. -- Nicolas LIMARE http://nicolas.limare.net/ pgp:0xFA423F4FAttachment: signature.asc
Description: Digital signature
- Follow-Ups:
- Re: [tlug] Fortran --> Python (was linux engineer)
- From: Josh Glover
- References:
- [tlug] linux engineer
- From: S Gibson
- Re: [tlug] linux engineer
- From: Attila Kinali
- [tlug] Fortran --> Python (was linux engineer)
- From: jep200404
- [tlug] Fortran --> Python (was linux engineer)
- From: Stephen J. Turnbull
- Re: [tlug] Fortran --> Python (was linux engineer)
- From: jrjohansson@example.com
- Re: [tlug] Fortran --> Python (was linux engineer)
- From: BALUTA Chris
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Good shared office available near to Akihabara?
- Next by Date: Re: [tlug] Fortran --> Python (was linux engineer)
- Previous by thread: Re: [tlug] Fortran --> Python (was linux engineer)
- Next by thread: Re: [tlug] Fortran --> Python (was linux engineer)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links