You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration files used by `osg-configure` are the one supported by Python's [SafeConfigParser](http://docs.python.org/library/configparser.html), similar in format to the [INI configuration file](http://en.wikipedia.org/wiki/INI_file) used by MS Windows:
96
+
The configuration files used by `osg-configure` are the one supported by Python's [SafeConfigParser](https://docs.python.org/library/configparser.html), similar in format to the [INI configuration file](https://en.wikipedia.org/wiki/INI_file) used by MS Windows:
97
97
98
98
- Config files are separated into sections, specified by a section name in square brackets (e.g. `[Section 1]`)
99
99
- Options should be set using `name = value` pairs
100
100
- Lines that begin with `;` or `#` are comments
101
-
- Long lines can be split up using continutations: each white space character can be preceded by a newline to fold/continue the field on a new line (same syntax as specified in [email RFC 822](http://tools.ietf.org/html/rfc822.html))
101
+
- Long lines can be split up using continutations: each white space character can be preceded by a newline to fold/continue the field on a new line (same syntax as specified in [email RFC 822](https://tools.ietf.org/html/rfc822.html))
102
102
- Variable substitutions are supported -- [see below](#variable-substitution)
103
103
104
104
`osg-configure` reads and uses all of the files in `/etc/osg/config.d` that have a ".ini" suffix. The files in this directory are ordered with a numeric prefix with higher numbers being applied later and thus having higher precedence (e.g. `00-foo.ini` has a lower precedence than `99-local-site-settings.ini`). Configuration sections and options can be specified multiple times in different files. E.g. a section called `[PBS]` can be given in `20-pbs.ini` as well as `99-local-site-settings.ini`.
@@ -417,11 +417,14 @@ If you would like to properly advertise multiple CEs per cluster, make sure that
417
417
418
418
#### Subcluster Configuration ####
419
419
420
-
Each homogeneous set of worker node hardware is called a **subcluster**. For each subcluster in your cluster, fill in the information about the worker node hardware by creating a new Subcluster section with a unique name in the following format: `[Subcluster CHANGEME]`, where CHANGEME is the globally unique subcluster name (yes, it must be a **globally** unique name for the whole grid, not just unique to your site. Get creative.)
420
+
Each homogeneous set of worker node hardware is called a **subcluster**.
421
+
For each subcluster in your cluster, fill in the information about the worker node hardware by creating a new Subcluster section in the following format:
422
+
`[Subcluster CHANGEME]`, where CHANGEME is the subcluster name.
423
+
If you have multiple subclusters, they must have different names.
|**allowed\_vos**| Comma-separated List or `*`| The VOs that are allowed to run jobs on this resource (autodetected if `*`) |
478
+
|**max\_pilots**| Positive Integer | The maximum number of pilots of this type that the factory can send to this CE |
479
+
|**os**| Choice (see below) | The operating system on the workers the pilot should request. Not set by default. Only required if **require\_singularity** is `False`|
480
+
|**require\_singularity**|`True`, `False`|`True` if the pilot should require Singularity support on any worker it lands on. Default `False`; **os** is optional if this is `True`|
481
+
482
+
Valid values for the **os** option are: `rhel6`, `rhel7`, `rhel8`, or `ubuntu18`.
|**cpucount**| Positive Integer | Number of cores that a job using this type of pilot can get. Default `1`; ignored if **whole\_node** is `True`|
488
+
|**ram\_mb**| Positive Integer | Maximum amount of memory (in MB) that a job using this type of pilot can get. Default `2500`; ignored if **whole\_node** is `True`|
489
+
|**whole\_node**|`True`, `False`| Whether this type of pilot can use all the resources on a node. Default `False`; **cpucount** and **ram\_mb** are ignored if this is `True`|
490
+
|**gpucount**| Non-negative Integer | The number of GPUs to request. Default `0`|
491
+
|**max\_wall\_time**| Positive Integer | Maximum wall-clock time, in minutes, that a job is allowed to run on this resource. Default `1440`, i.e. 24 hours |
492
+
|**queue**| String | The queue or partition which jobs should be submitted to in order to run on this resource (see note). Not set by default |
493
+
|**send\_tests**|`True`, `False`| Send test pilots. Default `False`; set it to `True` for testing job routes or pilot types |
494
+
495
+
**Note:****queue** is equivalent to the HTCondor grid universe classad attribute **remote\_queue**.
496
+
497
+
498
+
499
+
461
500
### 40-localsettings.ini / [Local Settings] ###
462
501
463
502
This section differs from other sections in that there are no set options in this section. Rather, the options set in this section will be placed in the `osg-local-job-environment.conf` verbatim. The options in this section are case sensitive and the case will be preserved when they are converted to environment variables. The `osg-local-job-environment.conf` file gets sourced by jobs run on your cluster so any variables set in this section will appear in the environment of jobs run on your system.
@@ -499,5 +538,3 @@ If your resource has multiple sponsors, you can separate them using commas or sp
499
538
`osg, atlas, cms` or `osg:10, atlas:45, cms:45`.
500
539
The percentages must add up to 100 if multiple sponsors are used.
501
540
If you have a sponsor that is not an OSG VO, you can indicate this by using 'local' as the VO.
0 commit comments