WRF-Teaching

From Research Computing Center Wiki
Jump to navigation Jump to search

Category

Other

Program On

Teaching

Version

3.8

Author / Distributor

Please see http://wrf-model.org

Description

From http://wrf-model.org/: "The Weather Research and Forecasting (WRF) Model is a next-generation mesoscale numerical weather prediction system designed to serve both atmospheric research and operational forecasting needs. It features two dynamical cores, a data assimilation system, and a software architecture allowing for parallel computation and system extensibility. The model serves a wide range of meteorological applications across scales ranging from meters to thousands of kilometers. The effort to develop WRF began in the latter part of the 1990's and was a collaborative partnership principally among the National Center for Atmospheric Research (NCAR), the National Oceanic and Atmospheric Administration (represented by the National Centers for Environmental Prediction (NCEP) and the (then) Forecast Systems Laboratory (FSL)), the Air Force Weather Agency (AFWA), the Naval Research Laboratory, the University of Oklahoma, and the Federal Aviation Administration (FAA)."

Running Program

Also refer to Running Jobs on the teaching cluster and to the documentation about our installation of WPS.


Version 3.8: compiled with GNU 5.4.0 compilers, using MPI libraries (OpenMPI 1.10.3), NetCDF 4.1.3 (with netcdf-4 enabled), HDF5 1.8.7, and JasPer 1.900.1.

Before invoking any of the WRF binaries, please load the WRF/3.8.0-foss-2016b-dmpar module with the following command:

ml WRF/3.8.0-foss-2016b-dmpar

This module will load all other modules that it depends on.


After loading this module, the WRF executables wrf.exe, real.exe, ndown.exe, and tc.exe will be available in your path.

Example of a shell script sub.sh to run wrf.exe v. 3.8 at the batch queue:

#!/bin/bash
#SBATCH --job-name=wrfjob
#SBATCH --partition=batch
#SBATCH --mail-type=ALL
#SBATCH --mail-user=username@uga.edu
#SBATCH --ntasks=4
#SBATCH --mem=10gb
#SBATCH --time=08:00:00
#SBATCH --output=wrfjob.%j.out
#SBATCH --error=wrfjob.%j.err

cd $SLURM_SUBMIT_DIR
ml WRF/3.8.0-foss-2016b-dmpar
mpirun wrf.exe [options]

In the real submission script, at least all the above underlined values need to be reviewed or to be replaced by the proper values.


Sample job submission command:

sbatch sub.sh

Documentation

Please see http://wrf-model.org

Installation

Source code downloaded from http://www2.mmm.ucar.edu/wrf/src.

The geography data is available in /usr/local/apps/eb/WRF/geog/

System

64-bit Linux