Silverfrost Forums

Welcome to our forums

Stack Size

14 Feb 2019 3:12 #23247

Paul,

It's always gratifying when one makes a sensible suggestion which is acted upon with such great alacrity!

I shan't be churlish and ask if your megabytes are 106 or 220 ...

Eddie

14 Feb 2019 3:49 #23248

Eddie

I assume decimal 10^6 but it could be changed.

14 Feb 2019 4:01 #23249

Paul,

Remember it matters not to we Plebs, we COMMONers, we few, we happy few, we band of brothers*, but I suspect you ought to put it in the documentation just so that it is clear to the Stack-mongers and Allocateers to whom it does matter.

Just a suggestion.

Eddie

*I could wax right poetical on this subject, given half a chance.

20 Feb 2019 7:01 #23267

Paul,

Thanks very much for the stack command in SLINK64. Please ensure it is documented in FTN95.chm

My preference would have been for something like 'stack_size 16MB', rather than 'stack_size 0x1000000', although I suspect I am breaking the mould with this suggestion (compared to other linkers). Examples of alternatives in the documentation would be welcome.

It is interesting that managing the stack is still a challenge for 64-bit computing. Rereading my earlier posts, I should have made clear that my comment 'what you have written is just excuses for what is a very poor/lazy system design' was directed at Microsoft and not davidb & mecej4.

The tone of my posts has reflected my desperation with the lack of documentation of stack information and stack adjustment with a number of linkers. I challenge others to identify the documentation of stack adjustment in gFortran ! (Hint: I have found '-fopenmp -fstack-arrays -Wl,-stack,16777216' to work after much effort, but am unsure where I found this documented)

Again Paul, thanks for reviewing and improving the stack adjustment options for SLINK64.

I hope this thread has provided some information for others.

20 Feb 2019 7:40 #23268

John

Thanks for the clarification.

The alternative to 'stack_size 0x1000000' will be approximately 'stack 17' giving you a little more than 16777216.

Please login to reply.