Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- About WRF Model:: Please read this document before compiling the model.
- The model is comprised of several packages. To get the
- most of it user should compile a data pre-processor, a
- WRF solver and a post-processor. If the user wants to
- work with GRIB2; gather jasper, PNG and zlib library.
- Define JASPERLIB and JASPERINC in your environmental
- variables. Before running data pre-processor (WPS) you
- will need to download the WPS Geography data (Terrain
- and landuse data for all resolutions has been updated
- since the release of Version 3.5.1).
- Updated:: 3/3/2014
- IMPORTANT:: NetCDF 4.x depends on HDF5. You will need to compile HDF5 and install it before configuring and building NetCDF.
- You will need to use the same compiler commands to build NetCDF as you used to build HDF5. For building NetCDF,
- it is NOT necessary to build the HDF5 Fortran, C++, or Java API's. ONLY the HDF5 C library is used. However, you
- will need zlib and szlib; while compiling with HDF5. It is recommended to install NetCDF Version 4.2.1 or later
- for WRF model compilation.
- Best Option:: NetCDF-3.6.3
- WARNING:: Do not use NetCDF-4.1.1 (doesn't comply with WRF-ARW). If you use NetCDF-4.x or over; remember to compile NetCDF-
- Fortran-4.x separately. Do not configure ARWpost with gfortran.
- Bug reports::
- (1) While running WRF configure script; you may find the following error:
- "One of the compilers testing failed!
- Please check your compiler"
- Fix by editing the configuration file, find the phrase:
- foo = 'mktemp foo_$$'
- Change it to
- foo = 'mktemp foo_$$.XXXXXX'
- (2) ARWpost uses netcdff with netcdf. At compile time you may find this error
- -L/usr/local/netcdf/lib -I/usr/local/netcdf/include -lnetcdf
- /usr/bin/ld: cannot find -lnetcdf
- collect2: ld returned 1 exit status
- make: [ARWpost.exe] Error 1 (ignored)
- Go to ARWpost/src/Makefile
- and add netcdff; before configuring and compiling
- "ARWpost.exe: $(OBJS)
- $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $(OBJS) \
- -L$(NETCDF)/lib -I$(NETCDF)/include -lnetcdf -lnetcdff"
- (3) ARWpost might not recognize your output from WRF solver and give error
- Get your output ncdump title (ncdump -h wrfoutput | grep TITLE) and
- verify in input_module.f90 in the following line(193).
- "IF ( INDEX(title,'OUTPUT FROM WRF') /= 0 ) iprogram = 8 !! wrf.exe output"
- (4) ARWpost run may show this error
- Date not in this file - see if there are more files
- --- WE HAVE RUN OUT OF INPUT FILES ---
- To fix that, change in ./src/module_date_pack.f90 the line 706:
- seconds = second + 60*minute + 60*60*hour + 60*60*24*day + 60*60*24*365*century_year
- for:
- seconds = second + 60*minute + 60*60*hour + 60*60*24*day + 60*60*24*31*month + 60*60*24*365*century_year
- (5) If you are running with MPIRUN and the wrf shows something like this
- ***********************************************************************
- start of simulation interval : 02
- ***********************************************************************
- starting wrf task 0 of 1
- starting wrf task 2 of 8
- starting wrf task 3 of 8
- starting wrf task 1 of 8
- starting wrf task 4 of 8
- starting wrf task 5 of 8
- starting wrf task 6 of 8
- starting wrf task 0 of 8
- starting wrf task 7 of 8
- =====================================================================================
- = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
- = EXIT CODE: 11
- = CLEANING UP REMAINING PROCESSES
- = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
- =====================================================================================
- APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
- ***********************************************************************
- end of simulation interval : 02
- ***********************************************************************
- Solve by adding these lines (wherever) into the namelist.input file:
- &namelist_quilt
- nio_tasks_per_group = 0,
- nio_groups = 0,
- /
- Download Links::
- Download WRF
- wget www.mmm.ucar.edu/wrf/src/WRFV3.3.TAR.gz
- Download WPS
- wget www.mmm.ucar.edu/wrf/src/WPSV3.3.TAR.gz
- Download ARWpost (postprocessor for GRADS users)
- wget www.mmm.ucar.edu/wrf/src/ARWpost_V3.tar.gz
- Download Geographic data
- wget www.mmm.ucar.edu/wrf/src/wps_files/geog.tar.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement