home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zephyr.ens.tek.com!uw-beaver!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!bauwens
- From: bauwens@acs.ucalgary.ca (Luc Bauwens)
- Newsgroups: comp.os.os2.misc
- Subject: Re: Fortran under OS2
- Message-ID: <92Aug21.032105.19362@acs.ucalgary.ca>
- Date: 21 Aug 92 03:21:05 GMT
- References: <20AUG199215502516@elroy.uh.edu>
- Sender: news@acs.ucalgary.ca (USENET News System)
- Organization: The University of Calgary, Alberta
- Lines: 44
- Nntp-Posting-Host: acs5.acs.ucalgary.ca
-
- In article <20AUG199215502516@elroy.uh.edu> elee969@elroy.uh.edu (Brown, William J.) writes:
- >
- >I am not at all familiar with the world of OS2, so I'm hoping that someone might
- >answer a few questions for me. As part of my research, I do quite a bit of
- >fortran programming which requires the use of rather large arrays. When I try
- >to run these programs thru Windows, I find I have to do quite a bit of tweaking
- >with the compiler settings just to get them to run. Even then, I still don't
- >get the correct answers, so I suspect my problem is the wacky memory limitations
- >of dos. Anyway, my question is - Are there fortran compilers for OS2 that will
- >allow me to run these large programs without having to worry about memory? I
- >know that the MS fortran is supposed to run under OS2 but I am quickly losing
- >faith in it. Also, I have a 386/40 with 8 megs of ram, is this machine capable
- >of handling OS2? How big should my hard drive be? Right now I have a 40 meg
- >hd which is compressed with Stacker, but I have heard that Stacker is not
- >compatible with OS2. Any input will be greatly appreciated.
-
- I am using Watcom Fortran 386 ($250.00 after academic discount; look
- at their add in Byte for their 1-800 phone No.). I used to use
- MS Fortran 5.0 and then 5.1, under DOS and eventually (5.1) under
- OS/2.
-
- The main difference is that Watcom is 32 bits while MS is 16 Bits.
- The 32 bits compiler addresses up to 4 GBytes of memory under the
- "small" (i.e., flat) memory model and I don't know how much under
- the large (i.e., segmented) memory model.
-
- And yes, it makes life *much* simpler if you are hitting the roof of 640k,
- or if you have arrays larger than 64k.
-
- The Watcom compiler does allow you to write DOS and Windows 32 bits
- apps, using an extender in the case of DOS, and the 32 bits mode
- for Windows. BUT it's kind of a pain to use it under DOS or
- under Windows. The compiler itself likes to be able to work within
- the 32 bits flat memory space of OS/2. (Ever ran into the problem
- of running out of memory when compiling a fairly large, say 2000 lines,
- routine with MS Fortran in DOS, and having to cut your routine
- in smaller pieces?)
-
- So, I would say, if you write Fortran code, you run into one of those
- conditions in which, even buggy and with its somewhat sluggish GUI,
- OS/2 2.0 is unarguably superior to anything else on the market
- today.
-
- Luc B
-