Skip to content
Snippets Groups Projects
Commit 0328883e authored by Simon Michnowicz's avatar Simon Michnowicz
Browse files

fixed logic error. newnode=>hostname in variable names

parent 05353c17
No related branches found
No related tags found
1 merge request!364fixed logic error in mpi test script
...@@ -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.
newnode=$2 hostname=$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=$newnode" echo "hostname=$hostname"
echo "reservation=$reservation" echo "reservation=$reservation"
echo "partition=$partition" echo "partition=$partition"
if [ -z $newnode ] if [ -z $hostname ]
then then
echo "You need to specify a nodename " echo "You need to specify a nodename "
printUsage printUsage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment