Hi all
By way of encouragement, and as one with a little experience at least of
porting from Unix to Wintel, even just the structural improvements from f77
to f90 are worth the effort.
What is below comes under the heading a 'thing to watch' when porting
fortran from 'real' Unix platforms (as opposed to linux - of which I am
supportive) to Wintel.
Apart from the non-standard extensions, text data files in Unix (perhaps
'obviously' for some) have different line returns, and may (?) be treated
differently at end of file in 'read to end of file' constructs - see (very
simple) example snippet below - reading 'data' from unit 4 in free format.
Example code:
68 read(4,*,end=69)data
.......
....... [other code ?]
.......
go to 68
69 [continue] OR [executable]
(Yeah, I still prefer fixed form.)
>From recall, I think that if you use a labeled executable, it will be
executed in Unix on a Unix data file (?), but then it will NOT be executed
in Wintel at the 'end of file'.
I hope I have not conspired to confuse, burt I do not have time to set up
and test to duplicate this past experience.
Gary Hargraves
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|