Author |
Message |
Topic: Windows 11? |
mecej4
Replies: 3
Views: 231
|
Forum: General Posted: Sat Sep 16, 2023 11:43 am Subject: |
There have been several revisions of the compiler and tools that were made available and these are more recent than the version 8.70 that you have, "dfwlms". See the sticky thread at the top ... |
Topic: Compiler issues strange error message for correct code |
mecej4
Replies: 1
Views: 237
|
Forum: Support Posted: Wed Sep 06, 2023 6:54 pm Subject: Compiler issues strange error message for correct code |
The following code is correct Fortran (checked with Gfortran).
module pars_m
implicit none
integer, parameter :: NMAX = 101, MMAX = 50
end module pars_m
module l2_c
use pars ... |
Topic: Fails to save arrays > 4GB |
mecej4
Replies: 91
Views: 23717
|
Forum: Support Posted: Tue Jul 18, 2023 1:24 pm Subject: Re: |
Well, I have the same crashing behavior on Windows and Linux. These are two absolutely independent installations which do not know about each other. Plato was not used. Can anyone else try to run my r ... |
Topic: chsort@ in 64-bit programs |
mecej4
Replies: 4
Views: 1366
|
Forum: 64-bit Posted: Thu Jun 15, 2023 7:27 pm Subject: |
Please note that the four lines of code that you showed as an example of "an undefined situation" has nothing undefined about its expected behaviour. When N = -1, the subsequent DO loop is n ... |
Topic: chsort@ in 64-bit programs |
mecej4
Replies: 4
Views: 1366
|
Forum: 64-bit Posted: Thu Jun 15, 2023 1:13 pm Subject: |
Your code does not issue a correct call to the FTN95 routine CHSORT@.
1. The second argument should be a character array with N elements. Your code has a scalar character variable.
2. The third ... |
Topic: Country coding in Fortran |
mecej4
Replies: 11
Views: 4979
|
Forum: General Posted: Tue Jun 06, 2023 12:40 am Subject: |
As long as one keeps a Unicode string as a whole entity and moves it around, no problems may be encountered.
However, if one tries to measure the length of the string (53 glyphs, many embellished ... |
Topic: Country coding in Fortran |
mecej4
Replies: 11
Views: 4979
|
Forum: General Posted: Mon Jun 05, 2023 11:18 pm Subject: |
Here is what I tried and found, without changing any settings on my Windows-11 PC.
I created a program file in Notepad and saved the file as a UTF-8 file, with these lines:
program show_utf8_str ... |
Topic: Error reporting |
mecej4
Replies: 7
Views: 3663
|
Forum: Support Posted: Sat Jun 03, 2023 12:57 am Subject: |
Do you have explicit declarations for the variables iTimesThisPlace and iTimesThisPlace2? Are they scalars? Functions?
It is probably not a good idea to break up a source file into smaller files a ... |
Topic: comparing required time for linking 32 and 64-bit programs |
mecej4
Replies: 3
Views: 746
|
Forum: 64-bit Posted: Fri Jun 02, 2023 11:15 pm Subject: |
I have not observed such a large difference in speed between the 32 and 64 bit linkers of Silverfrost Fortran (SLINK and SLINK64). Just now, I timed the building of the 32 and 64-bit DLLs of the SLATE ... |
Topic: Display Settings2 |
mecej4
Replies: 1
Views: 3066
|
Forum: General Posted: Tue May 30, 2023 2:43 pm Subject: |
Sid,
Please clarify what you mean by "display settings take effect" and "in the Silverfrost system", and what actions you took to "set display settings".
There are ... |
Topic: Error reporting |
mecej4
Replies: 7
Views: 3663
|
Forum: Support Posted: Wed May 17, 2023 3:01 pm Subject: |
You should see fewer such "false error reports" if your sources are free form rather than the old F77 fixed form.
In fixed form, if you left out the '()' in the function declaration, the ... |
Topic: Lsiting question |
mecej4
Replies: 1
Views: 3320
|
Forum: General Posted: Sun May 14, 2023 2:37 am Subject: |
Duplicate of post http://forums.silverfrost.com/viewtopic.php?t=4792 by same poster. |
Topic: Can Fortran merge files? |
mecej4
Replies: 4
Views: 3071
|
Forum: General Posted: Sun Apr 23, 2023 10:04 pm Subject: |
Dan, you say "merge", but your description pertains only to the the special case "concatenate". Presumably, the thousands of files are named in such a way that the order of each pi ... |
Topic: Shape of deallocated array |
mecej4
Replies: 21
Views: 12536
|
Forum: Support Posted: Fri Apr 21, 2023 1:44 pm Subject: |
Line 5 of the short program in the first post has two function invocations in the output list, one of which is legal and the other is not. If we separate the two, as in
Program p
Integer, Dimensio ... |
Topic: FORALL puzzle |
mecej4
Replies: 4
Views: 4124
|
Forum: Support Posted: Sat Apr 15, 2023 1:24 am Subject: |
The code is invalid because x(2:9) are not defined when they are used in the FORALL assignment statement, except when one specific order of evaluation is followed on a single processor shared memory c ... |
|