CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Who knows Salford Fortan-77? (https://www.cfd-online.com/Forums/main/9294-who-knows-salford-fortan-77-a.html)

Alf June 7, 2005 08:44

Who knows Salford Fortan-77?
 
Why in the following simplest program (three lines) is got "run-time error encountered"?

a= 1.0

print *, a

end

[Salford FTN77/Win32 v4.03, Copyright (c) Salford Software Ltd. 1988-1998]

Licensed to: FTN77 Personal Edition

NO ERRORS [<MAIN@>FTN77 Ver 4.03]

1.00000

****** RUN77: run-time error encountered ******

In Main Program at line 3 [file MAIN.FOR]

Jim_Park June 7, 2005 10:38

Re: Who knows Salford Fortan-77?
 
Maybe the compiler wants a "stop" just above the "end" statement?

Alf June 9, 2005 03:04

Re: Who knows Salford Fortan-77?
 
With 'stop' message is the same:

1.00000

****** RUN77: run-time error encountered ******

In Main Program at line 3 [file MAIN.FOR]

1: a= 1.0

2: print *, a

3: stop

4: end


andy June 9, 2005 07:01

Re: Who knows Salford Fortan-77?
 
Since the program is executing as expected the "error" probably lies with the interaction of the Salford runtime code with the Windows Operating System. This compiler is old and, I presume, you are running with a current version of Windows? Typically commercial programs had to work around bugs in the Windows OS and as the OS improves/changes the workarounds do not always behave as expected.

If my guess is correct then try running on an old version of Windows.

Alternatively try adding a program statement. Although this is not required it may be expected.

Alf June 10, 2005 04:38

Re: Who knows Salford Fortran-77?
 
I started the program in Win-XP and Win-98. I don't have more old versions. Operator 'program' gives the same. This version of Fortran is not commercial but free for download(http://www.salfordsoftware.co.uk/sof...compilers.html). Really, this message appears only at returning in Windows, and all results are true, but it is not so pleasant to read its each time. Thanks.

HOVANHAI June 25, 2005 08:37

Re: Who knows Salford Fortan-77?
 
toi muon biet va tim hieu ve phan mem nay ,kinh mong cong ty cho cho bite them ve thong tin nay va toi muon co duoc phien ban nay . kinh mong quy cong ty giup do


All times are GMT -4. The time now is 08:19.