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 1843 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Import External DLL published function () into FTN95 .f95
JohnCampbell

Replies: 8
Views: 237

PostForum: Support   Posted: Sun Jan 14, 2018 6:43 am   Subject:
I agree Dan, thanks mecej4 for the example.
I will be taking this and experimenting with what I can use a .dll for.
Can the 64-bit version be provided, although it appears slink64 may have some usef ...
  Topic: New %pl and export to jpg, gif, etc
JohnCampbell

Replies: 13
Views: 666

PostForum: ClearWin+   Posted: Sun Jan 14, 2018 6:24 am   Subject:
Paul,

I shall review the interrupt functions that return to the menu and check their return values. (Are return values described in ftn95.chm ?)

Then if I can get a version that can repeat the f ...
  Topic: New %pl and export to jpg, gif, etc
JohnCampbell

Replies: 13
Views: 666

PostForum: ClearWin+   Posted: Sat Jan 13, 2018 12:31 pm   Subject:
I am still getting this intermittent error, but not every time.
Using /64 version, after I select to dump the %gr region to .png file,
the return is error code = 1, then I report this to my .log fil ...
  Topic: ice with do i = 1,n
JohnCampbell

Replies: 10
Views: 251

PostForum: Support   Posted: Fri Jan 12, 2018 1:25 am   Subject:
Paul,

Thanks for the prompt response to this and other fixes.
Could a Ver 8.21 be made available ?

John
  Topic: Performance penalty from using 64-bit integers
JohnCampbell

Replies: 6
Views: 168

PostForum: Support   Posted: Fri Jan 12, 2018 1:23 am   Subject:
Paul,

I am surprised by the improvement you report for your test with FTN95 /64 /opt. I have not been able to achieve similar results.

Would FTN95's 32-bit performance be due to the 8-byte integ ...
  Topic: DLL is missing while building EXE in Visual Studio 2015 IDE
JohnCampbell

Replies: 12
Views: 308

PostForum: Support   Posted: Wed Jan 10, 2018 12:34 pm   Subject:
There appear to be problems with sharing data with a .dll.

Perhaps you should consider a .lib static library, that is available with 32-bit slink. It does not have all the benefits of using .dll , ...
  Topic: ice with do i = 1,n
JohnCampbell

Replies: 10
Views: 251

PostForum: Support   Posted: Wed Jan 10, 2018 12:22 pm   Subject:
integer*4, parameter :: one = 1
...
do i = one,n ! this fails

while
integer*4 :: one = 1
...
do i = one,n ! this is ok
  Topic: ice with do i = 1,n
JohnCampbell

Replies: 10
Views: 251

PostForum: Support   Posted: Wed Jan 10, 2018 7:19 am   Subject: ice with do i = 1,n
The following code produces an ICE when compiled with 32-bit or 64-bit when n >= 2**31

0010) do i = 1,n ! works with = one,n
*** Error 637: Internal compiler error - floating point excepti ...
  Topic: 8.20 and /Zeroize
JohnCampbell

Replies: 29
Views: 1234

PostForum: General   Posted: Tue Dec 26, 2017 3:55 am   Subject:
... or put another way, not initialising all variables is bad coding practice and not portable.

Sorry to be a grouch, but I never assume zero for uninitialized variables.
If I have not initialise ...
  Topic: New %pl and export to jpg, gif, etc
JohnCampbell

Replies: 13
Views: 666

PostForum: ClearWin+   Posted: Fri Dec 22, 2017 10:14 am   Subject:
Hi Paul,

I tried the program the next day (after restarting pc) and it worked ok !!
Clearly there was something that hung up the main menu thread, but it may have not been dumping a .png file dump ...
  Topic: New %pl and export to jpg, gif, etc
JohnCampbell

Replies: 13
Views: 666

PostForum: ClearWin+   Posted: Wed Dec 20, 2017 8:33 am   Subject:
My screen dump code has stopped working at Ver 8.20 /64.
Reverting to 8.10 /64 and it all works ok.

After calling Subroutine Dump_jpg_func, the .png file is successfully created (error_jpg = 1), t ...
  Topic: application fails to start when run from a server
JohnCampbell

Replies: 8
Views: 330

PostForum: Support   Posted: Fri Dec 15, 2017 3:24 am   Subject:
There has been a long history of stack overflow with mainly get_filtered_file@ and related variations on file open.
This problem was made worse when using network or "library" links.
It al ...
  Topic: Using threads
JohnCampbell

Replies: 24
Views: 995

PostForum: Support   Posted: Wed Dec 13, 2017 10:39 am   Subject:
Thanks to Ken for providing an example of using multi-threading.

I have taken this and produced a program that tests multi-threading and demonstrates:
# how to vary the number of threads and call ...
  Topic: Using threads
JohnCampbell

Replies: 24
Views: 995

PostForum: Support   Posted: Tue Dec 12, 2017 1:27 am   Subject:
Based on the examples I have posted, there does not appear to be significant performance problems with 64-bit multi-threading.

I have used two of Ken's examples, I called ;
Search1 : simple loop c ...
  Topic: Using threads
JohnCampbell

Replies: 24
Views: 995

PostForum: Support   Posted: Mon Dec 11, 2017 12:59 pm   Subject:
The test routine is: subroutine do_tests
include<windows.ins>
real*4 tserial(2), tparallel(2)
integer(kind=7) h1,h2,h3,h4, hh(4)
int ...
 
Page 1 of 123 Goto page 1, 2, 3 ... 121, 122, 123  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group