• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

eComStation + students, sci-tech labs

Started by Glenn, 2009.04.01, 20:17:56

Previous topic - Next topic

Glenn

http://www.os2world.com/content/view/18842/2/
QuotePosted by Martin Iturbide - Tuesday, 31 March 2009


The site [. .. .

As a student, I'd really like to have a Fortran 90/95 (or later... Fortran 2008 ?) compiler for OS/2... I think there were commercial compilers for Fortran 90 in the middle of last decade but they have been discontinued long ago and cannot be found anywhere now.

Scientific software for OS/2 is still lacking. Octave is not bad but does not measure up to Matlab in terms of usability and possibilities, and the syntax is not always exactly the same, which does not help. There is no more Maple or Mathematica for OS/2 (The last Maple for OS/2 was Maple V R4.x). However, both Matlab and Maple now use Java internally, at least for some functions (when Matlab has some processing crash, you can often see a block of Java errors...). Maybe it's time for Serenity to also see eCS as a scientific platform and get agreements with Mathworks and Maplesoft to help make a new port to the OS/2 platform.
I use Matlab daily at my university, be it for research of for preparing homeworks, and without Matlab eCS is not viable for me as a scientific platform.

BTW: was Lahey for OS/2 a Fortran 90 ? I got the floppies for it (from eBay), but I am either missing one of them, or one of them does not work properly, and I have never been able to install it properly. If someone has a copy of this piece of software, please PM me...

The Blue Warper

Hi, Glenn,

I don't know much about it myself, 'cause I'm not a developer, but could OpenWatcom Fortran compiler do the job for you?  It's Fortran77, and you might give it a try, if you feel so.  They recently released v1.8.

This is OpenWatcom home page (just in case you don't know...):
http://openwatcom.org/index.php/Main_Page

Download page:
http://openwatcom.org/index.php/Download

Manuals:
http://openwatcom.org/index.php/Manuals

Hope this helps!

Paul Smedley

Quote from: Glenn on 2009.04.01, 20:17:56
http://www.os2world.com/content/view/18842/2/
QuotePosted by Martin Iturbide - Tuesday, 31 March 2009


The site [. .. .

As a student, I'd really like to have a Fortran 90/95 (or later... Fortran 2008 ?) compiler for OS/2... I think there were commercial compilers for Fortran 90 in the middle of last decade but they have been discontinued long ago and cannot be found anywhere now.

It may be possible to build a current version of the GNU Fortran compiler - let me know if you're interested and I could see if it builds.

Cheers,

Paul.

Michaelhz

Quote from: Paul Smedley on 2009.04.02, 13:02:38

It may be possible to build a current version of the GNU Fortran compiler - let me know if you're interested and I could see if it builds.
... well, i have done this in former times for EMX environment. Worked very well for a mechanical dynamic simulation program. AFAIK GNUFortran is a Fortran77 +some f90 extensions compiler.
Porting was not a big issue at that time, so i suppose with your build environment it is even more easy today...

Michael

Glenn

Quote from: The Blue Warper on 2009.04.02, 12:16:32
I don't know much about it myself, 'cause I'm not a developer, but could OpenWatcom Fortran compiler do the job for you?  It's Fortran77, and you might give it a try, if you feel so.  They recently released v1.8.
Hope this helps!

Hi Blue Warper, Paul,

I am not very good at Fortran (I never had a Fortran class..), I just modify codes that I got from professional programmers. I have already tried adapting a piece of code that I needed to run so it compiler on Watcom but it never worked (I had some basic help but I did not dare ask for more help when I got stuck with incompatibilities...)

Quote from: Paul Smedley on 2009.04.02, 13:02:38
It may be possible to build a current version of the GNU Fortran compiler - let me know if you're interested and I could see if it builds.

Cheers,

Paul.

yes I would be interested. Something even better would be (but I don't know who could do that) to have the M$ extensions to Fortran. Nonetheless, I would really appreciate having a modern Fortran compiler on eCS!
About these M$ extensions: The main compiler at my University is the M$ (that became Digital that became Compaq, that is now Intel Visual Fortran) and people are trained to program with this compiler that apparently has a few proprietary extensions. That makes it even more difficult for me to compile their codes on eCS because I have not found clear help about these extensions (the guy who helped me with my code some time ago told me about these additions to conventional Fortran without giving me more details). I really don't know what the GNU g90 compiler is made of (maybe these extensions have already been integrated) so I cannot really tell if there is additional work on top of the port.


On the Octave/Matlab topic: although (as already said) I like Matlab and many of Matlab's functions and usability improvement are still unavailable in Octave (which makes Octave a no-go for me, except for very short uses), I would like to add that I am grateful to D. Froloff (http://froloff.homeip.net/) for keeping Octave/GNUPlot up to date (or almost, current version is 3.0.4 and OS/2 version 3.0.0).