* Minor typographical improvements.

master
Wirawan Purwanto 4 years ago
parent dda0e1b7ad
commit e9597af157
  1. 18
      turing/calculations/g09/g09slurm

@ -61,7 +61,7 @@ collect_scratch_objects () {
# Parses line like this:
# %RWF=/dalton/s0/
# %RWF=/dalton/s0/,4GB,/scratch/,3GB,/temp/s0/my_job,-1
# and prints the scratch dirs/files there
# and prints the scratch dirs/files found to the standard output
#
# The first argument is the keyword to look for, and it must
# be must be in lowercase
@ -118,14 +118,14 @@ if [ -z "$begin_date" ]; then
fi
if [ -f "$output_file" ]; then
read -p "Output file $output_file already exists, do you want overwrite? [N/y]" confirm
if [ "$confirm" = "y" ]; then
> "$output_file"
else
echo "Cancelling job submission" >&2
exit 1
fi
read -p "Output file $output_file already exists, do you want overwrite? [N/y]" confirm
if [ "$confirm" = "y" ]; then
> "$output_file"
else
echo "Cancelling job submission" >&2
exit 1
fi
fi
CLUSTER=$(cat /etc/cluster)

Loading…
Cancel
Save