Desktop (execution on Inria desktop)
Execute the code on the remote workstation.
Available subcommands:
remi desktop [script] [OPTIONS]
Run a bash script on the remote computer.
This is the default subcommand (and can thus be run usingremi cluster).
Options:-s | --script: The path to a bash script to run.
Default:script.sh-h | --hostname: The hostname of an Inria computer.
Default: The value ofpc_namein the config file.-b | --background: Run the script in the background (free the ssh session) by running it inside ascreenortmuxsession (configured in.remi/config.yaml).-n | --name: Manually name thescreen/tmuxsession. (Only useful whenbackgroundis enabled).
Default: The project name (project_namein the config file).-a | --attach: If running the job in background mode, directly attach to it.-X | --xforwarding: Enables X forwarding in SSH.--no-push: Do not attempt to sync project files to the remote location.--no-build: Do not attempt to (re)-build the singularity container.
Examples:
remi desktop: Runscript.shon the default remote desktop.remi desktop -h mensa: Runscript.shonmensa.remi desktop -s training_script.sh -b: Runtraining_script.shon the default remote desktop in background mode.
remi desktop command [OPTIONS] COMMAND
Run the specified COMMAND on the remote computer.
Options:
-h | --hostname: The hostname of an Inria computer.
Default: The value ofpc_namein the config file.-b | --background: Run the command in the background (free the ssh session) by running it inside ascreenortmuxsession (configured in.remi/config.yaml).-n | --name: Manually name thescreen/tmuxsession. (Only useful whenbackgroundis enabled).
Default: The project name (project_namein the config file).-a | --attach: If running the job inbackgroundmode, directly attach to it.-X | --xforwarding: Enables X forwarding in SSH.--no-push: Do not attempt to sync project files to the remote location.--no-build: Do not attempt to (re)-build the singularity container.
Examples:
remi desktop command nvidia-smi: Run the commandnvidia-smion the default remote desktop.remi desktop command -h bacchus "python train_net.py": Run the commandtrain_net.pyonbacchus.remi desktop command -b "./test.sh --number_steps=1000": Run the command./test.sh --number_steps=1000on the default remote desktop in background mode.
remi desktop interactive [OPTIONS]
Start an interactive session on the remote computer.
Options:
-h | --hostname: The hostname of an Inria computer.
Default: The value ofpc_namein the config file.--no-push: Do not attempt to sync project files to the remote location.--no-build: Do not attempt to (re)-build the singularity container.
Examples:
remi desktop interactive: Start an interactive session on the default remote desktop.remi desktop -h hydra --no-push: Start an interactive session onhydrawithout pushing local changes.
remi desktop attach-session [OPTIONS] [SESSION_NAME]
Attach to the screen/tmux running session named SESSION_NAME (default is the project name).
Options:
-h | --hostname: The hostname of an Inria computer.
Default: The value ofpc_namein the config file.