Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
b218e6d2
Commit
b218e6d2
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add man page for new command under development.
parent
16bef383
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/man/man1/sbcast.1
+88
-0
88 additions, 0 deletions
doc/man/man1/sbcast.1
with
88 additions
and
0 deletions
doc/man/man1/sbcast.1
0 → 100644
+
88
−
0
View file @
b218e6d2
.TH SBCAST "1" "January 2006" "sbcast 1.1" "Slurm components"
.SH "NAME"
sbcast \- transmit a file to the nodes allocated to a SLURM job.
.SH "SYNOPSIS"
\fBsbcast\fR [\-CfpvV] SOURCE DEST
.SH "DESCRIPTION"
\fBsbcast\fR is used to transmit a file to all nodes allocated
to the currenly active SLURM job.
This command should only be executed from within a SLURM batch
job or within the shell spawned after a SLURM job's resource
allocation.
\fBSOURCE\fR is the name of a file on the current node.
\fBDEST\fR should be the fully qualified pathname for the
file copy to be created on each node.
This should be on a file system local to that node.
.SH "OPTIONS"
.TP
\fB\-C\fR, \fB\-\-compress\fR
Compress the file being transmitted.
.TP
\fB\-f\fR, \fB\-\-force\fR
If the destination file already exists, replace it.
.TP
\fB\-p\fR, \fB\-\-preserve\fR
Preserves modification times, access times, and modes from the
original file.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Provide detailed event logging through program execution.
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version information and exit.
.SH "ENVIRONMENT VARIABLES"
.PP
Some \fBsbcast\fR options may be set via environment variables.
These environment variables, along with their corresponding options,
are listed below. (Note: Command line options will always override
these settings.)
.TP 20
\fBSBCAST_COMPRESS\fR
\fB\-C, \-\-compress\fR
.TP
\fBSBCAST_FORCE\fR
\fB\-f, \-\-force\fR
.TP
\fBSBCAST_PRESERVE\fR
\fB\-p, \-\-preserve\fR
.SH "EXAMPLE"
Using a batch script, transmit local file \fBmy.prog\fR to
\fB/tmp/my.proc\fR on the local nodes and then execute it.
.nf
> cat my.job
#!/bin/bash
sbcast my.prog /tmp/my.prog
srun my.prog
> srun --nodes=8 --batch my.job
srun: jobid 12345 submitted
.fi
.SH "COPYING"
Copyright (C) 2006 The Regents of the University of California.
Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
UCRL-CODE-217948.
.LP
This file is part of SLURM, a resource management program.
For details, see <http://www.llnl.gov/linux/slurm/>.
.LP
SLURM is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
.LP
SLURM is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
.SH "SEE ALSO"
\fBsrun\fR(1)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment