re: Upgrading an OLD (Fortran Powerstation 4.0) compiler
From: Alex Gibson (news_at_alxx.net)
Date: 03/12/05
- Next message: optionstraderjeff: "Re: Getting g95 to work"
- Previous message: Michael Metcalf: "Re: problems with recursive algorithm for dynamic time warping"
- In reply to: Elton: "Upgrading an OLD (Fortran Powerstation 4.0) compiler"
- Next in thread: bv: "Re: Upgrading an OLD (Fortran Powerstation 4.0) compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 12 Mar 2005 19:59:47 +1100
"Elton" <newsuser@dataforpros.com> wrote in message
news:42322242$1_1@127.0.0.1...
> Our office has an extensive project that needs to be upgraded badly. It's
> currently in Fortran 77 format using MS Fortran PowerStation 4.0 as the
> complier. I'd keep working with this arrangement except for the need of a
> nice user interface and it seems NO ONE uses a dos/text interface anymore.
> I've found a file from my predecessor with a note that Microsoft turned
> into digital that turned into Compaq, but that's where the trail goes
> silent.
>
> I'm looking for suggestions / information on upgrading FPS 4.0.
> Alternatively is it possible to integrate FPS with Visual Basic or C++ as
> the frontend interface?
>
> Thanks in advance,
> E.T.
Its a fairly easy process to update from f77 in powerstation to cvf/ivf
depending on your code ,any extensions used etc
Upgrade the command line app frist then add the graphical stuff.
1. convert to free form source
2. convert and compile as f90 and fix any errors
3. compile using different compilers
4. check results and get someone else to double check results as well
5. optional convert to f95
If just for windows , compile as a dll
then call from whatever language you decide to use for the graphical front
end.
Quite easy to have one project and have different configurations for
commandline exe and as dll (just use different build directories).
C# is more like vb6 than vb.net(IMO)
Could use c, c++, c#,delphi, java , fortran , vb6 , vb.net .
compiler options for windows - most vendors have 30 day demo versions.
cvf - compaq visual fortran , still sold by HP, not actively maintained or
developed
ivf - Intel Visual fortran , sucessor to CVF
http://developer.intel.com/software/products/compilers/windows/
Absoft - don't know I've never used the windows version
http://www.absoft.com/
Lahey - don't know I've never used it, they have win32 and dot net compilers
http://www.lahey.com/
FTN95 - Silverfrost , was Salford, they have win32 and dot net compilers,
best checking of errors/diagnostics. have a free personal edition
http://www.silverfrost.com/11/ftn95/overview.asp
NA software Fortran Plus ??
http://www.nasoftware.co.uk
gfortran - beta of f95 from gnu (open source)
http://www.gfortran.org/index.php?n=Main.Windows?
g95 - another fortran 95 (opensource ?) project also beta
http://g95.sourceforge.net/
With vb6 you used to be able to do it like
vb program
Declare Sub FortranCall Lib "Fcall.dll" (r1 As Single, num As Single)
fortran subroutine
SUBROUTINE FortranCall (r1, num)
implicit none
!DEC$ ATTRIBUTES DLLEXPORT :: FortranCall
!DEC$ ATTRIBUTES ALIAS:'FortranCall' :: FortranCall
REAL,INTENT(IN) :: r1 ! Input argument
REAL,INTENT(OUT) :: num
num = r1*r1
return
END SUBROUTINE
Some good info here
http://www.canaimasoft.com/f90VB/OnlineManuals/Default.htm
Alex Gibson
- Next message: optionstraderjeff: "Re: Getting g95 to work"
- Previous message: Michael Metcalf: "Re: problems with recursive algorithm for dynamic time warping"
- In reply to: Elton: "Upgrading an OLD (Fortran Powerstation 4.0) compiler"
- Next in thread: bv: "Re: Upgrading an OLD (Fortran Powerstation 4.0) compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|