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
Welcome to our forums
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
Eddie
I assume decimal 10^6 but it could be changed.
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.
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.
John
Thanks for the clarification.
The alternative to 'stack_size 0x1000000' will be approximately 'stack 17' giving you a little more than 16777216.