Version 4 (modified by valva, 11 years ago) (diff) |
---|
framework4g.conf is read by wrf4g_framework to manage the WRF4G framework. framework4g.conf is located under $WRF4G_LOCATION/etc.
It has 2 section, Database and Computing Resources.
Database
[Database] DB_LOCAL=1 DB_HOST=sipc18 DB_PORT=13306 DB_USER="wrf4guser" DB_PASSWD="Meteo2011" DB_WRF4G="WRF4GDB"
DB_LOCAL
0 indicates we want to use a external DB, 1 local.
DB_HOST
Computer where DB is running. If DB_LOCAL=1, DB_HOST has to be the name of the computer where WRF4G is running.
DB_PORT
Port where mysql DB is listening.
DB_USER and DB_PASSWD
Credentials to access DB
DB_WRF4G
Name or the WRF4G DB
Computing Resources
The following code shows the sintaxis to add resources.
#********************************************************************************************** # HOST CONFIGURATION FILE # ----------------------- # Syntax # '#' Comments # # This file contains one resource per line, with format: # # FQDN attributes # ... ... # FQDN attributes # # where: # # * FQDN: is the name of resource. # * attributes: are the static attributes of resource. The syntax is: # # <scheme>://<username>@<host>?<query> # # -scheme: the URL schemes available are "ssh" and "local". # * ssh: access to remote DRM via SSH # * local: use the local DRM # -username: user name # -host: host name # -query: contains additional information. The query string syntax is: # * key1=value1;key2=value2;key3=value3 # Variable options: # LRMS_TYPE (mandaroty) : type of local DRM system for execution [pbs | sge | fork | mnslurm ] # PROJECT (optional for SGE) : specifies the project to which the jobs are assigned # GW_RUNDIR (optional) : defines the working directory on the DRM system and must be absolute path # GW_LOCALDIR (optional) : defines the working directory on the Working Node # NODECOUNT (optional) : total number of slots on the DRM system # QUEUE_NAME (optional) : name of the queue to configure. #********************************************************************************************* # Examples 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 #remote_PBS_cluster ssh://user@hostname_submitting_machine?LRMS_TYPE=pbs;QUEUE_NAME=short #remote_SGE_cluster ssh://user@hostname_submitting_machine?LRMS_TYPE=sge;PROJECT=l.project #remote_RES_cluster ssh://user@hostname_submitting_machine?LRMS_TYPE=mnslurm #remote_FORK_cluster ssh://user@hostname_submitting_machine?LRMS_TYPE=fork
More information about how to add resources on DRM4G.
Attachments (1)
-
WRF4GDB
(9.6 KB) -
added by carlos 10 years ago.
WRF4GDB
Download all attachments as: .zip