|
From: rudra on 11 Apr 2008 01:33 the extension of f2003 is "f03" (see gfortran manual) so you may as well refer it by the same name. and congrats for your thesis submission
From: Richard Maine on 11 Apr 2008 01:52 rudra <bnrj.rudra(a)gmail.com> wrote: > the extension of f2003 is "f03" (see gfortran manual) so you may as > well refer it by the same name. The idea of using file name extensions to indicate the language version is not widely accepted. I personally recommend against it. Note that in common usage, the f90 extension indicates free source form - not the language version. In any case, just because gfortran accepts something, that doesn't make it any kind of defacto standard... much less prove that it will be acceptable by the sometimes strict rules of thesis writing style. -- Richard Maine | Good judgement comes from experience; email: last name at domain . net | experience comes from bad judgement. domain: summertriangle | -- Mark Twain
From: FX on 11 Apr 2008 05:11 >> the extension of f2003 is "f03" (see gfortran manual) so you may as >> well refer it by the same name. > > The idea of using file name extensions to indicate the language version > is not widely accepted. I personally recommend against it. gfortran does not use file name extensions to recognize language version. They're used to recognized source form (fixed or free form) and the need for preprocessing; that can of course be overridden by compiler options. file.f file.for file.ftn Fixed form Fortran source code which should not be preprocessed. file.F file.FOR file.fpp file.FPP file.FTN Fixed form Fortran source code which must be preprocessed (with the traditional preprocessor). file.f90 file.f95 file.f03 file.f08 Free form Fortran source code which should not be preprocessed. file.F90 file.F95 file.F03 file.F08 Free form Fortran source code which must be preprocessed (with the traditional preprocessor). (see http://gcc.gnu.org/onlinedocs/gfortran/GNU-Fortran-and-GCC.html or http://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html) If Rudra were kind enough to give me a pointer to where in the gfortran documentation he found text implying that f03 indicates Fortran 2003 code, I would correct it. -- FX
From: Gerry Ford on 11 Apr 2008 07:41 "FX" <coudert(a)alussinan.org> wrote in message news:ftna0s$1d64$1(a)nef.ens.fr... >>> the extension of f2003 is "f03" (see gfortran manual) so you may as >>> well refer it by the same name. >> >> The idea of using file name extensions to indicate the language version >> is not widely accepted. I personally recommend against it. > > gfortran does not use file name extensions to recognize language version. > They're used to recognized source form (fixed or free form) and the need > for preprocessing; that can of course be overridden by compiler options. > > file.f > file.for > file.ftn > Fixed form Fortran source code which should not be preprocessed. > > file.F > file.FOR > file.fpp > file.FPP > file.FTN > Fixed form Fortran source code which must be preprocessed > (with the traditional preprocessor). > > file.f90 > file.f95 > file.f03 > file.f08 > Free form Fortran source code which should not be preprocessed. > > file.F90 > file.F95 > file.F03 > file.F08 > Free form Fortran source code which must be preprocessed > (with the traditional preprocessor). > > (see http://gcc.gnu.org/onlinedocs/gfortran/GNU-Fortran-and-GCC.html > or http://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html) > > If Rudra were kind enough to give me a pointer to where in the gfortran > documentation he found text implying that f03 indicates Fortran 2003 code, > I would correct it. Nuts, Francois-Xavier, Send these file-typers to their own records. I'm hoping soon to make my own .f03's: survivors of a second opinion. -- "That this social order with its pauperism, famines, prisons, gallows, armies, and wars is necessary to society; that still greater disaster would ensue if this organization were destroyed; all this is said only by those who profit by this organization, while those who suffer from it - and they are ten times as numerous - think and say quite the contrary." ~~ Leo Tolstoy
From: Gary Scott on 11 Apr 2008 11:30 FX wrote: >>>the extension of f2003 is "f03" (see gfortran manual) so you may as >>>well refer it by the same name. >> >>The idea of using file name extensions to indicate the language version >>is not widely accepted. I personally recommend against it. > > > gfortran does not use file name extensions to recognize language version. > They're used to recognized source form (fixed or free form) and the need > for preprocessing; that can of course be overridden by compiler options. > > file.f > file.for > file.ftn > Fixed form Fortran source code which should not be preprocessed. > > file.F > file.FOR > file.fpp > file.FPP > file.FTN > Fixed form Fortran source code which must be preprocessed > (with the traditional preprocessor). Differentiating between upper and lower case is definitely objectionable. My file types are always lower case and do require preprocessing. I assume there are override options. <snip> -- Gary Scott mailto:garylscott(a)sbcglobal dot net Fortran Library: http://www.fortranlib.com Support the Original G95 Project: http://www.g95.org -OR- Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html If you want to do the impossible, don't hire an expert because he knows it can't be done. -- Henry Ford
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Write to file: need a variable format specifier Next: Doubt about formula transcription |