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

Compiling WRF with double precision

Status
Not open for further replies.

kwerner

Administrator
Staff member
Beginning with version 3.7 of the WRF code, you can build with double precision by simply typing
./configure -r8

then follow the normal steps to build WRF. For versions prior to V3.7, you will need to run the configuration, and then go into the 'configure.wrf' file and manually change the following lines below to:
RWORDSIZE = 8
PROMOTION = -real-size `expr 8 \* $(RWORDSIZE)` -i4

Then save the configure.wrf file, and compile WRF.
 
Status
Not open for further replies.
Top