Author |
Message |
Topic: [ADVICE] /OPT with /64 - Internal Compiler Error |
ahalls_dsc
Replies: 15
Views: 14033
|
Forum: 64-bit Posted: Sat Aug 31, 2019 9:31 am Subject: |
I can confirm that the following adaptation compiles fine:
SUBROUTINE rdgenc_purp(jyr)
INTEGER,INTENT(IN) :: jyr
INTEGER,PARAMETER :: JAYEAR=803,JB ... |
Topic: [ADVICE] /OPT with /64 - Internal Compiler Error |
ahalls_dsc
Replies: 15
Views: 14033
|
Forum: 64-bit Posted: Fri Aug 30, 2019 10:18 pm Subject: |
The following code:
SUBROUTINE rdgenc_purp(jyr)
INTEGER,INTENT(IN) :: jyr
INTEGER,PARAMETER :: JAYEAR=803,JBYEAR=804,LXTZN=1714,
& MXNSEW ... |
Topic: [ADVICE] /OPT with /64 - Internal Compiler Error |
ahalls_dsc
Replies: 15
Views: 14033
|
Forum: 64-bit Posted: Fri Aug 30, 2019 8:53 pm Subject: |
Thanks all.
It is likely errors in the code; definitely an ICE as it occurs when compiling.
Will get something together. Watch this space. |
Topic: [ADVICE] /OPT with /64 - Internal Compiler Error |
ahalls_dsc
Replies: 15
Views: 14033
|
Forum: 64-bit Posted: Fri Aug 30, 2019 11:50 am Subject: [ADVICE] /OPT with /64 - Internal Compiler Error |
When running /64 /OPTIMISE compilation, I'm getting various floating point exception internal compiler errors cropping up. When running /64 /FU, compilation works.
As a relative beginner, I'm tryi ... |
Topic: Access violation error in 64-bit; works in 32-bit |
ahalls_dsc
Replies: 26
Views: 25344
|
Forum: 64-bit Posted: Fri Aug 02, 2019 9:15 am Subject: Re: |
To answer the last question, one needs to know the purpose of the program.
The short test program fills a huge 4-D array with random numbers and does a little bit of averaging on a boundary. The r ... |
Topic: Access violation error in 64-bit; works in 32-bit |
ahalls_dsc
Replies: 26
Views: 25344
|
Forum: 64-bit Posted: Thu Aug 01, 2019 8:20 pm Subject: Re: |
Look into the memory needed for array ZNZNDAAV. It is too big for addressing using 32-bits. Likewise, it is too large even for 64-bits because it is a local variable that is allocated on the stack.
... |
Topic: Access violation error in 64-bit; works in 32-bit |
ahalls_dsc
Replies: 26
Views: 25344
|
Forum: 64-bit Posted: Thu Aug 01, 2019 5:06 pm Subject: |
Understood, thanks.
This rectifies the compiler bug, which is the subject of the other thread. This thread, however, is referring to an access violation error in program execution.
I have now re ... |
Topic: Access violation error in 64-bit; works in 32-bit |
ahalls_dsc
Replies: 26
Views: 25344
|
Forum: 64-bit Posted: Thu Aug 01, 2019 3:18 pm Subject: |
@mecej4
As noted in the other thread, I have been able to reproduce the error originally mentioned in the Stack Overflow link.
For posterity, the git repo containing the code is [url=https://bit ... |
Topic: Errors in x64 Checkmate; none in Win32 compilation |
ahalls_dsc
Replies: 6
Views: 6780
|
Forum: 64-bit Posted: Thu Aug 01, 2019 3:13 pm Subject: |
@mecej4 and Paul: thanks both for looking into this for me.
@mecej4 I have edited the code slightly in light of your comments; it now compiles fine without the SAVE attribute on array ddfuncval.
... |
Topic: Errors in x64 Checkmate; none in Win32 compilation |
ahalls_dsc
Replies: 6
Views: 6780
|
Forum: 64-bit Posted: Wed Jul 31, 2019 6:11 pm Subject: Errors in x64 Checkmate; none in Win32 compilation |
Related to
Compiling file: ddmodel14.for
C:\Projects\ML14_ERROR_20190731\ddmodel14.FOR(17) : comment 981 - Specifying the kind of the type LOGICAL with a constant is non-portabl ... |
Topic: Access violation error in 64-bit; works in 32-bit |
ahalls_dsc
Replies: 26
Views: 25344
|
Forum: 64-bit Posted: Wed Jul 31, 2019 2:34 pm Subject: Re: |
Please provide complete code that we can compile and link in order to run and reproduce the access error.
Thanks for the response. My apologies - will work on a reproducible example and return.
... |
Topic: Access violation error in 64-bit; works in 32-bit |
ahalls_dsc
Replies: 26
Views: 25344
|
Forum: 64-bit Posted: Wed Jul 31, 2019 10:51 am Subject: Access violation error in 64-bit; works in 32-bit |
Hi all. I have a program which works fine when compiled in 32-bit, yet terminates with an access violation error when compiled as 64-bit.
The main thing that piques my senses is that the violation ... |
Topic: FILES8@ in 64bit |
ahalls_dsc
Replies: 3
Views: 5043
|
Forum: 64-bit Posted: Tue Jun 25, 2019 5:23 pm Subject: |
@Paul: regarding porting of functions, is PRINT_I2 another like FILES8? One of our exes is throwing an exception (see attached image).
https://i.ibb.co/KjBd74k/ppm-missing-fn.png |
Topic: Strange behaviour of sdbg64 8.50: cannot set breakpoints ... |
ahalls_dsc
Replies: 25
Views: 19656
|
Forum: 64-bit Posted: Thu Jun 13, 2019 9:38 am Subject: |
Just an update: Silverfrost provided me with patched versions of FTN95 and sdbg64 and, once I'd recompiled, I was able to run the debugger with correct line numbers and breakpointing.
There's one o ... |
Topic: Strange behaviour of sdbg64 8.50: cannot set breakpoints ... |
ahalls_dsc
Replies: 25
Views: 19656
|
Forum: 64-bit Posted: Tue Jun 11, 2019 11:07 pm Subject: |
Thanks for uploading so quickly; unfortunately exactly same issues: falls over with updated FTN95, no breakpoints with older FTN95. |
|