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 2064 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: gFortran and MAKE
JohnCampbell

Replies: 18
Views: 478

PostForum: General   Posted: Sun May 26, 2019 1:23 pm   Subject:
I have had many attempts at correcting TAB characters in Fortran source code I have needed to fix.

My utilities include:
count_char.exe which counts all characters [1:255] that appear in a file ...
  Topic: gFortran and MAKE
JohnCampbell

Replies: 18
Views: 478

PostForum: General   Posted: Sun May 26, 2019 3:25 am   Subject:
Paul,

Thanks for the update.

Definition of TAB interpretation is not easy to find. I could not find what gFortran does although I think it may be similar to iFort, which has the first tab to col ...
  Topic: gFortran and MAKE
JohnCampbell

Replies: 18
Views: 478

PostForum: General   Posted: Sat May 25, 2019 2:09 pm   Subject:
My understanding is the TAB is not part of the Fortran standard.
I do not know what interpretation ifort, gFortran or FTN95 apply to TAB, but it certainly is not portable.

There is also the issue ...
  Topic: How program knows that it is 64bit or 32bit?
JohnCampbell

Replies: 20
Views: 1809

PostForum: 64-bit   Posted: Fri May 24, 2019 11:14 am   Subject:
Dietmar,

Yes, for each new version I create the file, by running ftn95 > zz, editing zz then copying into ...ftn95..\include\ftn95_ver.ins

With difficulty, as you need to copy as administrato ...
  Topic: List Select (%ls) - How to get the selection
JohnCampbell

Replies: 37
Views: 1091

PostForum: ClearWin+   Posted: Fri May 24, 2019 8:37 am   Subject:
This might be related, but Plato32 appears to only reference an older help file (i.e. %ud is NOT in it).

Bill,

My understand is if you are accessing Plato as a shortcut from the desktop or task ...
  Topic: Invalid floating point operation on 32 bit release build
JohnCampbell

Replies: 8
Views: 111

PostForum: Support   Posted: Fri May 24, 2019 8:23 am   Subject:
I have always wanted a change to INTERFACE usage, so that the following could be accepted by the language / compiler.program badinterface
integer a
real x
include 'interfaces.ins'
call sub( ...
  Topic: How program knows that it is 64bit or 32bit?
JohnCampbell

Replies: 20
Views: 1809

PostForum: 64-bit   Posted: Fri May 24, 2019 8:03 am   Subject:
I have my own solution for compiler_version , which is: subroutine get_compiler_version ( version )
character version*(*)
character ftn95_ver*80
!
include <f ...
  Topic: How program knows that it is 64bit or 32bit?
JohnCampbell

Replies: 20
Views: 1809

PostForum: 64-bit   Posted: Thu May 23, 2019 1:10 pm   Subject:
mecej4,

I have been requesting for a few of these new system routines for a while, see:
http://forums.silverfrost.com/viewtopic.php?t=2176&postdays=0&postorder=asc&start=120

A few m ...
  Topic: gFortran and MAKE
JohnCampbell

Replies: 18
Views: 478

PostForum: General   Posted: Thu May 23, 2019 6:28 am   Subject:
Dan,

I have abandoned use of make and now use "simple" .bat files to control compile and load, using either:
slink64 @load_list.txt >> ftn95.tce
or
gfortran @load_gf.txt > ...
  Topic: How program knows that it is 64bit or 32bit?
JohnCampbell

Replies: 20
Views: 1809

PostForum: 64-bit   Posted: Thu May 23, 2019 6:15 am   Subject:
The following simplified logical function appears to work with FTN95 logical function is_64_bitx ()
!
stdcall GlobalMemoryStatusEx 'GlobalMemoryStatusEx'(REF):logical
integer ...
  Topic: How program knows that it is 64bit or 32bit?
JohnCampbell

Replies: 20
Views: 1809

PostForum: 64-bit   Posted: Thu May 23, 2019 5:55 am   Subject:
Paul has previously supplied us with an example of calling GlobalMemoryStatusEx.
This includes the Size of virtual address space.
A review of this will indicate if 32 or 64 bit
I think I have post ...
  Topic: Fortran 2003/2008
JohnCampbell

Replies: 142
Views: 82404

PostForum: General   Posted: Sun Apr 28, 2019 7:47 am   Subject:
JohnS,

I was only suggesting there is a problem as what is the default integer for a 64-bit system.

My suggestion is the default integer should be able to address the size of memory that is avai ...
  Topic: Simulation software
JohnCampbell

Replies: 2
Views: 189

PostForum: General   Posted: Tue Apr 23, 2019 7:20 am   Subject:
I have used FTN95 / Clearwin+ for many years.
From experience, start with a simple %gr screen model and apply animation, via updating the graphic status. It works very well with some simple graphica ...
  Topic: Fortran 2003/2008
JohnCampbell

Replies: 142
Views: 82404

PostForum: General   Posted: Tue Apr 23, 2019 6:34 am   Subject:
Eddie,

The standard conforming compiler response to "I = 9223372036854775807" is to treat the constant as a default 4-byte integer and so produce the overflowed result. Fortunately in thi ...
  Topic: Fortran 2003/2008
JohnCampbell

Replies: 142
Views: 82404

PostForum: General   Posted: Sun Apr 21, 2019 4:30 am   Subject:
Paul,

I would like to make recommendations of how FTN95 can better support KIND values, especially constants, although my past recommendations for non-standard extensions have not worked well, eg S ...
 
Page 1 of 138 Goto page 1, 2, 3 ... 136, 137, 138  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group