Atmospherical Physics

 ----------------------------------------------------------------------------------------------------------

 

 WRF
 

The Weather Research and Forecasting (WRF) Model is a next-generation mesoscale numerical weather prediction system designed to serve both operational forecasting and atmospheric research needs. It features multiple dynamical cores, a 3-dimensional variational (3DVAR) data assimilation system, and a software architecture allowing for computational parallelism and system extensibility.

How to submit WRF job on the Grid

To execute a WRF template job on the Grid you will need a JDL file describing the job itself (how many CPUs to use, what output files are expected etc) and a wrapper shell script.

In the following we will go through the specific template files that may be used to execute a WRF job (em_real) on Grid resources.

The JDL file

The template JDL file for a WRF job is the following one

view plaincopy to clipboardprint?

  1. JobType = "Normal";  

  2. Executable = "wrf-wrapper.sh";  

  3. CpuNumber = 4;  

  4. InputSandbox = {"wrf-wrapper.sh","namelist.input"};  

  5. StdOutput = "std.out";  

  6. StdError  = "std.err";  

  7. OutputSandbox = {"std.out","std.err","rsl.error.0000","rsl.out.0000","namelist.input"};  

  8. Requirements = Member("MPI-START", other.GlueHostApplicationSoftwareRunTimeEnvironment)  

  9.         && Member("MPICH2", other.GlueHostApplicationSoftwareRunTimeEnvironment)  

  10.         && (other.GlueHostArchitecturePlatformType == "x86_64");  

The wrapper script (wrf-wrapper.sh)

The wrapper script is structured into 4 distinct sections, which are

  1. Environmental variables setup

  2. Download of executables and input files

  3. Execution of WRF model

  4. Upload of output results

   
   
 
   
Links
 arn
-----------------------------