Skip to content

Commit f53a07c

Browse files
authored
Merge pull request #25 from gjbex/development
Bug fixes
2 parents 182b70f + c644799 commit f53a07c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+758
-160
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SUBDIRS = bin conf lib reduce
1+
SUBDIRS = bin conf lib reduce tmpls

Makefile.in

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Makefile.in generated by automake 1.15 from Makefile.am.
1+
# Makefile.in generated by automake 1.16.1 from Makefile.am.
22
# @configure_input@
33

4-
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
4+
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55

66
# This Makefile.in is free software; the Free Software Foundation
77
# gives unlimited permission to copy and/or distribute it,
@@ -131,7 +131,7 @@ am__recursive_targets = \
131131
$(RECURSIVE_CLEAN_TARGETS) \
132132
$(am__extra_recursive_targets)
133133
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
134-
cscope distdir dist dist-all distcheck
134+
cscope distdir distdir-am dist dist-all distcheck
135135
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
136136
# Read a list of newline-separated strings from the standard input,
137137
# and print each of them once, without duplicates. Input order is
@@ -261,7 +261,6 @@ pdfdir = @pdfdir@
261261
prefix = @prefix@
262262
program_transform_name = @program_transform_name@
263263
psdir = @psdir@
264-
runstatedir = @runstatedir@
265264
sbindir = @sbindir@
266265
sharedstatedir = @sharedstatedir@
267266
srcdir = @srcdir@
@@ -270,7 +269,7 @@ target_alias = @target_alias@
270269
top_build_prefix = @top_build_prefix@
271270
top_builddir = @top_builddir@
272271
top_srcdir = @top_srcdir@
273-
SUBDIRS = bin conf lib reduce
272+
SUBDIRS = bin conf lib reduce tmpls
274273
all: all-recursive
275274

276275
.SUFFIXES:
@@ -295,8 +294,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
295294
echo ' $(SHELL) ./config.status'; \
296295
$(SHELL) ./config.status;; \
297296
*) \
298-
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
299-
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
297+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
298+
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
300299
esac;
301300

302301
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -414,7 +413,10 @@ distclean-tags:
414413
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
415414
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
416415

417-
distdir: $(DISTFILES)
416+
distdir: $(BUILT_SOURCES)
417+
$(MAKE) $(AM_MAKEFLAGS) distdir-am
418+
419+
distdir-am: $(DISTFILES)
418420
$(am__remove_distdir)
419421
test -d "$(distdir)" || mkdir "$(distdir)"
420422
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -479,7 +481,7 @@ distdir: $(DISTFILES)
479481
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
480482
|| chmod -R a+r "$(distdir)"
481483
dist-gzip: distdir
482-
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
484+
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
483485
$(am__post_remove_distdir)
484486

485487
dist-bzip2: distdir
@@ -505,7 +507,7 @@ dist-shar: distdir
505507
@echo WARNING: "Support for shar distribution archives is" \
506508
"deprecated." >&2
507509
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
508-
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
510+
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
509511
$(am__post_remove_distdir)
510512

511513
dist-zip: distdir
@@ -523,7 +525,7 @@ dist dist-all:
523525
distcheck: dist
524526
case '$(DIST_ARCHIVES)' in \
525527
*.tar.gz*) \
526-
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
528+
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
527529
*.tar.bz2*) \
528530
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
529531
*.tar.lz*) \
@@ -533,7 +535,7 @@ distcheck: dist
533535
*.tar.Z*) \
534536
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
535537
*.shar.gz*) \
536-
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
538+
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
537539
*.zip*) \
538540
unzip $(distdir).zip ;;\
539541
esac

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
`atools` is intended to facilitate working with job arrays, a feature
66
supported by a resource manager such as PBS torque, or a scheduler such
7-
as Moab (Adaptive Computing) and SUN Grid Engine.
7+
as Moab (Adaptive Computing), SUN Grid Engine and Slurm workload manager.
88

99
Although the job array concept is quite versatile, typically some
1010
tinkering is required for bookkeeping purposes. `atools` aims to
@@ -45,8 +45,8 @@ cost by a large factor compared to using the
4545
`atools` requires at least Python 2.7.x, but only uses the standard
4646
library.
4747

48-
Currently, PBS torque, Adaptive Computing Moab, and SUN Grid Engine are
49-
supported.
48+
Currently, PBS torque, Adaptive Computing Moab, SUN Grid Engine and
49+
Slurm workload manager are supported.
5050

5151

5252
## Installing
@@ -69,3 +69,6 @@ In no particular order...
6969
* Bug report
7070
* Ward Poelmans, Vrije Universiteit Brussel
7171
* Fixes to the install process
72+
* Kurt Lust, Antwerp University
73+
* Several bug reports and fixes
74+
* Added Slurm compatibility

aclocal.m4

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# generated automatically by aclocal 1.15 -*- Autoconf -*-
1+
# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
22

3-
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
3+
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
44

55
# This file is free software; the Free Software Foundation
66
# gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
2020
If you have problems, you may need to regenerate the build system entirely.
2121
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2222

23-
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
23+
# Copyright (C) 2002-2018 Free Software Foundation, Inc.
2424
#
2525
# This file is free software; the Free Software Foundation
2626
# gives unlimited permission to copy and/or distribute it,
@@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
3232
# generated from the m4 files accompanying Automake X.Y.
3333
# (This private macro should not be called outside this file.)
3434
AC_DEFUN([AM_AUTOMAKE_VERSION],
35-
[am__api_version='1.15'
35+
[am__api_version='1.16'
3636
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3737
dnl require some minimum version. Point them to the right macro.
38-
m4_if([$1], [1.15], [],
38+
m4_if([$1], [1.16.1], [],
3939
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
4040
])
4141

@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
5151
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5252
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5353
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54-
[AM_AUTOMAKE_VERSION([1.15])dnl
54+
[AM_AUTOMAKE_VERSION([1.16.1])dnl
5555
m4_ifndef([AC_AUTOCONF_VERSION],
5656
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5757
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5858

5959
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
6060

61-
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
61+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
6262
#
6363
# This file is free software; the Free Software Foundation
6464
# gives unlimited permission to copy and/or distribute it,
@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
110110

111111
# Do all the work for Automake. -*- Autoconf -*-
112112

113-
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
113+
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
114114
#
115115
# This file is free software; the Free Software Foundation
116116
# gives unlimited permission to copy and/or distribute it,
@@ -197,8 +197,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
197197
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
198198
# For better backward compatibility. To be removed once Automake 1.9.x
199199
# dies out for good. For more background, see:
200-
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
201-
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
200+
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
201+
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
202202
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
203203
# We need awk for the "check" target (and possibly the TAP driver). The
204204
# system "awk" is bad on some platforms.
@@ -265,7 +265,7 @@ END
265265
Aborting the configuration process, to ensure you take notice of the issue.
266266
267267
You can download and install GNU coreutils to get an 'rm' implementation
268-
that behaves properly: <http://www.gnu.org/software/coreutils/>.
268+
that behaves properly: <https://www.gnu.org/software/coreutils/>.
269269
270270
If you want to complete the configuration process using your problematic
271271
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
@@ -307,7 +307,7 @@ for _am_header in $config_headers :; do
307307
done
308308
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
309309

310-
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
310+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
311311
#
312312
# This file is free software; the Free Software Foundation
313313
# gives unlimited permission to copy and/or distribute it,
@@ -328,7 +328,7 @@ if test x"${install_sh+set}" != xset; then
328328
fi
329329
AC_SUBST([install_sh])])
330330

331-
# Copyright (C) 2003-2014 Free Software Foundation, Inc.
331+
# Copyright (C) 2003-2018 Free Software Foundation, Inc.
332332
#
333333
# This file is free software; the Free Software Foundation
334334
# gives unlimited permission to copy and/or distribute it,
@@ -349,7 +349,7 @@ AC_SUBST([am__leading_dot])])
349349

350350
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
351351

352-
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
352+
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
353353
#
354354
# This file is free software; the Free Software Foundation
355355
# gives unlimited permission to copy and/or distribute it,
@@ -388,7 +388,7 @@ fi
388388

389389
# Helper functions for option handling. -*- Autoconf -*-
390390

391-
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
391+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
392392
#
393393
# This file is free software; the Free Software Foundation
394394
# gives unlimited permission to copy and/or distribute it,
@@ -417,7 +417,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
417417
AC_DEFUN([_AM_IF_OPTION],
418418
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
419419

420-
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
420+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
421421
#
422422
# This file is free software; the Free Software Foundation
423423
# gives unlimited permission to copy and/or distribute it,
@@ -436,7 +436,7 @@ AC_DEFUN([AM_RUN_LOG],
436436

437437
# Check to make sure that the build environment is sane. -*- Autoconf -*-
438438

439-
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
439+
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
440440
#
441441
# This file is free software; the Free Software Foundation
442442
# gives unlimited permission to copy and/or distribute it,
@@ -517,7 +517,7 @@ AC_CONFIG_COMMANDS_PRE(
517517
rm -f conftest.file
518518
])
519519

520-
# Copyright (C) 2009-2014 Free Software Foundation, Inc.
520+
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
521521
#
522522
# This file is free software; the Free Software Foundation
523523
# gives unlimited permission to copy and/or distribute it,
@@ -577,7 +577,7 @@ AC_SUBST([AM_BACKSLASH])dnl
577577
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
578578
])
579579

580-
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
580+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
581581
#
582582
# This file is free software; the Free Software Foundation
583583
# gives unlimited permission to copy and/or distribute it,
@@ -605,7 +605,7 @@ fi
605605
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
606606
AC_SUBST([INSTALL_STRIP_PROGRAM])])
607607

608-
# Copyright (C) 2006-2014 Free Software Foundation, Inc.
608+
# Copyright (C) 2006-2018 Free Software Foundation, Inc.
609609
#
610610
# This file is free software; the Free Software Foundation
611611
# gives unlimited permission to copy and/or distribute it,
@@ -624,7 +624,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
624624

625625
# Check how to create a tarball. -*- Autoconf -*-
626626

627-
# Copyright (C) 2004-2014 Free Software Foundation, Inc.
627+
# Copyright (C) 2004-2018 Free Software Foundation, Inc.
628628
#
629629
# This file is free software; the Free Software Foundation
630630
# gives unlimited permission to copy and/or distribute it,

autogen.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
autoreconf --install

bin/Makefile.in

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Makefile.in generated by automake 1.15 from Makefile.am.
1+
# Makefile.in generated by automake 1.16.1 from Makefile.am.
22
# @configure_input@
33

4-
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
4+
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55

66
# This Makefile.in is free software; the Free Software Foundation
77
# gives unlimited permission to copy and/or distribute it,
@@ -212,7 +212,6 @@ pdfdir = @pdfdir@
212212
prefix = @prefix@
213213
program_transform_name = @program_transform_name@
214214
psdir = @psdir@
215-
runstatedir = @runstatedir@
216215
sbindir = @sbindir@
217216
sharedstatedir = @sharedstatedir@
218217
srcdir = @srcdir@
@@ -242,8 +241,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
242241
*config.status*) \
243242
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
244243
*) \
245-
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
246-
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
244+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
245+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
247246
esac;
248247

249248
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -296,7 +295,10 @@ ctags CTAGS:
296295
cscope cscopelist:
297296

298297

299-
distdir: $(DISTFILES)
298+
distdir: $(BUILT_SOURCES)
299+
$(MAKE) $(AM_MAKEFLAGS) distdir-am
300+
301+
distdir-am: $(DISTFILES)
300302
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
301303
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
302304
list='$(DISTFILES)'; \

bin/acreate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -l
1+
#!/usr/bin/env bash
22
#
33
# Copyright (C) 2013 Geert Jan Bex <geertjan.bex@uhasselt.be>
44
#

bin/aenv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -l
1+
#!/usr/bin/env bash
22
#
33
# Copyright (C) 2013 Geert Jan Bex <geertjan.bex@uhasselt.be>
44
#

bin/aload

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -l
1+
#!/usr/bin/env bash
22
#
33
# Copyright (C) 2013 Geert Jan Bex <geertjan.bex@uhasselt.be>
44
#

bin/alog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -l
1+
#!/usr/bin/env bash
22
#
33
# Copyright (C) 2013 Geert Jan Bex <geertjan.bex@uhasselt.be>
44
#

0 commit comments

Comments
 (0)