Advertisement
Guest User

WRF documentation

a guest
Nov 12th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. About WRF Model:: Please read this document before compiling the model.
  2. The model is comprised of several packages. To get the
  3. most of it user should compile a data pre-processor, a
  4. WRF solver and a post-processor. If the user wants to
  5. work with GRIB2; gather jasper, PNG and zlib library.
  6. Define JASPERLIB and JASPERINC in your environmental
  7. variables. Before running data pre-processor (WPS) you
  8. will need to download the WPS Geography data (Terrain
  9. and landuse data for all resolutions has been updated
  10. since the release of Version 3.5.1).
  11. Updated:: 3/3/2014
  12.  
  13. IMPORTANT:: NetCDF 4.x depends on HDF5. You will need to compile HDF5 and install it before configuring and building NetCDF.
  14. You will need to use the same compiler commands to build NetCDF as you used to build HDF5. For building NetCDF,
  15. it is NOT necessary to build the HDF5 Fortran, C++, or Java API's. ONLY the HDF5 C library is used. However, you
  16. will need zlib and szlib; while compiling with HDF5. It is recommended to install NetCDF Version 4.2.1 or later
  17. for WRF model compilation.
  18.  
  19. Best Option:: NetCDF-3.6.3
  20.  
  21. 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-
  22. Fortran-4.x separately. Do not configure ARWpost with gfortran.
  23.  
  24. Bug reports::
  25. (1) While running WRF configure script; you may find the following error:
  26.  
  27. "One of the compilers testing failed!
  28. Please check your compiler"
  29.  
  30. Fix by editing the configuration file, find the phrase:
  31. foo = 'mktemp foo_$$'
  32.  
  33. Change it to
  34. foo = 'mktemp foo_$$.XXXXXX'
  35.  
  36. (2) ARWpost uses netcdff with netcdf. At compile time you may find this error
  37. -L/usr/local/netcdf/lib -I/usr/local/netcdf/include -lnetcdf
  38. /usr/bin/ld: cannot find -lnetcdf
  39. collect2: ld returned 1 exit status
  40. make: [ARWpost.exe] Error 1 (ignored)
  41.  
  42. Go to ARWpost/src/Makefile
  43. and add netcdff; before configuring and compiling
  44. "ARWpost.exe: $(OBJS)
  45. $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $(OBJS) \
  46. -L$(NETCDF)/lib -I$(NETCDF)/include -lnetcdf -lnetcdff"
  47.  
  48. (3) ARWpost might not recognize your output from WRF solver and give error
  49. Get your output ncdump title (ncdump -h wrfoutput | grep TITLE) and
  50. verify in input_module.f90 in the following line(193).
  51. "IF ( INDEX(title,'OUTPUT FROM WRF') /= 0 ) iprogram = 8 !! wrf.exe output"
  52.  
  53. (4) ARWpost run may show this error
  54. Date not in this file - see if there are more files
  55. --- WE HAVE RUN OUT OF INPUT FILES ---
  56. To fix that, change in ./src/module_date_pack.f90 the line 706:
  57. seconds = second + 60*minute + 60*60*hour + 60*60*24*day + 60*60*24*365*century_year
  58. for:
  59. seconds = second + 60*minute + 60*60*hour + 60*60*24*day + 60*60*24*31*month + 60*60*24*365*century_year
  60.  
  61. (5) If you are running with MPIRUN and the wrf shows something like this
  62. ***********************************************************************
  63. start of simulation interval : 02
  64. ***********************************************************************
  65. starting wrf task 0 of 1
  66. starting wrf task 2 of 8
  67. starting wrf task 3 of 8
  68. starting wrf task 1 of 8
  69. starting wrf task 4 of 8
  70. starting wrf task 5 of 8
  71. starting wrf task 6 of 8
  72. starting wrf task 0 of 8
  73. starting wrf task 7 of 8
  74.  
  75. =====================================================================================
  76. = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
  77. = EXIT CODE: 11
  78. = CLEANING UP REMAINING PROCESSES
  79. = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
  80. =====================================================================================
  81. APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
  82. ***********************************************************************
  83. end of simulation interval : 02
  84. ***********************************************************************
  85.  
  86. Solve by adding these lines (wherever) into the namelist.input file:
  87. &namelist_quilt
  88. nio_tasks_per_group = 0,
  89. nio_groups = 0,
  90. /
  91.  
  92.  
  93. Download Links::
  94. Download WRF
  95. wget www.mmm.ucar.edu/wrf/src/WRFV3.3.TAR.gz
  96. Download WPS
  97. wget www.mmm.ucar.edu/wrf/src/WPSV3.3.TAR.gz
  98. Download ARWpost (postprocessor for GRADS users)
  99. wget www.mmm.ucar.edu/wrf/src/ARWpost_V3.tar.gz
  100. Download Geographic data
  101. wget www.mmm.ucar.edu/wrf/src/wps_files/geog.tar.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement