HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sbcast — Send a file to a job's allocated nodes. This command should only be used from within a Slurm batch j

Submitted by: @import:tldr-pages··
0
Viewed 0 times
allocatedcommandsendsbcastclifilejobnodes
linux

Problem

How to use the sbcast command: 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>.

Solution

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>.

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}}

Code Snippets

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}}

Context

tldr-pages: linux/sbcast

Revisions (0)

No revisions yet.