From f30c2ada844a743c5efd3e995a446d7ded5677f9 Mon Sep 17 00:00:00 2001 From: Benjamin Tovar Date: Sat, 14 Dec 2024 10:19:53 -0500 Subject: [PATCH] ignore uge_submit_workers (#4008) --- work_queue/src/.gitignore | 1 + work_queue/src/uge_submit_workers | 79 ------------------------------- 2 files changed, 1 insertion(+), 79 deletions(-) delete mode 100755 work_queue/src/uge_submit_workers diff --git a/work_queue/src/.gitignore b/work_queue/src/.gitignore index ce18c651c9..168695743c 100644 --- a/work_queue/src/.gitignore +++ b/work_queue/src/.gitignore @@ -1,5 +1,6 @@ mpi_queue_worker sge_submit_workers +uge_submit_workers work_queue_example work_queue_priority_test work_queue_status diff --git a/work_queue/src/uge_submit_workers b/work_queue/src/uge_submit_workers deleted file mode 100755 index e086f69202..0000000000 --- a/work_queue/src/uge_submit_workers +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -UGE_WARNING=1 - -SUBMIT_COMMON=$(which work_queue_submit_common) -if [ -z "$SUBMIT_COMMON" ]; -then - echo "Please add 'work_queue_submit_common' to your PATH." 1>&2 - exit 1 -else - . $SUBMIT_COMMON -fi - - -show_help() -{ - - echo " -j Use job array to submit workers." - echo " -p UGE qsub parameters." -} - -use_jobarray=0 -uge_parameters="" - -# Used options (as in the getopts format): aM:N:C:t:d:w:i:b:z:A:O:s:P:jp:h -parse_arguments() -{ - if [ -z "$cores" -o "$cores" = 0 ] - then - cores=1 - fi - - while [ $# -gt 0 ] - do - case $1 in - -j) - use_jobarray=1 - ;; - -p) - shift - uge_parameters="$uge_parameters $1" - ;; - *) - break - ;; - esac - shift - done -} - -submit_workers_command() -{ - qsub=`which qsub 2>/dev/null` - if [ $? != 0 ] - then - echo "$0: please add 'qsub' to your PATH." - exit 1 - fi - - cat >worker.sh <