fluiddyn.clusters

Clusters

Provides:

local

Local workstations as clusters (fluiddyn.clusters.local)

oar

OAR clusters (fluiddyn.clusters.oar)

slurm

Slurm clusters (fluiddyn.clusters.slurm)

pbs

PBS clusters (fluiddyn.clusters.pbs)

legi

LEGI clusters

ciment

Ciment clusters (fluiddyn.clusters.ciment)

cines

Slurm clusters under CINES (fluiddyn.clusters.cines)

snic

Slurm clusters under SNIC (fluiddyn.clusters.snic)

idris

Slurm clusters under IDRIS (fluiddyn.clusters.idris)

azzurra

Slurm clusters under AZZURRA (fluiddyn.clusters.azzurra)

class fluiddyn.clusters.Cluster[source]

Bases: ABC

Base class for clusters

classmethod print_doc_commands()[source]

Print a short documentation about the commands available in the cluster

get_commands_setting_env()[source]

Return a list of commands setting the environment

If self.commands_setting_env is None, self.get_commands_activating_lauching_python() is returned.

get_commands_activating_lauching_python()[source]

Return a list a commands activating the Python used to launch the script

Functions

check_oar()

check if this script is run on a frontal with oar installed

check_pbs()

Check if this script is run on a frontal with pbs installed.

check_slurm()

Check if this script is run on a frontal with slurm installed.

print_help_scheduler([scheduler])

Detect the scheduler and print a minimal help.

Classes

Cluster()

Base class for clusters