~ubuntu-branches/ubuntu/trusty/nordugrid-arc/trusty-proposed

« back to all changes in this revision

Viewing changes to src/services/a-rex/lrms/slurm/scan-SLURM-job.in

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2013-05-08 13:48:03 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130508134803-mrhc5w4d5y7ubyj4
Tags: 3.0.1-1
3.0.1 Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#
6
6
# usage: scan_slurm_job control_dir ...
7
7
 
8
 
# Load arc.conf and set up environment
9
 
joboption_lrms=SLURM
10
 
 
11
8
# ARC1 passes first the config file.
12
9
if [ "$1" = "--config" ]; then shift; ARC_CONFIG=$1; shift; fi
13
10
 
17
14
libexecdir="${ARC_LOCATION:-@prefix@}/@pkglibexecsubdir@/"
18
15
pkgdatadir="$basedir"
19
16
 
20
 
. "${pkgdatadir}/configure-${joboption_lrms}-env.sh" || exit $?
 
17
. "${pkgdatadir}/configure-SLURM-env.sh" || exit $?
21
18
 
22
19
. "${pkgdatadir}/scan_common.sh" || exit $?
23
20