# Document to configure execution parameters in Multivac
# VERSION indicates the .slurm document version
# JOB_NAME is the name of our execution for easy identification.
# NAME_OUTPUT is the output name of our program.
# PARTITION indicates the cluster partition where our programs will run.
# N_TASKS is the number of tasks to run.
# CPUS_PER_TASK is the number of CPUs required by our execution.
# MAIL_TYPE is the notification type we will receive.
# MAIL_USER is an email like username@upc.edu where notifications are sent.
# MEMORY is the memory that our program will use.
# BEGIN indicates when our program execution will start.
# TIME_LIMIT is the maximum execution time of our program.
# LOG_OUTPUT is the log output name of our execution.
# FORCED_NODES are nodes where execution will be forced.
# EXCLUDED_NODES are nodes excluded from execution.
# COMMANDS is a set of Bash instructions executed during the job.
VERSION=1.3 # Check that this is the latest version at https://iocnet.upc.edu/eoli/index.html
JOB_NAME=test # Name shown in the job queue
NAME_OUTPUT=out
PARTITION=all # Partition name to use, default is all. Examples: dops, robotica, citcea
N_TASKS=1 # Number of tasks to parallelize
CPUS_PER_TASK=1 # Number of required CPUs
MAIL_TYPE=END,FAIL
MAIL_USER=nom.usuari@upc.edu
MEMORY=1024M # [K|M|G|T] log-c1: 3715M, log-c2:3779M, log-c3:3715M, log-c4:3779M, dops-a1:15879M, dops-a2:15879M, dops-a3:15878M, dops-a4:15900M, dops-a5:15900M, cetus:64166M, psi:257379M
BEGIN=now # "hh:mm","now+1hour", "now+60" (seconds by default), "2010-01-20T12:34:00" YYYY-MM-DD[THH:MM[:SS]]
TIME_LIMIT=23:59:00 # "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes", "days-hours:minutes:seconds"
LOG_OUTPUT=log
FORCED_NODES= # Nodes where execution will be forced
EXCLUDED_NODES= # Nodes excluded from execution
ROUTE=~/debug # Path to our scripts
COMMANDS=(
# List of commands we want to execute
"hostname"
"whoami"
# #### Example commands: #####
#"source $ROUTE/venv/bin/activate"
#"pip3 install pandas"
#"python3 $ROUTE/hello_world.py"
#"deactivate"
# #############################
)