WikiPrint - from Polar Technologies

?WRF for GRID (WRF4G) is a framework for the execution and monitoring of the WRF Modelling System in distributed computer resources (see this presentation). It provides a flexible and easy way of designing complex experiments involving many simulations (multiple start/end dates, multiparametric simulations, long climate runs, ...). The monitor allows a precise control of the state of the experiment, where broken simulations are automatically detected and relaunched on the next submission. WRF4G uses ?GridWay to access to heterogeneous resources in a transparent way.

Installation on the User Interface (UI)

General Requirements

WRF4G needs the following software preinstalled on the UI:


Download and unpack the distribution file ?WRF4G.tar.gz to the installation directory, for example your $HOME directory.

[user@ui~]$ cd $HOME
[user@ui~]$ wget
[user@ui~]$ tar xzvf WRF4G.tar.gz

Environment Configuration

Set up the environment variables "WRF4G_LOCATION" and "PATH" for WRF4G.

[user@ui~]$ export PATH=$WRF4G_LOCATION/bin:$PATH
[user@ui~]$ export LD_LIBRARY_PATH=$WRF4G_LOCATION/lib/shared_libs:$LD_LIBRARY_PATH

And set up the enviroment for GISELA:

GISELA Available Resources

?lcg-infosites command can be used to obtain VO information on Grid resources. Before using lcg-infosites you have to execute file for GISELA Infrastucture. Some using examples are showed below:

For more information you could execute lcg-infosites --help or see ?gLite information

Configuration of WRF4G to access to GISELA Resources

Next steps describe a specific configuration of the CEs for GISELA Infrastructure.

Firstly, you must remove default computing resource. Comment the line "mycomputer" (#) in $WRF4G_LOCATION/etc/framework4g.conf file.

?GridWay configuration

If you want to configure Globus and CREAM resources of GISELA, you have to add the following lines to $WRF4G_LOCATION/opt/drm4g_gridway/etc/gwd.conf file:

# Example MAD Configuration for GISELA
# GT2 
IM_MAD = gisela_gt2:gw_im_mad_bdii:-q (GlueCEAccessControlBaseRule=VO\  -s
EM_MAD = em_gt2:gw_em_mad_gram2::rsl_nsh
TM_MAD = tm_gt2:gw_tm_mad_dummy:-u gsiftp\://

IM_MAD = gisela_cream:gw_im_mad_bdii:-q (GlueCEAccessControlBaseRule=VO\  -s
TM_MAD = tm_cream:gw_tm_mad_dummy:-g

There are two options for the configuration of IM MAD:

There are two options for the configuration of the TM MAD:

For more information about MAD configuration see ?GridWay Configuration Guide

Running environment configuration

The WRF4G_BASEPATH, WRF4G_DOMAINPATH, WRF4G_INPUT and WRF4G_APPS variables must be updated in $WRF4G_LOCATION/etc/resources.wrf4g (see resources.wrf4g for more details). The new supported URL syntaxes will be:


The example below shows an possible resources.wrf4g files:


Accessing the VOMS servers

To use the GISELA resources, the user should iniatilize the proxy through voms server:

[user@ui~]$ voms-proxy-init --voms
Cannot find file or dir: /oceano/gmeteo/users/carlos/.glite/vomses
Enter GRID pass phrase:
Your identity: /DC=es/DC=irisgrid/O=unican/
Creating temporary proxy ........................................ Done
Contacting [/C=BR/O=ICPEDU/O=UFF BrGrid CA/O=UFRJ/OU=IF/CN=host/] "" Done
Creating proxy ................................... Done
Your proxy is valid until Tue Aug 23 22:15:06 2011

Testing installation

For more specific information about commands see ?WRF4G CLI


If you find any problem, please ?submit us a ticket!!