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 1980 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Storage of Two Data
JohnCampbell

Replies: 8
Views: 114

PostForum: General   Posted: Sun Oct 21, 2018 1:33 pm   Subject:
The array "integer*4 edge_node_pair(2,mx_edge)" would be used to store the list of edges, as 2 nodes.
I would suggest they are stored so that :
edge_node_pair(1,edge_id) < edge_node_ ...
  Topic: Visualisation library
JohnCampbell

Replies: 14
Views: 281

PostForum: General   Posted: Sun Oct 21, 2018 7:52 am   Subject:
John-S,

Thanks to the curve-fitter link.
I certainly remember being impressed by the 40-mb disk.
We called it the "Compaq luggable". It went well with the brick portable phone.
Rememb ...
  Topic: SIMFIT - Fit for Purpose?
JohnCampbell

Replies: 9
Views: 264

PostForum: ClearWin+   Posted: Sun Oct 21, 2018 7:38 am   Subject:
Dan,

How have you generated the example above? Is this an example of using %pl with a pop-up menu to edit the features you have listed, or a mock-up of where you are heading ?
If it exists, this i ...
  Topic: Storage of Two Data
JohnCampbell

Replies: 8
Views: 114

PostForum: General   Posted: Sun Oct 21, 2018 7:04 am   Subject:
You basically have:
A list of "3-nodes" for each element.
A list of "2-nodes" for each edge.

If you sort the edge property: "2-nodes" so that node_2 > node_1, you ...
  Topic: Severe slowdown with /64 /check for a certain program
JohnCampbell

Replies: 15
Views: 366

PostForum: 64-bit   Posted: Sat Oct 06, 2018 3:01 pm   Subject:
I am not sure I agree that it does a good job as the resulting code: do k = jp1, n
sum = zero
allocate (d1v(m-j+1)) !<<<
...
  Topic: Severe slowdown with /64 /check for a certain program
JohnCampbell

Replies: 15
Views: 366

PostForum: 64-bit   Posted: Fri Oct 05, 2018 10:57 am   Subject:
Are you suggesting that the problem relates to ALLOCATE as this is not my experience ?

From past versions of FTN95, I have learnt that using array section expressions line "a(j:m, k)" ca ...
  Topic: Severe slowdown with /64 /check for a certain program
JohnCampbell

Replies: 15
Views: 366

PostForum: 64-bit   Posted: Fri Oct 05, 2018 7:01 am   Subject:
mecej4,

I compiled with /64 /checkmate /timing /link

The resulting .tmr timing report suggested the problem is in QRFAC.
I would suspect the delay in the older code could come from lines like: ...
  Topic: Code Generation Bug
JohnCampbell

Replies: 16
Views: 534

PostForum: Support   Posted: Fri Sep 28, 2018 3:38 am   Subject:
I have learnt to be very selective where I use /opt, typically with code that is only a few lines long. Using /opt with large code (files) can produce unexpected results, that become too difficult to ...
  Topic: Code Generation Bug
JohnCampbell

Replies: 16
Views: 534

PostForum: Support   Posted: Fri Sep 28, 2018 2:15 am   Subject:
Using FTN95/Win32 Ver. 8.20.0 I tried the short code example posted on Sunday night and:
it crashed with set opt=/p6 /opt
but worked with set opt=/p6 /opt /inhibit_opt 43

my bat file is
set opt= ...
  Topic: Snippets of Wisdom (?) #1 - GOTO ...
JohnCampbell

Replies: 9
Views: 313

PostForum: General   Posted: Sat Sep 22, 2018 2:21 pm   Subject:
mecej4,

The cdfcor.for link you provided is a very old version of FORTRAN which does not support logical variables or expressions.
This is similar to an IBM 1130 FORTRAN, even before McCracken's ...
  Topic: Code Generation Bug
JohnCampbell

Replies: 16
Views: 534

PostForum: Support   Posted: Sat Sep 22, 2018 1:41 pm   Subject:
mecej4,

I was able to reproduce your error using V8.20.0

I also did some minor changes to see where the program was going, eg ssetv.f90, and the bug disappeared. The problem looks to be elusive, ...
  Topic: Snippets of Wisdom (?) #1 - GOTO ...
JohnCampbell

Replies: 9
Views: 313

PostForum: General   Posted: Wed Sep 19, 2018 1:04 pm   Subject:
Excessive use of GOTO can create code that is difficult to read, which was more common pre F90 and F77.
Alternatives of CYCLE and EXIT in DO loops and IF ... THEN ... ELSE ... END IF can create more ...
  Topic: Assistance in updating a window
JohnCampbell

Replies: 16
Views: 643

PostForum: ClearWin+   Posted: Tue Sep 18, 2018 4:53 am   Subject:
I am by no means an expert in %pl, but I am unsure of your selection (and definition) of the 2 windows you are using and the separate definition of arrays for each window.

If you are updating windo ...
  Topic: Incorrect/missing line numbers in traceback after abort
JohnCampbell

Replies: 9
Views: 392

PostForum: Support   Posted: Tue Sep 11, 2018 2:37 am   Subject:
On the 1970's compilers I used, declaring "REAL V(501)" would have not caused any problems, as V being an argument would have had memory allocation in the calling routine. As there was no ar ...
  Topic: %pl - suppress tick-numbers ?
JohnCampbell

Replies: 14
Views: 563

PostForum: ClearWin+   Posted: Thu Sep 06, 2018 1:56 am   Subject:
My recommendation would be to use %gr, rather than %pl.
You would have much more flexibility with layouts. Just divide the annotation tasks up and write routines for each task. It has to be easier th ...
 
Page 1 of 132 Goto page 1, 2, 3 ... 130, 131, 132  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group