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
3a73f266
Commit
3a73f266
authored
12 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
BGQ - minor fix for --launch-cmd to print runjob instead of srun
parent
3419a62c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/launch/runjob/launch_runjob.c
+3
-3
3 additions, 3 deletions
src/plugins/launch/runjob/launch_runjob.c
with
3 additions
and
3 deletions
src/plugins/launch/runjob/launch_runjob.c
+
3
−
3
View file @
3a73f266
...
@@ -320,10 +320,10 @@ extern int launch_p_setup_srun_opt(char **rest)
...
@@ -320,10 +320,10 @@ extern int launch_p_setup_srun_opt(char **rest)
if
(
!
opt
.
test_only
)
{
if
(
!
opt
.
test_only
)
{
int
i
=
0
;
int
i
=
0
;
/* First arg has to be something when sending it to the
/* First arg has to be something when sending it to the
runjob api. This can be anything,
srun seemed most
runjob api. This can be anything,
we put runjob
logical
, but it doesn't matter.
here so --launch-cmd looks nice :)
, but it doesn't matter.
*/
*/
opt
.
argv
[
i
++
]
=
xstrdup
(
"
s
run"
);
opt
.
argv
[
i
++
]
=
xstrdup
(
"run
job
"
);
/* srun launches tasks using runjob API. Slurmd is not used */
/* srun launches tasks using runjob API. Slurmd is not used */
/* We are always going to set ntasks_per_node and ntasks */
/* We are always going to set ntasks_per_node and ntasks */
// if (opt.ntasks_per_node != NO_VAL) {
// if (opt.ntasks_per_node != NO_VAL) {
...
...
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