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
6bec3a06
Commit
6bec3a06
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Modify test to pass squeue pathname for use with private (test) installations.
parent
42902b57
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/expect/test7.4
+1
-1
1 addition, 1 deletion
testsuite/expect/test7.4
testsuite/expect/test7.4.bash
+4
-4
4 additions, 4 deletions
testsuite/expect/test7.4.bash
with
5 additions
and
5 deletions
testsuite/expect/test7.4
+
1
−
1
View file @
6bec3a06
...
@@ -40,7 +40,7 @@ set exit_code 0
...
@@ -40,7 +40,7 @@ set exit_code 0
set test_prog "test$test_id.prog"
set test_prog "test$test_id.prog"
# Note this appears as a single argv value to totalviewcli
# Note this appears as a single argv value to totalviewcli
set bulk "set issue_dgo false; dset TV::bulk_launch_enabled true; dset TV::bulk_launch_string {$srun -N%N -n%N --jobid=`test7.4.bash %t1` -l --input=none %B/tvdsvr%K -callback_host %H -callback_ports %L -set_pws %P -verbosity %V -working_directory %D %F}"
set bulk "set issue_dgo false; dset TV::bulk_launch_enabled true; dset TV::bulk_launch_string {$srun -N%N -n%N --jobid=`test7.4.bash
$squeue
%t1` -l --input=none %B/tvdsvr%K -callback_host %H -callback_ports %L -set_pws %P -verbosity %V -working_directory %D %F}"
set no_bulk "set issue_dgo false; dset TV::bulk_launch_enabled false"
set no_bulk "set issue_dgo false; dset TV::bulk_launch_enabled false"
print_header $test_id
print_header $test_id
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test7.4.bash
+
4
−
4
View file @
6bec3a06
#!/bin/sh
#!/bin/sh
#
for a file containing a list of allocated nodes, get the slurm
#
Usage: <squeue path> <node list>
# jobid
for the job running on
that node for th
is
user
#
Returns SLURM
job
id
allocated to
that node for th
at
user
#
#
node
=
`
head
-n
1
$
1
`
node
=
`
head
-n
1
$
2
`
user
=
`
id
-un
`
user
=
`
id
-un
`
jobid
=
`
squeue
-h
-o
%i
-u
$user
-n
$node
`
jobid
=
`
$1
-h
-o
%i
-u
$user
-n
$node
`
echo
$jobid
echo
$jobid
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