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
1c717f7d
Commit
1c717f7d
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Move globals to globals.example, force user to copy and edit it.
parent
f5f0ba56
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/globals.example
+1
-2
1 addition, 2 deletions
testsuite/expect/globals.example
testsuite/expect/regression
+6
-7
6 additions, 7 deletions
testsuite/expect/regression
with
7 additions
and
9 deletions
testsuite/expect/globals
→
testsuite/expect/globals
.example
+
1
−
2
View file @
1c717f7d
...
@@ -31,8 +31,7 @@ global sacct scancel scontrol sinfo smap squeue srun
...
@@ -31,8 +31,7 @@ global sacct scancel scontrol sinfo smap squeue srun
# Specify the slurm install directory.
# Specify the slurm install directory.
# Used to locate binaries, libraries, and header files.
# Used to locate binaries, libraries, and header files.
#
#
#set slurm_dir "/usr"
set slurm_dir "/usr"
set slurm_dir "/home/jette/slurm.way"
set sacct "${slurm_dir}/bin/sacct"
set sacct "${slurm_dir}/bin/sacct"
set scancel "${slurm_dir}/bin/scancel"
set scancel "${slurm_dir}/bin/scancel"
set scontrol "${slurm_dir}/bin/scontrol"
set scontrol "${slurm_dir}/bin/scontrol"
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/regression
+
6
−
7
View file @
1c717f7d
...
@@ -35,16 +35,15 @@ COMPLETIONS=0
...
@@ -35,16 +35,15 @@ COMPLETIONS=0
# Make sure we are in the desired directory before possibly
# Make sure we are in the desired directory before possibly
# removing files the user does not want to lose.
# removing files the user does not want to lose.
wc
./globals
>
/dev/null 2>/dev/null
if
[
!
-x
./regression
]
;
then
rc
=
$?
if
[
$rc
-eq
0
]
;
then
wc
./regression
>
/dev/null 2>/dev/null
rc
=
$?
fi
if
[
$rc
-ne
0
]
;
then
echo
"FAILURE: cd to 'testsuite/expect' before starting 'regression'"
echo
"FAILURE: cd to 'testsuite/expect' before starting 'regression'"
exit
1
exit
1
fi
fi
if
[
!
-x
./globals
]
;
then
echo
"FAILURE: copy 'globals.example' to 'globals' and modify as needed"
exit
1
fi
# Remove any recently edited back-up files
# Remove any recently edited back-up files
/bin/rm
-f
test
*
.
*
%
test
*
input
test
*
output
test
*
error
/bin/rm
-f
test
*
.
*
%
test
*
input
test
*
output
test
*
error
...
...
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