Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
software:wrf:caviness [2021-02-03 12:32] – [Run WRF example] anita | software:wrf:caviness [2021-02-05 09:48] – [Build WRF] mkyle |
---|
</code> | </code> |
=== Configure WRF parallel build === | === Configure WRF parallel build === |
Configuring parallel build. You will want to select option ''66'' and nesting option ''0''. | Configuring parallel build. You will want to select option ''66'' and nesting option ''1''. |
<code bash> | <code bash> |
[(it_css:traine)@login01 WRF]$ ./clean -a | [(it_css:traine)@login01 WRF]$ ./clean -a |
<code bash> | <code bash> |
[(it_css:traine)@login01 WRF]$ patch -p1 <<EOT | [(it_css:traine)@login01 WRF]$ patch -p1 <<EOT |
--- A/configure.wrf 2020-12-10 14:06:01.907649095 -0500 | --- A/configure.wrf 2020-12-10 14:06:01.907649095 -0500 |
+++ B/configure.wrf 2020-12-10 14:40:00.791338460 -0500 | +++ B/configure.wrf 2020-12-10 14:40:00.791338460 -0500 |
@@ -118,8 +118,8 @@ | @@ -118,8 +118,8 @@ |
SFC = ifort | SFC = ifort |
+DM_CC = mpicc | +DM_CC = mpicc |
FC = time \$(DM_FC) | FC = time \$(DM_FC) |
CC = \$(DM_CC) -DFSEEKO64_OK | CC = \$(DM_CC) -DFSEEKO64_OK |
LD = \$(FC) | LD = \$(FC) |
@@ -140,7 +140,7 @@ | @@ -140,7 +140,7 @@ |
-FCBASEOPTS = \$(FCBASEOPTS_NO_G) \$(FCDEBUG) | -FCBASEOPTS = \$(FCBASEOPTS_NO_G) \$(FCDEBUG) |
+FCBASEOPTS = \$(FCBASEOPTS_NO_G) \$(FCDEBUG) -assume nocc_omp | +FCBASEOPTS = \$(FCBASEOPTS_NO_G) \$(FCDEBUG) -assume nocc_omp |
MODULE_SRCH_FLAG = | MODULE_SRCH_FLAG = |
TRADFLAG = -traditional-cpp | TRADFLAG = -traditional-cpp |
CPP = /lib/cpp -P -nostdinc | CPP = /lib/cpp -P -nostdinc |
cp /work/it_css/sw/WRF/20210113/src/WPS/link_grib.csh link_grib.csh | cp /work/it_css/sw/WRF/20210113/src/WPS/link_grib.csh link_grib.csh |
</code> | </code> |
After that is completed you will need to update the ''namelist.wps'' file to reflect the model data that you downloaded in the prior steps. | After that is completed you will need to update the ''namelist.wps'' file to reflect the model data that you downloaded in the prior steps. Use ''nano'' or ''vim'' and make the necessary changes noted with ''#EDIT THIS LINE'' and ''#ADD THIS LINE''. |
<code bash> | <code bash> |
[triane@r00n49 wps_job]$ vim namelist.wps | |
| |
| |
&share | &share |
wrf_core = 'ARW', | wrf_core = 'ARW', |
max_dom = 1, | max_dom = 1, |
start_date = '2021-01-07_00:00:00','2006-08-16_12:00:00', #edit this line | start_date = '2021-01-07_00:00:00','2006-08-16_12:00:00', #EDIT THIS LINE |
end_date = '2021-01-23_23:00:00','2006-08-16_12:00:00', #edit this line | end_date = '2021-01-23_23:00:00','2006-08-16_12:00:00', #EDIT THIS LINE |
interval_seconds = 10800 #edit this line | interval_seconds = 10800 #edit this line |
io_form_geogrid = 2, | io_form_geogrid = 2, |
i_parent_start = 1, 31, | i_parent_start = 1, 31, |
j_parent_start = 1, 17, | j_parent_start = 1, 17, |
e_we = 10, 112, #edit this line | e_we = 10, 112, #EDIT THIS LINE |
e_sn = 10, 97, #edit this line | e_sn = 10, 97, #EDIT THIS LINE |
... | ... |
geog_data_res = 'default','default', | geog_data_res = 'default','default', |
truelat2 = 38.72, #edit this line | truelat2 = 38.72, #edit this line |
stand_lon = -75.08, #edit this line | stand_lon = -75.08, #edit this line |
geog_data_path = '../data/WPS_GEOG/', #edit this line | geog_data_path = '../data/WPS_GEOG/', #EDIT THIS LINE |
opt_geogrid_tbl_path = './' #optional edit | opt_geogrid_tbl_path = './' #OPTIONAL EDIT THIS LINE |
... | ... |
&metgrid | &metgrid |
fg_name = 'FILE' | fg_name = 'FILE' |
io_form_metgrid = 2, | io_form_metgrid = 2, |
opt_metgrid_tbl_path = './' #Add this line | opt_metgrid_tbl_path = './' #ADD THIS LINE |
/ | / |
</code> | </code> |
<code bash> | <code bash> |
[triane@r00n49 wps_job]$ ls -l GRIB* | [triane@r00n49 wps_job]$ ls -l GRIB* |
lrwxrwxrwx 1 mkyle it_css 33 Jan 26 13:59 GRIBFILE.AAA -> ../data/GFS/gfs_20210107_00z_000f | lrwxrwxrwx 1 traine it_css 33 Jan 26 13:59 GRIBFILE.AAA -> ../data/GFS/gfs_20210107_00z_000f |
lrwxrwxrwx 1 mkyle it_css 33 Jan 26 13:59 GRIBFILE.AAB -> ../data/GFS/gfs_20210107_00z_003f | lrwxrwxrwx 1 traine it_css 33 Jan 26 13:59 GRIBFILE.AAB -> ../data/GFS/gfs_20210107_00z_003f |
lrwxrwxrwx 1 mkyle it_css 33 Jan 26 13:59 GRIBFILE.AAC -> ../data/GFS/gfs_20210107_00z_006f | lrwxrwxrwx 1 traine it_css 33 Jan 26 13:59 GRIBFILE.AAC -> ../data/GFS/gfs_20210107_00z_006f |
lrwxrwxrwx 1 mkyle it_css 33 Jan 26 13:59 GRIBFILE.AAD -> ../data/GFS/gfs_20210107_00z_009f | lrwxrwxrwx 1 traine it_css 33 Jan 26 13:59 GRIBFILE.AAD -> ../data/GFS/gfs_20210107_00z_009f |
lrwxrwxrwx 1 mkyle it_css 33 Jan 26 13:59 GRIBFILE.AAE -> ../data/GFS/gfs_20210107_00z_012f | lrwxrwxrwx 1 traine it_css 33 Jan 26 13:59 GRIBFILE.AAE -> ../data/GFS/gfs_20210107_00z_012f |
lrwxrwxrwx 1 mkyle it_css 33 Jan 26 13:59 GRIBFILE.AAF -> ../data/GFS/gfs_20210107_00z_015f | lrwxrwxrwx 1 traine it_css 33 Jan 26 13:59 GRIBFILE.AAF -> ../data/GFS/gfs_20210107_00z_015f |
lrwxrwxrwx 1 mkyle it_css 33 Jan 26 13:59 GRIBFILE.AAG -> ../data/GFS/gfs_20210107_00z_018f | lrwxrwxrwx 1 traine it_css 33 Jan 26 13:59 GRIBFILE.AAG -> ../data/GFS/gfs_20210107_00z_018f |
lrwxrwxrwx 1 mkyle it_css 33 Jan 26 13:59 GRIBFILE.AAH -> ../data/GFS/gfs_20210107_00z_021f | lrwxrwxrwx 1 traine it_css 33 Jan 26 13:59 GRIBFILE.AAH -> ../data/GFS/gfs_20210107_00z_021f |
... | ... |
</code> | </code> |
The last step is to run ''metgrid.exe'' | The last step is to run ''metgrid.exe'' |
<code bash> | <code bash> |
[triane@r00n49 wps_job]$ srun metgrid.exe | [triane@r00n49 wps_job]$ metgrid.exe |
... #MANY LINES & MINUTES LATER | ... #MANY LINES & MINUTES LATER |
Processing 2021-01-13_21 | Processing 2021-01-13_21 |