Topic: optimization settings for gfortran
I was playing with Claude AI, comparing its Fortran 95 code to ChatGPT - to be run on the Apple M4. Claude assumed I was using Intel's gfortran and suggested three settings for optimization. Something set to -03 for maximum optimization. Something set to -flto for link-time optimization. Something set to -march=native.
I didn't see those gfortran choices in SimplyFortran's Settings so maybe they are already set for the compiler?
So far, I've been running my routines after the Build - not compiling them to stand-alone apps. Would running a routine as a compiled stand-alone app execute way faster than running from the development environment after a Build, or just a little better (because it's the same code)?