Professional Documents
Culture Documents
#6 PracticalNWP1
#6 PracticalNWP1
#6 PracticalNWP1
……
Choose for gfortran + dmpar
Practical Exercise
CONFIGURING WRF
2. Choices for nesting area as shown below:
NOTE:
SMPAR → Shared Memory Parallelism
DMPAR → Distributed Memory Parallelism
Practical Exercise
COMPILING WRF
Type the following command:
./compile test_case >& name_file.log &
./clean –a is recommended if
❑ Compilation failed
❑ Registry changed (e.g. on/off the variables in history file)
❑ Re-compile to change the different dynamic core (e.g. ch
ange the part of paramaterization)
❑ Change the configuration file
❑ Change to or from the chemistry option
Practical Exercise
DOWNLOAD WPS SOURCE CODE
❑ Download static terrestrial data → data geog (it’s already the
re) just link it when start running
❑ Why?
❑ Save the memory → large size
NOTE:
A successful WRF compilation is required to this step!
Practical Exercise
DOWNLOAD WPS SOURCE CODE
Practical Exercise
CONFIGURING & COMPILING WPS
❑ Type ./configure command
❑ Successful → configure.wps appears, this file contains compiler choices,
rules, etc. → used as in WRF
❑ Go to src directory and edit the Makefile file → change the line which co
ntain this information with :
ARWpost.exe: $(OBJS)
$(FC) $(FFLAGS) $(LDFLAGS) –o $@ $(OBJS) \
-L$(NETCDF)/lib –lnetcdf –lnetcdff –I$(NETCDF)/include -lnetcdf