Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
embltilities
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Renato Alves
embltilities
Commits
4bada749
Verified
Commit
4bada749
authored
7 years ago
by
Renato Alves
Browse files
Options
Downloads
Patches
Plain Diff
MNT Use a different variable for FATAL type and command
parent
9befdf18
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/submitjob
+5
-5
5 additions, 5 deletions
bin/submitjob
with
5 additions
and
5 deletions
bin/submitjob
+
5
−
5
View file @
4bada749
...
...
@@ -106,7 +106,7 @@ usage() {
echo
>
&2
" parallelizable pipelines such ngless and jug"
echo
>
&2
""
echo
>
&2
" In addition to standard SGE/LSF/SLURM environment variables, the following"
echo
>
&2
" can be used in the jobs file refer
encing
the values used."
echo
>
&2
" can be used in the jobs file
to
refer
to
the values
specified/
used."
echo
>
&2
"
\$
{Q_NAME}
\$
{Q_CORES}
\$
{Q_MEM}
\$
{Q_MEMALL}
\$
{Q_TIME}
\$
{Q_ACTIVE}"
echo
>
&2
"
\$
{Q_QUEUE}
\$
{Q_LOGFILE}
\$
{Q_WAITFOR}"
echo
>
&2
""
...
...
@@ -226,7 +226,7 @@ export Q_WAITFOR="${WAITFOR}"
${
PRE_CMDS
}
# If requested, enable tracebacks only after pre-commands to avoid bash-strictness failures
${
FATAL
}
${
FATAL
_CMD
}
# Comments and empty lines are removed from the job submission script
SELECTED_JOB=
\$
(echo '
${
JOBS_TO_RUN
}
...
...
@@ -275,7 +275,7 @@ export Q_WAITFOR="${WAITFOR}"
${
PRE_CMDS
}
# If requested, enable tracebacks only after pre-commands to avoid bash-strictness failures
${
FATAL
}
${
FATAL
_CMD
}
# Comments and empty lines are removed from the job submission script
SELECTED_JOB=
\$
(echo '
${
JOBS_TO_RUN
}
...
...
@@ -320,7 +320,7 @@ export Q_WAITFOR="${WAITFOR}"
${
PRE_CMDS
}
# If requested, enable tracebacks only after pre-commands to avoid bash-strictness failures
${
FATAL
}
${
FATAL
_CMD
}
# Comments and empty lines are removed from the job submission script
SELECTED_JOB=
\$
(echo '
${
JOBS_TO_RUN
}
...
...
@@ -475,7 +475,7 @@ JOBFILE="$1"
if
[
"
$FATAL
"
==
"fatal"
]
;
then
_TRACEBACK
=
"
${
_SELF_LOCATION
}
/../modules/helpers/traceback.bash"
[
!
-f
"
$_TRACEBACK
"
]
&&
generic_error
"Couldn't find helper module at '
$_TRACEBACK
'"
FATAL
=
".
${
_TRACEBACK
}
"
FATAL
_CMD
=
".
${
_TRACEBACK
}
"
fi
prepare_jobs
# defines PRE_CMDS and JOBS_TO_RUN
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment