Monday, 17 November 2014

Installing WRF on Mandhan

Building the WRF Code


  • Get the WRF zipped tar file
    • WRFV2 from http://www.mmm.ucar.edu/wrf/users/get_source.html
    • always get the latest version if you are not trying to continue a long project 
    • transfer the zip file to mandhan using either sftp or scp
    • login to mandhan, go to the directory you copied zip file to
  • unzip and untar the file
    • gzip -cd WRFV2.2.TAR.gz | tar -xf -
    • again, if there is a later version of the code grab it, 2.1 is just used as an example
  • cd WRFV2
  • export NETCDF=/apps/netcdf-intel-3.6.6
  • ./clean -a 
  • ./configure
    • choose one of the options
    • usually, option "1" is for a serial build, that is the best for an initial test
  • ./compile em_real (or any of the directory names in ./WRFV2/test)
  • ls -ls main/*.exe
    • if you built a real-data case, you should see ndown.exe, real.exe, and wrf.exe
    • if you built an ideal-data case, you should see ideal.exe and wrf.exe 

No comments:

Post a Comment