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?
-
JobType = "Normal";
-
Executable = "wrf-wrapper.sh";
-
CpuNumber = 4;
-
InputSandbox = {"wrf-wrapper.sh","namelist.input"};
-
StdOutput = "std.out";
-
StdError = "std.err";
-
OutputSandbox = {"std.out","std.err","rsl.error.0000","rsl.out.0000","namelist.input"};
-
Requirements = Member("MPI-START", other.GlueHostApplicationSoftwareRunTimeEnvironment)
-
&& Member("MPICH2", other.GlueHostApplicationSoftwareRunTimeEnvironment)
-
&& (other.GlueHostArchitecturePlatformType == "x86_64");
The wrapper script (wrf-wrapper.sh)
The wrapper script is structured into 4 distinct sections, which are
-
Environmental variables setup
-
Download of executables and input files
-
Execution of WRF model
-
Upload of output results
|
|
| |
|
| |
|
| |
|
|