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
16af2892
Commit
16af2892
authored
7 years ago
by
Felip Moll
Committed by
Danny Auble
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Initial change to better document the export option.
Bug 4384
parent
c31addc5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/man/man1/sbatch.1
+11
-8
11 additions, 8 deletions
doc/man/man1/sbatch.1
doc/man/man1/srun.1
+9
-8
9 additions, 8 deletions
doc/man/man1/srun.1
with
20 additions
and
16 deletions
doc/man/man1/sbatch.1
+
11
−
8
View file @
16af2892
...
...
@@ -499,19 +499,22 @@ The default shared/exclusive behavior depends on system configuration and the
partition's \fBOverSubscribe\fR option takes precedence over the job's option.
.TP
\fB\-\-export\fR=<\fIenvironment variables
|
ALL | NONE\fR>
\fB\-\-export\fR=<\fIenvironment variables
[
ALL
]
| NONE\fR>
Identify which environment variables are propagated to the batch job.
Multiple environment variable names should be comma separated.
Environment variable names may be specified to propagate the current
value of those variables (e.g. "\-\-export=EDITOR") or specific values
for the variables may be exported (e.g.. "\-\-export=EDITOR=/bin/vi")
in addition to the environment variables that would otherwise be set.
for the variables may be exported (e.g. "\-\-export=EDITOR=/bin/emacs").
By default all environment variables are propagated.
If the argument includes \fIALL\fR, all the current environment variables from
submit node are propagated (e.g. "\-\-export=EDITOR,ALL").
If the argument is \fINONE\fR or specific environment variable names,
then the \fB\-\-get\-user\-env\fR option will implicitly be set to load other
environment variables based upon the user's configuration on the cluster which
executes the job. Regardless of this setting, the appropriate "SLURM_*" task
environment variables are always exported to the environment.
This option particularly important for jobs that are submitted on one cluster
and execute on a different cluster (e.g. with different paths). By default all
environment variables are propagated. If the argument is \fINONE\fR or
specific environment variable names, then the \fB\-\-get\-user\-env\fR
option will implicitly be set to load other environment variables based upon
the user's configuration on the cluster which executes the job.
and execute on a different cluster (e.g. with different paths).
.TP
\fB\-\-export\-file\fR=<\fIfilename\fR | \fIfd\fR>
...
...
This diff is collapsed.
Click to expand it.
doc/man/man1/srun.1
+
9
−
8
View file @
16af2892
...
...
@@ -742,18 +742,19 @@ following options should NOT be specified
See \fBEXAMPLE\fR below.
.TP
\fB\-\-export\fR=<\fIenvironment variables | NONE\fR>
\fB\-\-export\fR=<\fIenvironment variables
[ALL]
| NONE\fR>
Identify which environment variables are propagated to the launched application.
Multiple environment variable names should be comma separated.
Environment variable names may be specified to propagate the current
value of those variables (e.g. "\-\-export=EDITOR") or specific values
for the variables may be exported (e.g.. "\-\-export=EDITOR=/bin/vi")
in addition to the environment variables that would otherwise be set.
By default all environment variables are propagated. With "\-\-export=NONE"
no environment variables will be propagated unless explicitly listed (e.g.,
"\-\-export=NONE,PATH=/bin,SHELL=/bin/bash"). Regardless of this setting,
the appropriate "SLURM_*" task environment variables are always exported to the
environment. This option applies to job allocations.
for the variables may be exported (e.g. "\-\-export=EDITOR=/bin/emacs").
By default all environment variables are propagated.
If the argument includes \fIALL\fR, all the current environment variables from
submit node are propagated (e.g. "\-\-export=EDITOR,ALL").
If the argument is \fINONE\fR or specific environment variable names, no
other environment variables will be propagated unless explicitly listed.
Regardless of this setting, the appropriate "SLURM_*" task environment variables
are always exported to the environment.
.TP
\fB\-\-gid\fR=<\fIgroup\fR>
...
...
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