Re: Compiler query

From: Herman D. Knoble (SkipKnobleLESS_at_SPAMpsu.DOT.edu)
Date: 06/28/04


Date: Mon, 28 Jun 2004 10:15:21 -0400

Windows 2000 is probably the worst Windows when it comes
to the DOS Box. Windows XP is probably the best in this connection.

Outside of a Fortran 90 compiler (like Salford FN95 or Lahey LF95)
which compiles Fortran 77 as a subset of Fortran 90,
there is really no better free Fortran 77 than Salford FTN77. There is
documentation available (Library.pdf and Userguide.pdf)
which detail extensions. Suggest that
you write a supbrogram to implement what seems to me as a
most unconventional ALLOC "command". If you need to process
parameters passed to the Fortran .EXE, see the Command_Line
function in Library.PDF. UserGuide.PDF tells how to use libraries.

 Skip Knoble, Penn State

On 27 Jun 2004 03:15:01 -0700, aenathras@beenlogoed.com (Aenathras) wrote:

-|I don't know if anyone can point me in the right direction(s) here.
-|
-|I have a legacy Fortran program compiled with an old version of
-|Microsoft Fortran and running in a 'DOS box' under Windows. No
-|graphical interface is required - it is a black box for another
-|program - it just has to work under Windows 2000 now.
-|
-|I started off searching for a Fortran compiler to use - as the moment
-|I am using Salford FTN77 - the code was Fortran 77 - and although the
-|coding environment is basic I can get it to compile and link. If there
-|is a better/more user friendly compiler out there I am open to
-|suggestions. The compiler will need to be used in a commercial
-|environment.
-|
-|The problem that I have with this compiler though is to write Fortran
-|code that will read in the number of parameters at run time and then
-|to be able to store the parameters as file variables for processing.
-|For instance I would have a command:
-|
-|ALLOC file1.dat file2.dat 2 D
-|
-|where
-| ALLOC is the program name (ALLOC.EXE)
-| file1.dat is the name of the file to input data from
-| file2.dat is the name of the file to output data to
-| 2 is a parameter which control what the program does
-| D is an optional parameter (standing for Debug) telling the program
-|to
-| show intermediate results - hence the need to know the number of
-|parameters
-|
-|I need to know the syntax for the code to deal with parameters in
-|Salford (or a.n. other compiler) and how to link the libraries at the
-|compile/link stage so that the final program can process arguments
-|correctly.
-|
-|It can't be that unusual request - it is just a case of finding an
-|alternative to the Microsoft option.
-|
-|Ideas very welcome - code snippets even more welcome :)
-|
-|Aenathras

   Herman D. (Skip) Knoble, Research Associate
   (a computing professional for 38 years)
   Email: SkipKnobleLESS at SPAMpsu dot edu
   Web: http://www.personal.psu.edu/hdk
   Penn State Information Technology Services
    Academic Services and Emerging Technologies
     Graduate Education and Research Services
   Penn State University
     214C Computer Building
     University Park, PA 16802-21013
   Phone:+1 814 865-0818 Fax:+1 814 863-7049



Relevant Pages

  • Re: DFPORT
    ... I work on a Windows XP platform. ... We normally use F77 Fortran and for this one problematic program we ... Since we also have the Intel Fortran compiler, we also had a lot of ... Windows Fortran comper (with appropriate libraries). ...
    (comp.lang.fortran)
  • Re: LAPACK
    ... >>what do I have to do for installing LAPACK on a pc with windows XP??? ... You need a Fortran compiler, unless you want to use CLAPACK. ... The speed of LAPACK is very dependent on the quality of your BLAS. ...
    (sci.math.num-analysis)
  • Re: How to compile MS Fortran 1.0 app to run under WinXP?
    ... By MS Fortran 1.0 do you mean IBM Personal Fortran v1.0 (which ... It targets DOS 1.x and file operations ... MS Fortran 5.1 (their last 16 bit compiler) to a DOS EXE ... The IBM Personal Fortran 1.0 is subset F77, ...
    (comp.lang.fortran)
  • Re: "Visual" Fortran?
    ... > If you what a cheap/free FORTRAN compiler for Windows, ... > to beat the Watcom Compiler: ... > FORTRAN is likely to be a very poor choice. ... > Visual Basic 6.0 to do teh GUI from end, ...
    (comp.lang.fortran)
  • Re: who can help me? about OpenMP
    ... I know nothing about how Intel has implemented their compiler on ... Your best source of info on that is the Intel Fortran ... Fortran Compiler for Windows & Visual Fortran ...
    (comp.parallel)