Space Options

The following options are available when you create or edit a space. The name and data center location cannot be edited after the space is created. Lifecycle policies can be added only after the space is created.

Space Name

The name of the space. This name will appear throughout the system wherever the space is listed.

This option appears only when creating a new space.

Data Center Location

The data center in which the space will be located. Any input files that you upload to the space can be used to run jobs only in this data center.

This option appears only when creating a new space.

Lifecycle Policies

Lifecycle policies determine which files will be automatically deleted from the space after a certain number of days. This option appears only when editing a space you have already created.

Caution

Lifecycle policies must be configured carefully and communicated to all team members. When these policies are applied, files are deleted permanently and cannot be recovered. Configuring this setting incorrectly can lead to unintended loss of data.

Enter a filter in the first column and a number of days in the second column, then click the plus (+) button. Files with paths matching the filter pattern will be automatically deleted after the specified number of days. The pattern is compared to the entire file path, not just the file name.

The filter can include pre-defined wildcard characters and other pattern-matching elements, as well as characters that should be matched literally. For example, the filter *.h5 consists of the * wildcard character, which matches 0 or more occurrences of any character, followed by the literal string .h5. This pattern will match any file in any directory or subdirectory with a path ending in .h5. A complete list of supported pattern-matching elements for spaces is included below (note that the pattern-matching logic for spaces is slightly different from the logic for file systems).

Days are counted from the date the file was created. Lifecycle policies are typically applied within 24 hours of when the criteria are satisfied, although a specific execution time cannot be guaranteed.

If you add multiple filters, they are evaluated using OR logic.

Pattern-Matching Elements for Lifecycle Policies in Spaces

* matches 0 or more occurrences of any character.

Example Pattern

Matches

Does Not Match

*.h5

post001.h5

/case/sub/dir/post010.h5

h5

/case/h5

/tmp/*

/tmp/file.ext

/tmp/sub/dir/file.ext

/case/tmp/file.ext

tmp/a

? matches one occurrence of any character.

Example Pattern

Matches

Does Not Match

*/outputs_restart?/*

/outputs_restart1/a

/case/outputs_restart4/b

/outputs_restart11/c

/case/outputs_restart/d

\ escapes the next character. This means that the character after the \ will be treated as a literal character.

Example Pattern

Matches

Does Not Match

my\*file.*

my*file.in

my*file.dat

my\*file.in

my\abfile.dat

[...] matches a set of characters or a range of characters.

For a set of characters (e.g., [Ab5-]), matches any one character in the brackets. For a range of characters, (e.g., [0-9]), matches any one character in the range. Ranges must begin and end with a single character (e.g., [0-10] is not supported) and cannot begin with a caret (^) or colon (:). To include a hyphen (-) in the range, make it the first or last character.

Example Pattern

Matches

Does Not Match

[Ab5-]

A

b

5

-

Ab

b5-

-5

5Ab

restart000[1-9].rst

restart0001.rst

restart0005.rst

restart0009.rst

restart00010.rst

restart000.rst

*/post0[1-9]*.h5

/case/sub/dir/post01_+1.002.h5

/case/sub/dir/post04_+1.005.h5

/case/sub/dir/post09_+1.010.h5

/case/sub/dir/post010_+4.037.h5

/case/sub/dir/post027_+8.037.h5

/case/sub/dir/post0_+0.000.h5

/case/sub/dir/post001_+0.001.h5

/case/sub/dir/post11_+10.592.h5