Skip to content

Commit

Permalink
Add more output in job.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LennoxLiu committed Apr 7, 2024
1 parent 8f07b86 commit b09a7a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hpc/singularity/hq_scripts/job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ function get_avaliable_port {
echo $port
}

echo "Start getting port for job $HQ_JOB_ID"
port=$(get_avaliable_port)
export PORT=$port
echo "Got port $port for job $HQ_JOB_ID"

host=$(hostname -I | awk '{print $1}')

Expand Down

0 comments on commit b09a7a3

Please sign in to comment.