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 1084 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Invalid floating point operation on 32 bit release build
mecej4

Replies: 8
Views: 88

PostForum: Support   Posted: Fri May 24, 2019 11:29 pm   Subject:
Do you have an estimate for the size of the reproducer?

I do not think that at this point you can rule out bugs in the source code and conclude that it is only the 32-bit optimiser that is at fault ...
  Topic: Invalid floating point operation on 32 bit release build
mecej4

Replies: 8
Views: 88

PostForum: Support   Posted: Fri May 24, 2019 12:26 pm   Subject: Re:

If the program is compiled, this should check compatibility between the routine and interface definition and when the subroutine is compiled a kind incompatibility should be identified. Unfortunatel ...
  Topic: Invalid floating point operation on 32 bit release build
mecej4

Replies: 8
Views: 88

PostForum: Support   Posted: Fri May 24, 2019 1:25 am   Subject:
The compiler does check for mismatched interfaces when possible. In particular, if no explicit interface is required (by the rules of the language), and the mismatched interfaces are in the same sourc ...
  Topic: How program knows that it is 64bit or 32bit?
mecej4

Replies: 20
Views: 1801

PostForum: 64-bit   Posted: Thu May 23, 2019 12:07 pm   Subject:
Rather than going the C preprocessor route, I think that the better solution to obtaining the compiler version, etc., is to use the F2008 intrinsics COMPILER_VERSION() and COMPILER_OPTIONS(), which ar ...
  Topic: Declaration type error and non-writable expression in read
mecej4

Replies: 4
Views: 141

PostForum: Support   Posted: Fri May 17, 2019 11:42 am   Subject:
The code posted by you at Dropbox is not valid Fortran source.

1. Replace tab characters (Ascii 9) by the appropriate number of spaces and ensure that the modified source code follows Fortran fixed ...
  Topic: Declaration type error and non-writable expression in read
mecej4

Replies: 4
Views: 141

PostForum: Support   Posted: Fri May 17, 2019 9:22 am   Subject:
The first line contains an inappropriate ',' before 'FILE1'. The second line contains more leading blanks than needed, and extends beyond column 72.

You can use '*' in declaration statements only f ...
  Topic: gFortran and MAKE
mecej4

Replies: 11
Views: 362

PostForum: General   Posted: Thu May 16, 2019 11:43 pm   Subject:
The link that John S. gave is for G95, not Gfortran.

G95 is outdated and lacks many of the Fortran 2003 and 2008 features that are present in Gfortran. G95 does not support X64 on Windows, and may ...
  Topic: gFortran and MAKE
mecej4

Replies: 11
Views: 362

PostForum: General   Posted: Wed May 15, 2019 2:06 pm   Subject: Re:
... isn't the point of compiler error messages that you can go away and resolve the problem in the Fortran source code, not to change your compiler? (Unless, of course, the error message was bogus). ...
  Topic: gFortran and MAKE
mecej4

Replies: 11
Views: 362

PostForum: General   Posted: Fri May 10, 2019 7:11 pm   Subject:
Dan, I think that for running Gfortran the easiest way is to find a Linux system with Gfortran installed on it. A Linux VM on Windows will do almost as well.

You can obtain Gfortran for Windows fro ...
  Topic: possible bug
mecej4

Replies: 10
Views: 2405

PostForum: General   Posted: Tue May 07, 2019 3:13 am   Subject:
Paul, the example code made be curious, and I find that the 8.40 compiler fails to compile the following variation of the same code:
PROGRAM prog1
IMPLICIT NONE
!
INTEGER, PARAMETER :: VN= ...
  Topic: Problem with fgetc with SCC /64
mecej4

Replies: 3
Views: 222

PostForum: 64-bit   Posted: Fri May 03, 2019 2:38 am   Subject:
The bug is in the fgetc code in salflibc64.dll. Ten instructions before the RET instruction of fgetc(), we see

000000001C009315 movsx r15,byte ptr [rsp+20h] ; sign bit got extended ...
  Topic: changing the stack at runtime?
mecej4

Replies: 24
Views: 2395

PostForum: Support   Posted: Mon Apr 22, 2019 12:10 pm   Subject: Re:
I have done some testing of 85 million values on 2.8ghz i5.

If the numbers are only slightly out of sequence:
do i = 1,n
call random_number(real_array(i))
real_array(i) = real_array(i) + rea ...
  Topic: Failure to catch array assignment with mismatched shapes
mecej4

Replies: 1
Views: 213

PostForum: Support   Posted: Thu Apr 18, 2019 2:49 pm   Subject: Failure to catch array assignment with mismatched shapes
Consider the following code, which is in error on Line-6 since the variable on the left and the expression on the right have different shapes.
program nph
implicit none
integer i,ijk,ia(1), ...
  Topic: OpenGL with FTN95/64
mecej4

Replies: 13
Views: 424

PostForum: General   Posted: Wed Apr 17, 2019 11:57 am   Subject:
Without seeing your source code, I can only speculate. I doubt that the following description has any relevance to your code, but it is illustrative.

The hex representation of -1828645786 is 930114 ...
  Topic: OpenGL with FTN95/64
mecej4

Replies: 13
Views: 424

PostForum: General   Posted: Wed Apr 17, 2019 3:59 am   Subject:
Do you use any 8-byte integers and do arithmetic on 8 byte integers in your code? If so, note that code compiled with FTN95-32 bit uses X87 instructions for such arithmetic, whereas FTN95-64 uses SSE2 ...
 
Page 1 of 73 Goto page 1, 2, 3 ... 71, 72, 73  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group