sbcast

Send a file to a job's allocated nodes. This command should only be used from within a Slurm batch job. More information: <https://slurm.schedmd.com/sbcast.html>.

Install

All systems
curl cmd.cat/sbcast.sh
Debian Debian
apt-get install slurm-client
Ubuntu
apt-get install slurm-client
image/svg+xml Kali Linux
apt-get install slurm-client
Fedora
dnf install slurm
Windows (WSL2)
sudo apt-get update sudo apt-get install slurm-client
OS X
brew install slurm
Raspbian
apt-get install slurm-client

Send a file to a job's allocated nodes. This command should only be used from within a Slurm batch job. More information: <https://slurm.schedmd.com/sbcast.html>.

  • Send a file to all nodes allocated to the current job:
    sbcast path/to/file path/to/destination
  • Autodetect shared libraries the transmitted file depends upon and transmit them as well:
    sbcast --send-libs=yes path/to/executable path/to/destination

© tl;dr; authors and contributors