Author |
Message |
Topic: SDBG64 couple improvements |
mecej4
Replies: 9
Views: 1741
|
Forum: 64-bit Posted: Sat Dec 02, 2023 1:48 am Subject: |
Dan, if the large program that you are working with contains some parts/files that were developed in the old days, it is possible that the program uses "I/O to implicitly connected files". F ... |
Topic: SDBG64 couple improvements |
mecej4
Replies: 9
Views: 1741
|
Forum: 64-bit Posted: Thu Nov 30, 2023 9:58 am Subject: |
The Euro signs are probably the result of two facts: (a) The Windows-1252 code page uses the byte Z'80' to represent the Euro, and (b) bytes with value Z'80' are used to represent and catch undefined ... |
Topic: False warning messages with /64 for a test file |
mecej4
Replies: 3
Views: 440
|
Forum: 64-bit Posted: Tue Nov 28, 2023 2:08 pm Subject: False warning messages with /64 for a test file |
The file https://drive.google.com/file/d/1L1KBWyuoeKUBpiR94i6m3LmUsKu1fJWz/view?usp=sharing is a cleaned-up version of file acdcc.f in the BVPTest package that may be downloaded from https://archimede ... |
Topic: Compiler issues strange error message for correct code |
mecej4
Replies: 6
Views: 1349
|
Forum: Support Posted: Thu Nov 23, 2023 1:46 pm Subject: |
Thanks, Paul. We may be seeing an instance of the old ways clashing with the new ways.
I have seen many instances in venerable Fortran code where a variable is a member of a common block that is us ... |
Topic: Failure to detect undefined variable in a common block |
mecej4
Replies: 3
Views: 1548
|
Forum: 64-bit Posted: Tue Nov 21, 2023 2:07 pm Subject: |
Thanks, Paul. I understand that it can be difficult to support debugging code with old features, such as BLOCKDATA, for which modern alternatives are available. |
Topic: Implausible effect regarding CPU time |
mecej4
Replies: 12
Views: 913
|
Forum: Support Posted: Sun Nov 12, 2023 2:03 pm Subject: |
Your approach (measuring run time and trying to correlate it with a count of arithmetic operations) makes some sense for an interpreted language that has only one interpreter on your computer. It has ... |
Topic: Implausible effect regarding CPU time |
mecej4
Replies: 12
Views: 913
|
Forum: Support Posted: Sun Nov 12, 2023 5:37 am Subject: |
Your reasoning ignores the fact that loading and storing operands from memory to registers and back can often consume more processor time than arithmetic operations on operands that are already in reg ... |
Topic: Compiler issues strange error message for correct code |
mecej4
Replies: 6
Views: 1349
|
Forum: Support Posted: Sun Nov 12, 2023 3:54 am Subject: |
Thanks, Paul.
Your statement, "FTN95 only allows the renaming to be used within the module where the renaming occurs" startled me somewhat, so I created another short test program to prob ... |
Topic: Error messages do not quite point to the error |
mecej4
Replies: 3
Views: 4569
|
Forum: Support Posted: Sun Nov 12, 2023 2:51 am Subject: |
Thanks. |
Topic: LCASE@ and TRIM@ functions |
mecej4
Replies: 2
Views: 456
|
Forum: ClearWin+ Posted: Tue Nov 07, 2023 2:59 pm Subject: |
As the FTN95 documentation tells you, you can use the standard intrinsic ADJUSTL instead of TRIM@. For LCASE@, unless you want to convert the entire works of Shakespeare to lower case, the following c ... |
Topic: Clearwin plugs for Linux |
mecej4
Replies: 7
Views: 1090
|
Forum: ClearWin+ Posted: Mon Nov 06, 2023 3:05 am Subject: |
Instead of
INTEGER(i8) :: TotalFieldCells = 280000000000
you need to write
INTEGER(i8) :: TotalFieldCells = 280000000000_i8
If you don't do that, you are attempting ... |
Topic: Clearwin plugs for Linux |
mecej4
Replies: 7
Views: 1090
|
Forum: ClearWin+ Posted: Mon Nov 06, 2023 1:03 am Subject: Re: Clearwin plugs for Linux |
... it (Gfortran) does not like even naturally looking integer*8 thinking it is integer*4
integer*8, parameter :: nTotalFieldCells = 28000000000
Error: Integer too big for its kind. This ... |
Topic: How this error even can appear? |
mecej4
Replies: 13
Views: 1920
|
Forum: General Posted: Sat Nov 04, 2023 10:29 am Subject: |
Ah, I see. Perhaps, if the error message had said "referenced" instead of "used" the meaning would have been clearer to you? |
Topic: How this error even can appear? |
mecej4
Replies: 13
Views: 1920
|
Forum: General Posted: Sat Nov 04, 2023 12:20 am Subject: |
Dan, the following code extract illustrates the issue.
subroutine sub(i,j,k)
implicit none
integer, intent(in) :: i,j
integer, intent(out) :: k
... |
Topic: How this error even can appear? |
mecej4
Replies: 13
Views: 1920
|
Forum: General Posted: Thu Nov 02, 2023 10:44 am Subject: |
If the statement numbered 24301 is within an IF...ENDIF block, you are not allowed to transfer to that statement from a location that is outside the IF block.
Please provide access to the full sour ... |
|