wiki:WRF4Gframework4g_conf

Version 1 (modified by valva, 11 years ago) (diff)

--

Manage WRF4G Framework

WRF4G framework allows us to define all the computing resources we have access to (clusters, grid infrastructures, single computers...). Given this list of resources, when we run an experiment, we can let framework choose the resources for us, or we can indicate the requirements our experiment has (we may want to run an experiment in a given resource). This resource management is done through DRM4G. In order to trac the experiment status, WRF4G framework has also a database that handle all the events experiments generate. The only thing users should know about this database is that it have to be running all the time.

Framework can be started and stopped with the following command: wrf4g_framework start/stop/restart. Note that the WRF4G environment variables have to be set.

export WRF4G_LOCATION=$install_path/WRF4G
export GW_LOCATION=$WRF4G_LOCATION/opt/drm4g_gridway-5.7
export PATH=$WRF4G_LOCATION/bin:$GW_LOCATION/bin:$PATH

The WRF4G framework is configured in the file framework4g.conf (located in $WRF4G_LOCATION/etc). It is divided in to sections: Database and Computing Resources.

  • Database: Defines the database access configuration. Note that in order to the experiments to work properly it's necesary to have access from the computing resource to the 13306 port of the server where Database is running. If you encounter firewall problems, you can change the port.
  • Computing Resources: List of Computing resources. For more information see DRM4G.
[Database]
DB_HOST="$HOSTNAME"
DB_PORT=13306
DB_USER="wrf4guser"
DB_PASSWD="Meteo2011"
DB_WRF4G="WRF4GDB"

[Computing Resources]
mycomputer            local://localhost?LRMS_TYPE=fork;NODECOUNT=1
#PBS_cluster          local://localhost?LRMS_TYPE=pbs;QUEUE_NAME=estadistica
#SGE_cluster          local://localhost?LRMS_TYPE=sge;PROJECT=l.project
#RES_cluster          local://localhost?LRMS_TYPE=mnslurm

Attachments (1)

Download all attachments as: .zip