CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Who knows Salford Fortan-77?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2005, 08:44
Default Who knows Salford Fortan-77?
  #1
Alf
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]
  Reply With Quote

Old   June 7, 2005, 10:38
Default Re: Who knows Salford Fortan-77?
  #2
Jim_Park
Guest
 
Posts: n/a
Maybe the compiler wants a "stop" just above the "end" statement?
  Reply With Quote

Old   June 9, 2005, 03:04
Default Re: Who knows Salford Fortan-77?
  #3
Alf
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

  Reply With Quote

Old   June 9, 2005, 07:01
Default Re: Who knows Salford Fortan-77?
  #4
andy
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.
  Reply With Quote

Old   June 10, 2005, 04:38
Default Re: Who knows Salford Fortran-77?
  #5
Alf
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.
  Reply With Quote

Old   June 25, 2005, 08:37
Default Re: Who knows Salford Fortan-77?
  #6
HOVANHAI
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:21.