grasp icon indicating copy to clipboard operation
grasp copied to clipboard

Gfortran -- compiler optimization

Open cffischer opened this issue 5 years ago • 3 comments

In all our examples we use the compiler option -O2. A few simple tests have shown that the option -O3 is significantly better in some cases. I have not tested this extensively, but maybe someone could confirm this.

cffischer avatar Aug 26 '20 23:08 cffischer

Great, thanks Charlotte! I'm not currently doing much large-scale calculations with GRASP so someone with a more up to date runtime experience should give their opinion on this! I guess you're referring to gfortran-9 or 10, or what compiler do you use?

jongrumer avatar Sep 22 '20 08:09 jongrumer

I may have been using version 6. I now have 7.5 .

Charlotte

-------------------------------%0D%0ACharlotte.F.Fischer%40Comcast.Net%0D%0A401 King Farm Blvd%2C %23402%0D%0ARockville%2C MD 20850%0D%0A%0D%0APhone%3A 301-963-4134

On 09/22/2020 1:37 AM Jon Grumer <[email protected]> wrote:




Great, thanks Charlotte! I'm not currently doing much large-scale calculations with GRASP so someone with a more up to date runtime experience should give their opinion on this! I guess you're referring to gfortran-9 or what compiler do you use?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/compas/grasp/issues/47#issuecomment-696585885 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDK3SAT5AQH2PESZKFKMKLSHBO6BANCNFSM4QMLKLWQ .

cffischer avatar Sep 23 '20 02:09 cffischer

Just one related factoid: I believe the CMake build defaults to -O3 anyway.

mortenpi avatar Sep 29 '20 22:09 mortenpi