Skip to content
Snippets Groups Projects
Commit d7cc7d57 authored by Moises Fernandez's avatar Moises Fernandez
Browse files

add checking the set of the queues used in SGE

parent 6ab5c71c
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,16 @@ if [ -z $PE_NAME ] ; then ...@@ -10,6 +10,16 @@ if [ -z $PE_NAME ] ; then
exit 1 exit 1
fi fi
if [ -z $QUEUE_GPU ] ; then
echo "Please set QUEUE_GPU environment variable with a Queue Instance name used in SGE for process slices in GPUs"
exit 1
fi
if [ -z $QUEUE_GENERAL ] ; then
echo "Please set QUEUE_GENERAL environment variable with a Queue Instance name used in SGE for process the post processing stage in CPU"
exit 1
fi
beforet=`date +%s` beforet=`date +%s`
if [ "x$SGE_ROOT" = "x" ] ; then if [ "x$SGE_ROOT" = "x" ] ; then
if [ -f /usr/local/share/sge/default/common/settings.sh ] ; then if [ -f /usr/local/share/sge/default/common/settings.sh ] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment