Skip to content

user_settings

SlurmSshUserSettings

Bases: BaseModel

Subset of user settings which must be present for task collection and job execution when using the Slurm-SSH runner.

Attributes:

Name Type Description
project_dir str

Folder where slurm_user can write.

slurm_accounts list[str]

List of SLURM accounts, to be used upon Fractal job submission.

Source code in fractal_server/app/user_settings.py
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
class SlurmSshUserSettings(BaseModel):
    """
    Subset of user settings which must be present for task collection and job
    execution when using the Slurm-SSH runner.

    Attributes:
        project_dir: Folder where `slurm_user` can write.
        slurm_accounts:
            List of SLURM accounts, to be used upon Fractal job submission.
    """

    project_dir: str
    slurm_accounts: list[str]

SlurmSudoUserSettings

Bases: BaseModel

Subset of user settings which must be present for task collection and job execution when using the Slurm-sudo runner.

Attributes:

Name Type Description
project_dir str

Folder where slurm_user can write.

slurm_accounts list[str]

List of SLURM accounts, to be used upon Fractal job submission.

Source code in fractal_server/app/user_settings.py
20
21
22
23
24
25
26
27
28
29
30
31
32
class SlurmSudoUserSettings(BaseModel):
    """
    Subset of user settings which must be present for task collection and job
    execution when using the Slurm-sudo runner.

    Attributes:
        project_dir: Folder where `slurm_user` can write.
        slurm_accounts:
            List of SLURM accounts, to be used upon Fractal job submission.
    """

    project_dir: str
    slurm_accounts: list[str]