Re: compilers: Compaq, Lahey, Intel
- From: Paul van Delst <Paul.vanDelst@xxxxxxxx>
- Date: Tue, 13 Mar 2007 18:29:15 -0400
allelopath wrote:
This last year, I 'ported' a fortran program that had been compiled
(for years) on Compaq Visual Fortran to the Intel Fortran compiler and
it was kindofa headache. The Compaq compiler seemed sort of 'loose'.
It may have simply been a matter of compiler options selected, but
there were a couple of things that no compiler should let by that the
compaq did (imho).
Now, a guy is writing some new fortran code using the Lahey compiler.
Would a transition from Lahey to Intel be difficult? Are there
specific steps (compiler options? other?) to choose with the Lahey to
make that transition easier?
I would prefer if he use the Intel compiler outright (it is ultimately
what will be used when running). Are there compelling reasons for
doing so at the outset?
Hello,
I have the Lahey, PGI, g95, and gfortran compilers on my linux box. I have the Intel and g95 compilers on my macbook. I also use the IBM AIX xlf95 compiler every day. All the code I write runs on all those different compilers and platforms. And some other folks have built various bits of my code using the Absoft f95 compiler on linux, and on SGIs, Suns. Even Windows!
Lest you think I'm all puffed up with my own importance, the point I'm trying to make is that if all the interested parties agree to a set of coding guidelines that includes writing standard Fortran95 code (maybe including or not the usual TR), then -- apart from issues like added-value debuggers, profilers, optimisation, etc -- the actual compiler shouldn't matter (I can hear everyone in clf-land laughing as I type that :o)
In addition, set up a bunch of tests that you run regularly (daily, weekly, whatever) using the different platforms and/or compilers. That will highlight quickly when code written by the lahey-using fellow breaks, say, the Intel build. Or vice-versa.
I do this sort of thing by hand, but it can be (usually is?) automated. Bil Kleb posted about this sort of thing not so long ago -- I guess it's pretty common where more rigorous software QA is done. For lots of developers, automated is the way to go (of course).
cheers,
paulv
--
Paul van Delst Ride lots.
CIMSS @ NOAA/NCEP/EMC Eddy Merckx
.
- Follow-Ups:
- Re: compilers: Compaq, Lahey, Intel
- From: Bil Kleb
- Re: compilers: Compaq, Lahey, Intel
- From: John Harper
- Re: compilers: Compaq, Lahey, Intel
- References:
- compilers: Compaq, Lahey, Intel
- From: allelopath
- compilers: Compaq, Lahey, Intel
- Prev by Date: Re: How old is the average Fortran programmer?
- Next by Date: Re: compilers: Compaq, Lahey, Intel
- Previous by thread: Re: compilers: Compaq, Lahey, Intel
- Next by thread: Re: compilers: Compaq, Lahey, Intel
- Index(es):
Relevant Pages
|