compas / grasp

General Relativistic Atomic Structure Package
https://compas.github.io/grasp/
MIT License
55 stars 25 forks source link

Gfortran -- compiler optimization #47

Open cffischer opened 4 years ago

cffischer commented 4 years ago

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.

jongrumer commented 3 years ago

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?

cffischer commented 3 years ago

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 <notifications@github.com> 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 .
mortenpi commented 3 years ago

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