forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 1878 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Puzzling error reports for short correct program
mecej4

Replies: 1
Views: 93

PostForum: Support   Posted: Sat Feb 24, 2024 6:53 pm   Subject: Puzzling error reports for short correct program
The short program below was constructed to display a problem that I had with building and running the Hydrotherm program ( https://volcanoes.usgs.gov/software/hydrotherm/ ) with FTN95, 32 or 64 bit.
...
  Topic: Wrong result with /64 /opt, module variable used as DO index
mecej4

Replies: 2
Views: 136

PostForum: 64-bit   Posted: Thu Feb 22, 2024 8:57 pm   Subject: Wrong result with /64 /opt, module variable used as DO index
When the following program is built with /64 /opt and run, the result is wrong -- a zero is printed instead of 34^2 = 1156.

module imod_m
implicit none
integer idir
end module

program t ...
  Topic: Severe slowdown if pointers passed as actual arguments
mecej4

Replies: 10
Views: 687

PostForum: Support   Posted: Thu Feb 22, 2024 1:03 am   Subject:
Great news! I look forward to the release of the compiler with the fixes.
  Topic: FTN95 does not allow FINDLOC for LOGICAL arrays
mecej4

Replies: 1
Views: 170

PostForum: Support   Posted: Sun Feb 18, 2024 1:20 pm   Subject: FTN95 does not allow FINDLOC for LOGICAL arrays
The FINDLOC intrinsic function was added in F2008, and it was added to the repertoire of FTN95 in 2022. The BACK optional argument was added to FTN95 in Nov. 2023. According to F2008 the required firs ...
  Topic: Program hangs on entering ASSOCIATE construct
mecej4

Replies: 4
Views: 267

PostForum: Support   Posted: Sat Feb 17, 2024 2:04 pm   Subject:
Display compiler information, results (5 real numbers) and terminate (expected, normal)
Display compiler information and hang
Display compiler information, results and hang
Display pop-up for acces ...
  Topic: Program hangs on entering ASSOCIATE construct
mecej4

Replies: 4
Views: 267

PostForum: Support   Posted: Sat Feb 17, 2024 2:01 pm   Subject:
Paul, here is a shorter reproducer that also generates its own input data instead of reading a large input data file.

program gcgtst ! demonstrates bug(s) related to ASSOCIATE
i ...
  Topic: Program hangs on entering ASSOCIATE construct
mecej4

Replies: 4
Views: 267

PostForum: Support   Posted: Fri Feb 16, 2024 4:51 pm   Subject: Program hangs on entering ASSOCIATE construct
When an "associate name" is used as an actual argument in order to pass an array section to a subprogram, FTN95 may generate code that hangs or quits abruptly, even when the /check or /undef ...
  Topic: Severe slowdown if pointers passed as actual arguments
mecej4

Replies: 10
Views: 687

PostForum: Support   Posted: Fri Feb 16, 2024 4:43 pm   Subject:
Thanks, Paul; there are no surprises in what you found.

Implementing CONTIGUOUS could be done in two stages. In the first stage, the compiler would recognise CONTIGUOUS as a standard-approved attri ...
  Topic: Severe slowdown if pointers passed as actual arguments
mecej4

Replies: 10
Views: 687

PostForum: Support   Posted: Thu Feb 15, 2024 5:20 pm   Subject:
Thanks, Paul.

Indeed, I tried adding the CONTIGUOUS attribute to the dummy argument declarations to which these array sections are being passed, and the program ran fine when compiled with other c ...
  Topic: Access violation while compiling
mecej4

Replies: 1
Views: 124

PostForum: 64-bit   Posted: Thu Feb 15, 2024 2:57 pm   Subject: Access violation while compiling
The latest version of the compiler (9.02) aborts with an access violation (attempt to read from location 00000034) when asked to compile the test file (Link: https://www.dropbox.com/scl/fi/eskn8v3gjrt ...
  Topic: Severe slowdown if pointers passed as actual arguments
mecej4

Replies: 10
Views: 687

PostForum: Support   Posted: Fri Feb 09, 2024 3:13 pm   Subject:
Paul,

Encouraged by your agreeing to look into this issue, I continued my attempts to produce a shorter reproducer, and this time I succeeded.

I diverted the arrays in HST3D to an unformatted fi ...
  Topic: Severe slowdown if pointers passed as actual arguments
mecej4

Replies: 10
Views: 687

PostForum: Support   Posted: Fri Feb 09, 2024 4:32 am   Subject: Severe slowdown if pointers passed as actual arguments
The software package HST3D developed by the USGS is used to model groundwater flows with coupled heat and salt transport. It has been widely used for decades, and is standard Fortran 95 with no depend ...
  Topic: Error in dot_product with /64 /opt
mecej4

Replies: 4
Views: 272

PostForum: 64-bit   Posted: Thu Feb 08, 2024 9:34 am   Subject:
John, thanks for trying out the example. It took me many hours to create a reproducer. I noticed this elusive bug in the USGS HST3D groundwater code. Many of my earlier earlier attempts failed because ...
  Topic: LCASE@ and TRIM@ functions
mecej4

Replies: 14
Views: 2140

PostForum: ClearWin+   Posted: Thu Feb 08, 2024 12:55 am   Subject:
Dan, many of the 64-bit RTL routines (such as lcase@, dot_product8@, etc.) are in CLEARWIN64.DLL rather than in SALFLIB64.DLL. Just today I posted a bug report ( http://forums.silverfrost.com/viewtopi ...
  Topic: Error in dot_product with /64 /opt
mecej4

Replies: 4
Views: 272

PostForum: 64-bit   Posted: Wed Feb 07, 2024 9:49 pm   Subject: Error in dot_product with /64 /opt
When the options /64 and /opt are used to compile code containing invocations of the Fortran intrinsic DOT_PRODUCT, FTN95 V9.0 may generate calls to its RTL function DOT_PRODUCT8@ or it may generate a ...
 
Page 1 of 126 Goto page 1, 2, 3 ... 124, 125, 126  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group