NAME

session - Start an interactive session on the cluster

VERSION

version 0.4.13

SYNOPSIS

session [options]

Options:
-c, --threads Number of CPU cores (default: 1)
-m, --mem Memory size in MB (default: 1000)
-h, --hours Number of hours (default: 4)
-n, --name Job name (default: session)
-q, --queue Queue/partition name (default: determined by hours)
-s, --special   Enable the special parameter string from the config file (default: off)
-i, --intel Use Intel constraint (default: off)

DESCRIPTION

The session script allows you to start an interactive session on the cluster with customizable options.

OPTIONS

-c, --threads

Number of CPU cores. By default, it is set to 1.

-m, --mem

Memory size. If an integer is given, it's used as memory in MB. Specify "dddGB" to set memory in GB. By default it is set to 1000.

-h, --hours

Number of hours. By default, it is set to 4.

-n, --name

Job name. By default, it is set to "session".

-q, --queue

Queue/partition name.

-s, --special

Enable the special parameter string from the config file (default: off). See the CONFIGURATION section below.

-i, --intel

Use Intel constraint. By default, it is turned off.

EXAMPLES

Start an interactive session with 2 CPU cores, 2000 MB of memory, and 8 hours:

session -c 2 -m 2GB -h 8

Start an interactive session with the default settings:

session

CONFIGURATION

In your ~/.nbislurm.config file, you can set two session-specific options:

default_session=STRING
special_session=STRING

The command to start the session will always include the default_session option.

If you want to start a session with the special_session option, you can use the --special option:

session --special

Consider that the --intel switch is a special case of adding the --constraint=intel option to the command.

AUTHOR

Andrea Telatin <proch@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2023 by Andrea Telatin.

This is free software, licensed under:

The MIT (X11) License