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

WRF Acceleration Options

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.


Dear WRF community,

I am trying to accelerate WRF simulation since processing long-term climate simulation. The factors which might influence the speed are listed for my knowledge:

• Hardware (CPU)
• MPI: serial/smpar/dmpar/
• Compiler
--PGI/intel fortran/GNU
• Namelist
--physical options

My questions are:
(1) Someone argues that using Intel/PGI as compiler would be faster that GNU, is it true?
-Intel/PGI compiler + dmpar would be the best choice? Are they free and mpi supported?
-what is the optimization options when compiling?
(2) How to optimize the namelist.input setting for my purpose?
-For example, the time_step is necessary to be 180, and history_interval to be 180s, 60s for domain1&domain2, respectively? (attached namelist.input.01 only for 1 year)
-dfi would be necessary for a long-term climate simulation?

Is there any references for this topic? Thanks in advance.



  • namelist.input.01.txt
    4.4 KB · Views: 51
Hi Siliang,

1) Typically Intel and PGI run WRF simulations faster, but they take longer to compile the code, so if you plan to modify a lot of code and need to compile many times, you may not want a compiler that builds slowly; however, if you only plan to compile once and run large runs (as you've indicated), then Intel or PGI may be a better choice. Unfortunately those 2 compilers are not free and you must pay for a license to install them. You can take a look at this talk given at our WRF tutorial for a bit more information on compiling options:

2) For namelist best practices, take a look at these 2 web pages: