Skip to content

Commit

Permalink
INFO messages
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Oct 4, 2023
1 parent 9a5f5b7 commit 6288881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hyakvnc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,6 @@ EOF

# create
function cmd_create {
log INFO "Creating VNC job"
local apptainer_start_args=()
local sbatch_args=(--parsable)
local container_basename container_name start
Expand Down Expand Up @@ -546,6 +545,7 @@ function cmd_create {
;;
esac
done
log INFO "Creating VNC job"

# Check that container is specified
[ -z "${HYAKVNC_CONTAINER}" ] && log ERROR "Container image must be specified" && exit 1
Expand Down Expand Up @@ -726,7 +726,6 @@ EOF
}

function cmd_status {
log INFO "Checking status of VNC jobs"
local account running_jobid running_jobids
while true; do
case ${1:-} in
Expand All @@ -751,6 +750,7 @@ function cmd_status {
;;
esac
done
log INFO "Checking status of VNC jobs"

# Loop over directories in ${HYAKVNC_DIR}/jobs
squeue_args=(--me --states=RUNNING --noheader --format '%j %i')
Expand Down

0 comments on commit 6288881

Please sign in to comment.