Fortran compilers
Fortran compilers
(OP)
I'm trying to resuscitate an old command-line analysis program that was last compiled in an 8-bit mode. It runs on 32-bit Windows OS's but not 64-bit Windows versions. We have the source code, done in Fortran 90 I assume because it's mostly free of line numbers.
I downloaded a compiler (mingw) but so far I'm unsuccessful in compiling. It's probably not fully installed so I'm not done there yet.
That said, has anyone else successfully brought forth and old program and recompiled it? What compiler did you use?
Thanks,
David
I downloaded a compiler (mingw) but so far I'm unsuccessful in compiling. It's probably not fully installed so I'm not done there yet.
That said, has anyone else successfully brought forth and old program and recompiled it? What compiler did you use?
Thanks,
David






RE: Fortran compilers
One other option is to machine translate it into C++ and then compile that.
Or write your own compiler.
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: Fortran compilers
- Steve
RE: Fortran compilers
David
RE: Fortran compilers
You may be better off going back to the program's original requirements and creating something in a more modern environment. If it's doing some file input, data processing and results presentation, I'd be tempted to suggest an interpreted language suce as Matlab (which costs money) or one of the free substitutes (octave, or python with suitable maths and graphics add-ons).
- Steve
RE: Fortran compilers
Our IT programming staff is booked out 2 years right now.
I was simply trying to recompile into a 16-bit executable (is currently 8-bit) so that we wouldn't need a shell emulator to continue using this program on 64-bit workstations.
David
RE: Fortran compilers
- Steve
RE: Fortran compilers
RE: Fortran compilers
http://www.microsoft.com/en-us/download/details.as...
http://www.microsoft.com/en-us/download/details.as...
TTFN

FAQ731-376: Eng-Tips.com Forum Policies
Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers
RE: Fortran compilers
RE: Fortran compilers
A more recent employer is running a POS system they bought in 1972, on modern IBM hardware, through Linux and multiple layers of emulation. My experience with that horrid, undocumented patchwork makes me appreciate your IT Director's reticence.
... but come to think of it, every IT Director I've encountered was basically a Useless Impediment. I capitalized the phrase because they work so hard at it.
Can you get the project authorized as an Engineering Project, not under control of IT in any way? You might still be able to get a little off-line help from the IT staff, but understand that helping you on company time would be a Career Decision for them. They teach that in IT Director School.
Mike Halloran
Pembroke Pines, FL, USA
RE: Fortran compilers
It may be possible to bring the code forward and recompile using gfortran but I'm still bewildered by the old code and variety of code styles in these old files. Doesn't resemble any of the F77 I did back in college.
David
RE: Fortran compilers
"Wildfires are dangerous, hard to control, and economically catastrophic."
Ben Loosli
RE: Fortran compilers
Now, they're in a position where they can't fix it, because the long term users scream if any of the counterintuitive and bizarre keystroke sequences they've memorized are changed even a little bit. They don't even look at the screen to navigate the system, mostly because the screen prompts are misleading or missing.
I tried to map it. It seems to have pieces and subfunctions that I've seen in other AS/400 based systems, but there isn't a menu system linking it all together. It's like they stole a piece from one place and another piece from another place, and so on, which is sort of what they did, as functions were added over the years by different generations of folks who were used to doing things in different ways.
I had them add a simple derivative menu option for me. It took a couple of days, and worked as I had asked. ... but none of my coworkers could see it. IT had to add that menu option individually for every user who would like to have it. ... word of mouth was the only way to find out about the existence of menu options that might be of use to you. The perfect menu suite for my uses is probably still hidden in there, somewhere.
Mike Halloran
Pembroke Pines, FL, USA
RE: Fortran compilers
As my old boss was fond of saying: A problem postponed is a problem half solved. You haven't solved your problem, you've just put off the inevitable to a later date.
An anecdote from my experiences over the years:
When I first started working for my current employer (1990), Matlab was not as ubiquitous as it is today. It was seen as a tool for people with serious data analysis and reduction needs. So it was popular in our controls (matrix maths) and NVH (signal analysis) departments. A colleague of mine had written huge amounts of Matlab extensions (in C) to speed up the tasks that standalone Matlab had problems with. So we had a large toolbox of (largely undocumented) C functions to recompile each time Matlab moved through a version barrier that prevented the existing binaries from working. The original author made several hacks to allow the original (obsolete) code to be recompiled - the hacks got dirtier and dirtier. Then he left. By now the department was handing out (selling) compiled binaries to customers - compiled binaries from an uncontrolled, hacked source that nobody understood or even knew how to recompile. I told the manager on many occasions that there will be a point where it all falls over and he should be investing in getting this code into the modern era and under some kind of control and have someone in charge of it. But immediate gains outweighed long-term strategy, as is always the case.
- Steve
RE: Fortran compilers
RE: Fortran compilers
RE: Fortran compilers
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: Fortran compilers
David Simpson, PE
MuleShoe Engineering
"Belief" is the acceptance of an hypotheses in the absence of data.
"Prejudice" is having an opinion not supported by the preponderance of the data.
"Knowledge" is only found through the accumulation and analysis of data.
The plural of anecdote is not "data"