WRFDA-Teaching

From Research Computing Center Wiki
Revision as of 14:10, 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://www2.mmm.ucar.edu/wrf/users/wrfda/index.html


Description

From http://www2.mmm.ucar.edu/wrf/users/wrfda/index.html: "The WRFDA system is in the public domain and is freely available for community use. It is designed to be a flexible, state-of-the-art atmospheric data assimilation system that is portable and efficient on available parallel computing platforms. WRFDA is suitable for use in a broad range of applications, across scales ranging from kilometers for regional and mesoscale modeling to thousands of kilometers for global scale modeling. "


Running Program

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

WRFDA for 3D-Var Run (without satellite radiance data support)

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.

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

ml WRFDA/3.8.0-foss-2016b-dmpar

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


After loading this module, the WRFDA executables (e.g. da_wrfvar.exe) will be available in your path.

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

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

cd $SLURM_SUBMIT_DIR
ml WRF/3.8.0-foss-2016b-dmpar
mpirun da_wrfvar.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://www2.mmm.ucar.edu/wrf/users/wrfda/index.html

Installation

Source code downloaded from http://www2.mmm.ucar.edu/wrf/users/wrfda/index.html

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

System

64-bit Linux