WPS-Teaching

From Research Computing Center Wiki
Revision as of 13:57, 18 January 2019 by Shtsai (talk | contribs) (→‎Running Program)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Category

Other

Program On

Teaching

Version

3.8

Author / Distributor

Please see http://wrf-model.org

Description

WPS is the Weather Research and Forecasting (WRF) pre-processing system. For more information, please see http://wrf-model.org

Running Program

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


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 WPS binaries, please load the WPS/3.8.0-foss-2016b-dmpar module with the following command:

ml WPS/3.8.0-foss-2016b-dmpar

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


After loading this module, the WPS executables geogrid.exe, metgrid.exe, and ungrib.exe will be available in your path, as well as other utilities such as link_grib.csh.

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

#!/bin/bash
#SBATCH --job-name=wpsjob
#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=wpsjob.%j.out
#SBATCH --error=wpsjob.%j.err

cd $SLURM_SUBMIT_DIR
ml WPS/3.8.0-foss-2016b-dmpar
mpirun geogrid.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