Skip to content

Commit

Permalink
Merge pull request #41 from noaa-ocs-modeling/develop
Browse files Browse the repository at this point in the history
remove squeue display columns
  • Loading branch information
zacharyburnett authored Mar 19, 2021
2 parents 5bf49db + 3890841 commit 2be074d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion coupledmodeldriver/job_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def __str__(self) -> str:
if self.platform != Platform.LOCAL:
# slurm queue output https://slurm.schedmd.com/squeue.html
squeue_command = (
'squeue -u $USER -o "%.8i %.21j %.4C %.4D %.31E %.7a %.9P %.20V %.20S %.20e"'
'squeue -u $USER -o "%.8i %.21j %.4C %.4D %.31E %.20V %.20S %.20e"'
)
echo_squeue_command = squeue_command.replace('"', r'\"')
lines.extend(
Expand Down
4 changes: 2 additions & 2 deletions tests/data/reference/hera_shinnecock_ike/run_hera.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ for hotstart in ${DIRECTORY}/runs/*/; do
done

# display job queue with dependencies
squeue -u $USER -o "%.8i %.21j %.4C %.4D %.31E %.7a %.9P %.20V %.20S %.20e"
echo squeue -u $USER -o \"%.8i %.21j %.4C %.4D %.31E %.7a %.9P %.20V %.20S %.20e\"
squeue -u $USER -o "%.8i %.21j %.4C %.4D %.31E %.20V %.20S %.20e"
echo squeue -u $USER -o \"%.8i %.21j %.4C %.4D %.31E %.20V %.20S %.20e\"
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ for hotstart in ${DIRECTORY}/runs/*/; do
done

# display job queue with dependencies
squeue -u $USER -o "%.8i %.21j %.4C %.4D %.31E %.7a %.9P %.20V %.20S %.20e"
echo squeue -u $USER -o \"%.8i %.21j %.4C %.4D %.31E %.7a %.9P %.20V %.20S %.20e\"
squeue -u $USER -o "%.8i %.21j %.4C %.4D %.31E %.20V %.20S %.20e"
echo squeue -u $USER -o \"%.8i %.21j %.4C %.4D %.31E %.20V %.20S %.20e\"

0 comments on commit 2be074d

Please sign in to comment.