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

Loading…
Cancel
Save