|
[Sponsors] |
June 7, 2005, 08:44 |
Who knows Salford Fortan-77?
|
#1 |
Guest
Posts: n/a
|
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] |
|
June 7, 2005, 10:38 |
Re: Who knows Salford Fortan-77?
|
#2 |
Guest
Posts: n/a
|
Maybe the compiler wants a "stop" just above the "end" statement?
|
|
June 9, 2005, 03:04 |
Re: Who knows Salford Fortan-77?
|
#3 |
Guest
Posts: n/a
|
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 |
|
June 9, 2005, 07:01 |
Re: Who knows Salford Fortan-77?
|
#4 |
Guest
Posts: n/a
|
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. |
|
June 10, 2005, 04:38 |
Re: Who knows Salford Fortran-77?
|
#5 |
Guest
Posts: n/a
|
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.
|
|
June 25, 2005, 08:37 |
Re: Who knows Salford Fortan-77?
|
#6 |
Guest
Posts: n/a
|
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
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesh data to be read by Fortan code | seckin | Main CFD Forum | 8 | December 7, 2022 00:58 |
how we calculate Nusselt in Fortan | hamid | Main CFD Forum | 0 | August 14, 2010 10:31 |
3D FORTAN 90 code bug | aowslogin | Main CFD Forum | 0 | August 4, 2010 12:47 |