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
ae72b4c9
Commit
ae72b4c9
authored
11 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Add new test for native cray system
parent
3e6cff31
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
testsuite/expect/globals
+31
-1
31 additions, 1 deletion
testsuite/expect/globals
with
31 additions
and
1 deletion
testsuite/expect/globals
+
31
−
1
View file @
ae72b4c9
...
...
@@ -1312,7 +1312,7 @@ proc test_bluegene { } {
#
# Proc: test_alps
#
# Purpose: Determine if the system is a cray system
# Purpose: Determine if the system is a
alps
cray system
#
# Returns 1 if the system is a cray, 0 otherwise
#
...
...
@@ -1338,6 +1338,36 @@ proc test_alps { } {
return $cray
}
################################################################
#
# Proc: test_cray
#
# Purpose: Determine if the system is a native cray system
#
# Returns 1 if the system is a cray, 0 otherwise
#
################################################################
proc test_cray { } {
global scontrol bin_bash bin_grep
log_user 0
set cray 0
spawn -noecho $bin_bash -c "exec $scontrol show config | $bin_grep SelectType"
expect {
"select/cray" {
set cray 1
exp_continue
}
eof {
wait
}
}
log_user 1
return $cray
}
################################################################
#
# Proc: test_serial
...
...
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