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 2551 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Use of intrinsic function TAN as arg fcn.causes linker error
JohnCampbell

Replies: 2
Views: 117

PostForum: 64-bit   Posted: Wed Mar 27, 2024 3:05 am   Subject:
In this example, would you need to provide an interface for fzero ?

I expect there could be problems with using an intrinsic, where the kind being expected is not identified ?

Is 32-bit FTN95 co ...
  Topic: Linking order of object files
JohnCampbell

Replies: 10
Views: 499

PostForum: Support   Posted: Wed Mar 20, 2024 12:57 pm   Subject:
If "FILE_A contains MAIN and SUB_A. They get compile into" OBJ_A.obj

Then, "Because (at this point) SUB_A is not referenced, it is discarded from the link". This does not happen ...
  Topic: Linking order of object files
JohnCampbell

Replies: 10
Views: 499

PostForum: Support   Posted: Wed Mar 20, 2024 4:41 am   Subject:
Bill, why would main and file A be a library ? They should be loaded from a .obj file.

You say sub_a is not referenced, but if in an .obj it would be in the link list and recognised for le file_b. ...
  Topic: Insufficient virtual stack with 64bits
JohnCampbell

Replies: 23
Views: 1260

PostForum: 64-bit   Posted: Mon Mar 18, 2024 12:43 am   Subject:
Paul,

The concept of a larger stack for automatic or large local arrays, plus for temporary arrays is very good.

Also the use of large virtual address strides provides flexibility for a very lar ...
  Topic: Insufficient virtual stack with 64bits
JohnCampbell

Replies: 23
Views: 1260

PostForum: 64-bit   Posted: Sun Mar 17, 2024 2:42 am   Subject:
Paul,

Could you provide some more information on "Vstack".

Is it a general replacement for the STACK, enabling much larger local or automatic arrays without the need to redefine the St ...
  Topic: Linking order of object files
JohnCampbell

Replies: 10
Views: 499

PostForum: Support   Posted: Sun Mar 17, 2024 2:14 am   Subject:
I have not utilised .dll files and since converting to FTN95 /64 Ver 8.0, I have stoped using .lib files, but using a long list of "lo ..\lib64\xxlib\aaa.obj" files with "slink64 @saplo ...
  Topic: Insufficient virtual stack with 64bits
JohnCampbell

Replies: 23
Views: 1260

PostForum: 64-bit   Posted: Fri Mar 15, 2024 1:38 am   Subject:
No Dan, it is relevant at all.

If you have a poor solution approach, the compiler can only go so far.

There is still some need for understanding preferred numerical approaches in large calculati ...
  Topic: Insufficient virtual stack with 64bits
JohnCampbell

Replies: 23
Views: 1260

PostForum: 64-bit   Posted: Thu Mar 14, 2024 2:11 pm   Subject:
You could try this alternative code, selecting apy4@.

I ran this with FTN95 Release x64 on my Ryzen with 64 GBytes of physical memory. The test used 59 GBytes and ran faster than Gfortran.
integ ...
  Topic: Insufficient virtual stack with 64bits
JohnCampbell

Replies: 23
Views: 1260

PostForum: 64-bit   Posted: Thu Mar 14, 2024 1:42 pm   Subject: Re:
I am sure you've heard that no one already optimizes codes by hand anymore, compilers do that better than average programmer.

I don't see any compiler fixing your mistakes !

Try this changed co ...
  Topic: Insufficient virtual stack with 64bits
JohnCampbell

Replies: 23
Views: 1260

PostForum: 64-bit   Posted: Thu Mar 14, 2024 12:07 am   Subject: Re:
gFortran:
Up to the full RAM memory + swap 933 GB no any limits were found

What stack size are you selecting in Gfortran? Have you been able to exceed the 512 MByte limit I have assumed ?

I ex ...
  Topic: Insufficient virtual stack with 64bits
JohnCampbell

Replies: 23
Views: 1260

PostForum: 64-bit   Posted: Sun Mar 10, 2024 1:46 pm   Subject:
Dan,

1) The available virtual memory (not address space) on the physical memory + paging space can sometimes be a limit on x64. This may not be a problem with a larger Vstack, as virtual memory is ...
  Topic: Labelled DO loop and /opt /64 leads to optimisation bug
JohnCampbell

Replies: 2
Views: 323

PostForum: 64-bit   Posted: Sun Mar 10, 2024 5:31 am   Subject:
The following update identifies that ij is not being updated in the do i loop if /opt is selected
program labDObug
use iso_fortran_env
implicit none
integer, parameter :: nx = 5, ny ...
  Topic: Insufficient virtual stack with 64bits
JohnCampbell

Replies: 23
Views: 1260

PostForum: 64-bit   Posted: Sat Mar 09, 2024 1:52 pm   Subject:
Dan,

could you try:
dVolumeCell = XCellsize * dyCellsize * dZCellsize +1.d-30
DensityE3D = DensityE3D / dVolumeCell
ie remove the "array section"

and let me know what happe ...
  Topic: Fails to save arrays > 4GB
JohnCampbell

Replies: 93
Views: 78153

PostForum: Support   Posted: Sat Mar 09, 2024 5:57 am   Subject:
I have made progress on testing write / read of large records, now up to 25 gBytes. These now work for Unformatted sequential read write and also for stream read/write.

They should work on the next ...
  Topic: Insufficient virtual stack with 64bits
JohnCampbell

Replies: 23
Views: 1260

PostForum: 64-bit   Posted: Sat Mar 09, 2024 2:39 am   Subject:
Dan,

What is Vstack and how does it differ from stack or heap ??

I know about Stack and Heap, but what is Vstack and why is it limited to 8 GBytes, when Heap gets all virtual memory ?

I have ...
 
Page 1 of 171 Goto page 1, 2, 3 ... 169, 170, 171  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group