Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
0328883e
Commit
0328883e
authored
4 years ago
by
Simon Michnowicz
Browse files
Options
Downloads
Patches
Plain Diff
fixed logic error. newnode=>hostname in variable names
parent
05353c17
No related branches found
No related tags found
1 merge request
!364
fixed logic error in mpi test script
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CICD/tests/mpi/run_single_node.sh
+3
-3
3 additions, 3 deletions
CICD/tests/mpi/run_single_node.sh
with
3 additions
and
3 deletions
CICD/tests/mpi/run_single_node.sh
+
3
−
3
View file @
0328883e
...
@@ -42,7 +42,7 @@ while true; do
...
@@ -42,7 +42,7 @@ while true; do
#echo "Parameter is $1"
#echo "Parameter is $1"
case
"
$1
"
in
case
"
$1
"
in
-n
|
--newnode
)
# Specify p value.
-n
|
--newnode
)
# Specify p value.
newnod
e
=
$2
hostnam
e
=
$2
shift
2
shift
2
#echo "Newnode is $newnode"
#echo "Newnode is $newnode"
;;
;;
...
@@ -80,11 +80,11 @@ echo "PID is $$"
...
@@ -80,11 +80,11 @@ echo "PID is $$"
#parse arguments
#parse arguments
parseARG
$0
"
$@
"
parseARG
$0
"
$@
"
echo
"
newnode=
$newnod
e
"
echo
"
hostname=
$hostnam
e
"
echo
"reservation=
$reservation
"
echo
"reservation=
$reservation
"
echo
"partition=
$partition
"
echo
"partition=
$partition
"
if
[
-z
$
newnod
e
]
if
[
-z
$
hostnam
e
]
then
then
echo
"You need to specify a nodename "
echo
"You need to specify a nodename "
printUsage
printUsage
...
...
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