Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Improve optimization with gfortran compile flags?

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member

Are there any gfortran compile-time flags that could improve runtime timings upon the default '-O2 -ftree-vectorize -funroll-lopps', in a significant manner (i.e., more than say a few % improvement) ?

Richard H.
Hi Richard,
I'm not aware of anything that will make it run faster. Perhaps someone else in the community has some ideas.