ARCHER logo ARCHER banner

The ARCHER Service is now closed and has been superseded by ARCHER2.

  • ARCHER homepage
  • About ARCHER
    • About ARCHER
    • News & Events
    • Calendar
    • Blog Articles
    • Hardware
    • Software
    • Service Policies
    • Service Reports
    • Partners
    • People
    • Media Gallery
  • Get Access
    • Getting Access
    • TA Form and Notes
    • kAU Calculator
    • Cost of Access
  • User Support
    • User Support
    • Helpdesk
    • Frequently Asked Questions
    • ARCHER App
  • Documentation
    • User Guides & Documentation
    • Essential Skills
    • Quick Start Guide
    • ARCHER User Guide
    • ARCHER Best Practice Guide
    • Scientific Software Packages
    • UK Research Data Facility Guide
    • Knights Landing Guide
    • Data Management Guide
    • SAFE User Guide
    • ARCHER Troubleshooting Guide
    • ARCHER White Papers
    • Screencast Videos
  • Service Status
    • Detailed Service Status
    • Maintenance
  • Training
    • Upcoming Courses
    • Online Training
    • Driving Test
    • Course Registration
    • Course Descriptions
    • Virtual Tutorials and Webinars
    • Locations
    • Training personnel
    • Past Course Materials Repository
    • Feedback
  • Community
    • ARCHER Community
    • ARCHER Benchmarks
    • ARCHER KNL Performance Reports
    • Cray CoE for ARCHER
    • Embedded CSE
    • ARCHER Champions
    • ARCHER Scientific Consortia
    • HPC Scientific Advisory Committee
    • ARCHER for Early Career Researchers
  • Industry
    • Information for Industry
  • Outreach
    • Outreach (on EPCC Website)

You are here:

  • ARCHER
  • About ARCHER
  • News & Events
  • Calendar
  • Blog Articles
  • Hardware
  • Software
  • Service Policies
  • Service Reports
  • Partners
  • People
  • Media Gallery

Contact Us

support@archer.ac.uk

Twitter Feed

Tweets by @ARCHER_HPC

ISO 9001 Certified

ISO 27001 Certified

wrf-wrf_wps

Versions Currently Available

  • 3.5.1-em_real-basic_nesting-dm+sm-cray

Default Version History

VersionStartEnd
3.5.1-em_real-basic_nesting-dm+sm-cray2014-03-052014-07-22

----------- Module Specific Help for 'wrf-wrf_wps/3.5.1-em_real-basic_nesting-dm+sm-cray' ---------------------------

WRF and WPS
===========

This module provides the WRFV3 and WPS packages of the Weather
Research and Forecasting model.  This is version 3.5.1, with the
patches up to February 2014 applied.

See the online manual

http://www.mmm.ucar.edu/wrf/users/docs/user_guide_V3/contents.html

for more information about WRF.

The ARW model is provided (em_real) with basic nesting and distributed
memory (MPI) + shared memory (OpenMP) parallelism.  WPS has been built
with GRIB2 support, and with distributed memory parallism.  Both
packages have been compiled with the Cray compiler, and will run on
the compute nodes only.

Run all of the WPS and WRF executables with aprun, e.g.

aprun -n 8 geogrid.exe
aprun -n 1 ungrib.exe
aprun -n 8 metgrid.exe
aprun -n 8 real.exe
aprun -n 24 wrf.exe

and set the OMP_NUM_THREADS variable to 1 if you are not wanting to
use multiple OpenMP threads.  You should experiment with combinations
of OMP_NUM_THREADS and the aprun '-n', '-N' and '-d' options to find
an optimum for your particular simulation.  ungrib.exe is serial, and
requires

aprun -n 1 ungrib.exe

The packages are in

$WRF_WRF_WPS_DIR/WRFV3
$WRF_WRF_WPS_DIR/WPS

with the executables in

$WRF_WRF_WPS_DIR/WRFV3/run
$WRF_WRF_WPS_DIR/WPS

You may have scripts that are written to run in the WRFV3 directory,
and use relative pathnames (e.g. ../WPS/geogrid.exe).  These scripts
will need to be modified to use the variable $WRF_WRF_WPS_DIR (see
below for an example).


Geographical data
-----------------

The geographical data is in

$WRF_GEOG

Note that this data has the updated Iceland land use files.  The old
Iceland files are in the copy in $WRF_GEOG-unupdated_Iceland_LU


Utilities
---------

Only one WRF utility has been provided, wrfout_to_cf.ncl, in

$WRF_WRF_WPS_DIR/util


Simple example
--------------

The default test case from the WRF online tutorial
(http://www.mmm.ucar.edu/wrf/OnLineTutorial/CASES/JAN00/index.html) is
available in

$WRF_WRF_WPS_DIR/online_tutorial_test

You can copy this to your own /work directory and test WRF and WPS, as
follows (you will need an X11 connection to see the graphical output):

qsub -IVXl select=1,walltime=0:10:0 -A 
export OMP_NUM_THREADS=1

# cd to your /work/..../online_tutorial_test directory

# Load the module
module load wrf-wrf_wps

# Test the grid with
module load ncl
ncl $WRF_WRF_WPS_DIR/WPS/util/plotgrids.ncl
module unload ncl
# (click on the image to exit ncl)

# geogrid
ln -sf $WRF_WRF_WPS_DIR/WPS/geogrid .
aprun -n 8 $WRF_WRF_WPS_DIR/WPS/geogrid.exe

$WRF_WRF_WPS_DIR/WPS/util/g1print.exe JAN00/2000012412.AWIPSF

# ungrib
ln -sf $WRF_WRF_WPS_DIR/WPS/ungrib/Variable_Tables/Vtable.AWIP Vtable
$WRF_WRF_WPS_DIR/WPS/link_grib.csh JAN00/2000012
aprun -n 1 $WRF_WRF_WPS_DIR/WPS/ungrib.exe >& ungrib_data.log 
$WRF_WRF_WPS_DIR/WPS/util/rd_intermediate.exe FILE:2000-01-24_12

# metgrid
ln -sf $WRF_WRF_WPS_DIR/WPS/metgrid .
aprun -n 8 $WRF_WRF_WPS_DIR/WPS/metgrid.exe
module load cray-netcdf
ncdump -h met_em.d01.2000-01-24_12:00:00.nc
module unload cray-netcdf

# real
mkdir em_real
cd em_real
ln -sf $WRF_WRF_WPS_DIR/WRFV3/test/em_real/* .
ln -sf ../met_em.d01.2000-01* .
aprun -n 8 real.exe

# wrf
aprun -n 24 wrf.exe

module load cray-netcdf
ncdump -h wrfout_d01_2000-01-24_12:00:00
ncdump -v Times wrfout_d01_2000-01-24_12:00:00 
module unload cray-netcdf

module load ncview
ncview wrfout_d01_2000-01-24_12:00:00
module unload ncview


Maintained by: Mark Filipiak, EPCC

Copyright © Design and Content 2013-2019 EPCC. All rights reserved.

EPSRC NERC EPCC