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

--

After configuring a experiment in experiment.wrf4g, we can choose the running environment we want for it (data repositories, number of cores to use, requirements that Computing Resources must fulfill,...). This configuration is done in resources.wrf4g.

If resources.wrf4g is not present in the folder from where the experiment is submitted, the system will use the default one located in $WRF4G_LOCATION/etc/. WRF4G_VERSION="1.0beta" WRF_VERSION="3.1.1_r832INTEL_OMPI" WRF4G_BASEPATH="$WRF4G_LOCATION/repository/output"
WRF4G_DOMAINPATH="$WRF4G_LOCATION/repository/domains" WRF4G_INPUT="$WRF4G_LOCATION/repository/input"
WRF4G_APPS="\$WRF4G_LOCATION/repository/apps"
NP=8
REQUIREMENTS ='HOSTNAME = "*ui0*";'


The following is a complete list of the available options:

WRF4G_VERSION
WRF4G version to use. A file WRF4G-[WRF4G_VERSION].tar.gz must exist under WRF4G_APPS.
WRF_VERSION
WRF4Gbin version to use. A file WRF4Gbin-[WRF_VERSION].tar.gz must exist under WRF4G_APPS.
WRF4G_BASEPATH
Under this path one must find the following hierarchy to find the domain files and to save the output/restart/wpsout data
WRF4G_BASEPATH/
+-- domains
-- experiments
-- [experiment_name]
-- [realization_name]
+-- output
+-- restart
|    -- wrfrst_d01_1990-01-01_12:00:00
-- realout
`
This path can be local or remote. Local paths look like /path/to/base/path or file:///path/to/base/path. Additionally, the following protocols are supported (in general, any protocol supported by vcp): GSIFTP as gsiftp://host[:port]/path/to/base/path, RSYNC as rsync://[user@]host/path/to/base/path
WRF4G_INPUT
This path can be used in wrf.input to set the global_path to access the input data. Supports the same access protocols as WRF4G_BASEPATH.
WRF4G_APPS
This is the path for the application binaries. Here you must find the files WRF4G-[WRF4G_VERSION].tar.gz and WRF4Gbin-[WRF_VERSION].tar.gz. Supports the same access protocols as WRF4G_BASEPATH.
JOB_TYPE
The type of job to be run. This option selects the submitter to be used. A valid wrf4g_submit.[JOB_TYPE] file must exists in the ui/scripts directory NP: Number of nodes to request in a parallel job. Note that it has to be enough resources to run in NP. For example, if we only configure 1 core of a computer in framework4g.conf, we can't submit an experiment demanding NP=2. REQUIREMENTS: Requirements asked to the Computing resources where the experiment is going to run. For example REQUIREMENTS ='HOSTNAME = "*ui0*";'