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 1832 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: application fails to start when run from a server
JohnCampbell

Replies: 8
Views: 103

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: 577

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: 577

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: 577

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 ...
  Topic: Using threads
JohnCampbell

Replies: 24
Views: 577

PostForum: Support   Posted: Mon Dec 11, 2017 12:58 pm   Subject:
The following is an example where the number of threads can be varied more easily.
The same routine is called for multiple threads, with the "arg" indicating which thread is being called. ...
  Topic: Using threads
JohnCampbell

Replies: 24
Views: 577

PostForum: Support   Posted: Mon Dec 11, 2017 1:15 am   Subject:
results include [FTN95/Win32 Ver. 8.20.0 Copyright (c) Silverfrost Ltd 1993-2017]

[Current options] ERROR_NUMBERS;IMPLICIT_NONE;INTL;LINK;LOGL; 32-bit
...
  Topic: Using threads
JohnCampbell

Replies: 24
Views: 577

PostForum: Support   Posted: Mon Dec 11, 2017 1:11 am   Subject:
subroutine do_tests
include<windows.ins>
real*4 tserial(2), tparallel(2)
integer(kind=7) h1, h2
integer kk

r1 = 0.295d0 ; r2 = 0 ...
  Topic: Using threads
JohnCampbell

Replies: 24
Views: 577

PostForum: Support   Posted: Mon Dec 11, 2017 1:06 am   Subject:
Ken,

I tried your examples using FTN95 Ver 8.20 and fond /64 to be faster for second test but slower for first (COMPLEX) test.

I made a few changes to provide some more statistics.

1) the tim ...
  Topic: SDBG exception
JohnCampbell

Replies: 15
Views: 388

PostForum: Support   Posted: Wed Dec 06, 2017 1:33 am   Subject: Re:
or if a general file then C:\ProgramData\Silverfrost\...
  Topic: SDBG exception
JohnCampbell

Replies: 15
Views: 388

PostForum: Support   Posted: Tue Dec 05, 2017 9:07 am   Subject:
Paul,

I am not sure about this, but what is the purpose of Virtual Store ?
I know it is confusing, as the file becomes an alias away from the file in original directory.
Looks bad to me to have ...
  Topic: Error? Bug? Feature?
JohnCampbell

Replies: 10
Views: 317

PostForum: Support   Posted: Tue Dec 05, 2017 9:01 am   Subject:
Guessed zthree and modified code for >250.
My changes were to make it easier to test.
Can't see how 250 is the issue, unless you did not change dimension.
PROGRAM Main
!!?? USE CLRWIN$
! ...
  Topic: Error? Bug? Feature?
JohnCampbell

Replies: 10
Views: 317

PostForum: Support   Posted: Tue Dec 05, 2017 6:13 am   Subject:
What are ?
USE CLRWIN$
zthree(z1, z2, c) !Generate the next

I can not get your program to run at all.
  Topic: SDBG exception
JohnCampbell

Replies: 15
Views: 388

PostForum: Support   Posted: Tue Dec 05, 2017 6:05 am   Subject:
Robert,

FTN95 and utilities should not be using the "Virtual Store".
Using Virtual Store just indicates the user does not have the appropriate user rights to access the file in the way y ...
  Topic: SDBG exception
JohnCampbell

Replies: 15
Views: 388

PostForum: Support   Posted: Sat Dec 02, 2017 11:02 am   Subject:
Paul,

If this is the case, the user may have the right to create the file, but not the right to modify (or delete ?) the file ? It is definitely an issue with user rights.

The virtual directory ...
  Topic: Problems with Checkmate-Win32
JohnCampbell

Replies: 9
Views: 220

PostForum: Support   Posted: Sat Dec 02, 2017 7:13 am   Subject:
I thought similarly to Paul. I suspected you returned the automatic array, linked via a pointer, but in FTN95, like local allocatable arrays, automatic arrays are lost on return. After return, the poi ...
 
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