Skip to content

Commit

Permalink
Remove hardcoded port (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
olupton authored Oct 29, 2024
1 parent 277b9ef commit bde47a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/wait_for_slurm_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function wait_for_slurm_job() {
check_every=${3:-15}

while true; do
status=$(ssh -p 3000 $host squeue --job $job_id --noheader --format=%T 2>/dev/null || echo "SSH error: $?")
status=$(ssh $host squeue --job $job_id --noheader --format=%T 2>/dev/null || echo "SSH error: $?")
echo "[$(date)] job $job_id: $status"

if [ -z "$status" ]; then
Expand Down

0 comments on commit bde47a4

Please sign in to comment.