Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slurm_status.py is querying the entire list of jobs instead of relevant jobs #15

Open
wants to merge 244 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
1a48735
state of branch 1.18 as of 20121012
prelz Oct 12, 2012
e4aa6ab
Modified scripts for autotools-based build so that both the old --with
prelz Oct 15, 2012
fbb06f6
Restored default location of Globus to /opt/globus.
prelz Oct 15, 2012
81b5d55
Ported change from CVS.
prelz Nov 6, 2012
fb395fb
aded CMakeLists.txt files to compile with cmake
Nov 7, 2012
47b88f5
fix for bug #97491
Nov 7, 2012
db6f50c
changed 1.19 to 1.18
Nov 7, 2012
9dea51e
changed path to some config files in rpm
Nov 8, 2012
b882981
added description to rpm
mezzadri Nov 9, 2012
9c5d474
added executable bit to shell scripts and startup scripts
mezzadri Nov 9, 2012
6e5de33
fix for bug #98855
mezzadri Nov 15, 2012
37efb5b
added -a flag when bjobsinfo is called to have a longer persistency o…
mezzadri Nov 22, 2012
b29d6dd
added all possible config variable in the template
mezzadri Dec 3, 2012
99b73b1
Added ability to export to the local environment new environment vari…
prelz Dec 10, 2012
c03e573
Add default LRMS. Corresponds to add-sge.patch and add-condor.patch …
bbockelm Dec 13, 2012
69ac192
Add support for modern classad packaging. Corresponds to classad.pat…
bbockelm Dec 13, 2012
7b2faf5
Workaround for broken condor_history -f in prior Condor. Corresponds…
bbockelm Dec 13, 2012
01001ee
Check for presence of dlopen. Corresponds to dl.patch from Condor di…
bbockelm Dec 13, 2012
b9eb0cf
Escape more meta-characters. Corresponds to escape-args.patch from C…
bbockelm Dec 13, 2012
3ee3868
Update to modern ClassAds API. Corresponds to iclassad.patch from Co…
bbockelm Dec 13, 2012
6f9137d
Disable LD_LIBRARY_PATH changes. Simply not necessary. Corresponds …
bbockelm Dec 13, 2012
abb5acb
Conditionally compile in mcheck.h. Corresponds to mtrace.patch in th…
bbockelm Dec 13, 2012
f7541d7
Set some sane default paths for PBS, LSF, and Condor. Corresponds to…
bbockelm Dec 13, 2012
c5b0b94
Assume a job that has left the queue and completed if qstat doesn't s…
bbockelm Dec 13, 2012
c46b0e2
Do not specify a proxy format - let grid-proxy-init deduce the correc…
bbockelm Dec 13, 2012
4cad4f6
Turn off job registry by default. Corresponds to registry.patch from…
bbockelm Dec 13, 2012
5037e77
Enable the ability for a user to specify a job directory. Correspond…
bbockelm Dec 13, 2012
642ebf2
Fallback to using qstat if sge_helper cannot find the job. Correspon…
bbockelm Dec 13, 2012
d99628b
Use correct cellname. Corresponds to sge_status.patch from the Condo…
bbockelm Dec 13, 2012
3bd98d7
Maximize use of shared directory by using absolute paths. Correspond…
bbockelm Dec 13, 2012
9c34241
Assume all directories are shared. Corresponds to shared-fs.patch in…
bbockelm Dec 13, 2012
aa3a9ba
Do not source user environment. Corresponds to submit-l.patch in the…
bbockelm Dec 13, 2012
f281e66
Do not enable the blah parser by default. Corresponds to blahp_chkco…
bbockelm Dec 13, 2012
63ab761
Comment out disable_proxy_user_copy by default. Corresponds to blahp…
bbockelm Dec 13, 2012
163b0ed
Change the default location of blahp scripts to /usr/libexec/blahp. …
bbockelm Dec 13, 2012
dbbfd62
Make blahp be permissive of proxies with relative paths. Also fixed …
bbockelm Dec 13, 2012
1725c9b
Add basic files to gitignore for cmake.
bbockelm Dec 13, 2012
6638e61
Look for OSG-style m4 macro files, if present.
bbockelm Dec 13, 2012
929b2b3
Add OSG-developed caching PBS status script.
bbockelm Dec 13, 2012
1d217fa
SLURM support. Patches from http://jira.opensciencegrid.org/browse/C…
bbockelm Dec 13, 2012
5f27766
Use pbs_status.py.
bbockelm Dec 13, 2012
c6ae9d0
Fix bad port of classad.patch from Condor distribution.
bbockelm Dec 13, 2012
960253e
Specify initdir manually, as it does not seem to be defined on RHEL6.
bbockelm Dec 13, 2012
f624dcf
Cleanup 'git status' after an automake build.
bbockelm Dec 13, 2012
19bdb68
Provide more descriptive error message when failing to limit proxy.
bbockelm Dec 13, 2012
f68f1d8
Fix handling of PBS job ids - use only the ID prior to the cluster na…
bbockelm Dec 13, 2012
ac1ed43
Removing the hostname to the job commit.
djw8605 Jan 17, 2013
7bdda02
Merge pull request #1 from osg-bosco/remove-host
bbockelm Jan 17, 2013
0ab7a44
Updates of locking algorithm. Implement debug logging.
bbockelm May 15, 2013
8c8c468
Merge branch 'v1_18_bosco' of github.com:osg-bosco/BLAH into v1_18_bosco
bbockelm May 15, 2013
e0983e8
Improve condor status caching. Port of condor-status.patch from HTCo…
bbockelm May 15, 2013
eca1154
Remove empty output lines. Port of lsf-jobid.patch from HTCondor build.
bbockelm May 15, 2013
f7a1f9b
Switch proxy creation to use Globus library calls. Equivalent to pro…
bbockelm May 15, 2013
53e9083
Pass through memory requests. Equivalent to request-memory.patch fro…
bbockelm May 15, 2013
7a5a30a
Properly exit on error for SGE. Port of sge_helper.error-exit.patch …
bbockelm May 15, 2013
3f1bea0
Fixing debug output for lock acquisition.
djw8605 Sep 17, 2013
2bc743e
Removing dup2 call since the blahp doesn't like closing stderr
djw8605 Sep 17, 2013
575fa1e
Merge pull request #3 from osg-bosco/v1_18_bosco_fromderek
bbockelm Sep 18, 2013
1dbd0d7
Do not close original stderr.
bbockelm Sep 20, 2013
fa6d55a
Merge branch 'v1_18_bosco' of github.com:osg-bosco/BLAH into v1_18_bosco
bbockelm Sep 20, 2013
7044a69
Cleanup original proxy afterward.
bbockelm Jan 8, 2014
6c08440
Try fixing blahp arg escaping for SLRUM.
bbockelm Jan 8, 2014
412b525
Allow PBS qstat caching to fail and still respond appropriately.
bbockelm Jan 8, 2014
55c6aee
Revert "Try fixing blahp arg escaping for SLRUM."
bbockelm Jan 8, 2014
9072066
Revert "Pass arguments and environment to the service scripts so that…
bbockelm Jan 8, 2014
a01cf47
Fix proxy renewal in the case where the default proxy-limitation-name…
bbockelm Jan 9, 2014
39c0009
Test if tracejob is available before using it. It is not present for…
bbockelm Jan 9, 2014
1accc9e
Add lsf_status.patch to fix memory allocation errors (SOFTWARE-1589)
brianhlin Sep 5, 2014
d7184e4
pbs_status.py fails to find qstat in a non-standard location if it isn't
brianhlin Sep 5, 2014
93cbc66
Merge pull request #5 from brianhlin/pbs_status_bad_wd
djw8605 Sep 5, 2014
eec4cd9
Merge pull request #6 from brianhlin/lsf_status_segfault
djw8605 Sep 5, 2014
09ca872
Write datefile to /tmp instead of the current working directory because
brianhlin Sep 16, 2014
4529ff8
Merge pull request #7 from brianhlin/lsf_status_temp_files
bbockelm Sep 16, 2014
bd14f3f
Fix pbs_status.py script to actually use the new load_config_path fro…
brianhlin Sep 26, 2014
17f0b69
Merge pull request #8 from brianhlin/v1_18_bosco
djw8605 Sep 26, 2014
96fde44
Re-added fix for Savannah #27966, that popped out from a 2007 commit.
prelz Mar 13, 2015
5d72c27
Merge pull request #9 from brianhlin/source_lsf_profile
djw8605 Mar 13, 2015
333a62f
Fix condor_submit syntax error
brianhlin Mar 30, 2015
0a03709
Apply gittrac #5041: Blahp should check for empty job id from qsub
brianhlin May 21, 2015
bdfc978
Merge pull request #10 from brianhlin/v1_18_bosco
bbockelm May 21, 2015
2c08bb2
Fix for job registry losing track of LSF jobs in its registry (gittra…
brianhlin Sep 18, 2015
250e256
Reduce the number of threads to 50 (SOFTWARE-1980)
brianhlin Sep 18, 2015
5c82acf
Add support for PBS Pro (SOFTWARE-1958)
brianhlin Sep 21, 2015
be85763
Merge pull request #12 from brianhlin/sw1980_reduce_blah_max_threaded…
bbockelm Sep 22, 2015
ca68cc5
Merge pull request #11 from brianhlin/job_registry_fix
djw8605 Sep 22, 2015
e15e865
Add config option 'blah_disable_limited_proxy' to disable the limited
brianhlin Sep 23, 2015
17f1d5f
Properly request memory in PBS Pro
brianhlin Sep 22, 2015
5055abc
Merge pull request #13 from brianhlin/pbs_pro
djw8605 Sep 28, 2015
d61599f
Fix missing not modifier for limiting proxies
brianhlin Sep 28, 2015
c71845e
Merge pull request #14 from brianhlin/limited_proxies
djw8605 Sep 29, 2015
598ce4b
Fix syntax error
brianhlin Sep 29, 2015
84d6874
Fix boolean syntax errors
brianhlin Sep 29, 2015
5a989e0
Merge branch 'limited_proxies'
brianhlin Sep 29, 2015
c8bf1b0
Merge pull request #15 from brianhlin/v1_18_bosco
djw8605 Sep 29, 2015
9cf91da
Adding error reporting to the pbs_submit
djw8605 Oct 21, 2015
cd1c706
Revert "Adding error reporting to the pbs_submit"
djw8605 Oct 21, 2015
a88c851
Adding error reporting to the pbs_submit
djw8605 Oct 21, 2015
d862ec7
Fixing indention and removing extra line
djw8605 Oct 22, 2015
67a696d
Merge pull request #16 from osg-bosco/add_error
djw8605 Oct 22, 2015
22731b4
Resync the job registry to solve CE jobs incorrectly being marked as …
brianhlin Nov 30, 2015
4b1339b
Merge pull request #17 from brianhlin/v1_18_bosco
bbockelm Dec 1, 2015
3c7fe9b
pbs_status.py fails when /tmp and /var/tmp are on different filesytem…
brianhlin Dec 4, 2015
5c07cfd
Merge pull request #18 from brianhlin/sw2092_tmpfs
djw8605 Dec 4, 2015
3568e20
Disable limited proxies when using glexec
brianhlin Dec 15, 2015
4086b07
Merge pull request #19 from brianhlin/limited_proxies
djw8605 Dec 15, 2015
9f6a854
Gather completion statistics from Slurm jobs.
djw8605 Feb 4, 2016
38383d3
First iteration of detecting actual cluster type.
djw8605 Feb 5, 2016
bd39c2a
Merge pull request #20 from djw8605/job_completion
bbockelm Feb 7, 2016
46a0184
Fix bug when sacct doesn't reply.
djw8605 Feb 8, 2016
5bf1104
Merge pull request #21 from djw8605/job_completion
bbockelm Feb 8, 2016
b970975
Handle LSF suspended states (SOFTWARE-2168)
brianhlin Feb 10, 2016
71cbdb1
Re-apply source path fixes that were overwritten in 708ae5d (SOFTWARE…
brianhlin Feb 10, 2016
0f300fc
Merge pull request #22 from brianhlin/sw2199_sge_colorado
bbockelm Feb 10, 2016
45f633d
Merge pull request #23 from brianhlin/sw2168_lsf_suspended
bbockelm Feb 11, 2016
fbbbdc1
Add ability to wrap the payload job.
bbockelm Feb 18, 2016
e7f5c61
Add env var for number of nodes
bbockelm Feb 18, 2016
c49b3e1
Fix typo
bbockelm Feb 18, 2016
c362753
Use the pbs_binpath when checking for PBS Pro
brianhlin Mar 3, 2016
03a79e2
Merge pull request #26 from brianhlin/v1_18_bosco
djw8605 Mar 7, 2016
ae02a7e
Disable MPI completely for PBS Pro
brianhlin Mar 7, 2016
5c60008
Build PBS select statement piece-by-piece
brianhlin Mar 7, 2016
4d34cb3
Merge pull request #27 from brianhlin/v1_18_bosco
djw8605 Mar 8, 2016
d8f9709
Fix bash syntax error
bbockelm Mar 25, 2016
5c7257f
Support dynamic assignment of env variables (SOFTWARE-2221)
brianhlin Apr 6, 2016
5ea956f
Fix pbs_status.py to be compatible with Slurm < 15.8
winckler Apr 14, 2016
8e15720
Fix close() in pbs_status.py
winckler Apr 14, 2016
470c720
Fix mem requests (SOFTWARE-2260)
brianhlin Apr 12, 2016
a825612
Copy blahp SLURM scripts from Condor (SOFTWARE-2256)
brianhlin Apr 18, 2016
283e4b5
Merge pull request #30 from winckler/v1_18_bosco
djw8605 Apr 19, 2016
532fb7f
Add default SLURM config
brianhlin Apr 20, 2016
d586e2b
Merge pull request #31 from brianhlin/sw2260_pbs_mem
djw8605 Apr 22, 2016
cba902b
Merge pull request #32 from brianhlin/sw2256_slurm
djw8605 Apr 25, 2016
9b2bcbb
Merge pull request #29 from brianhlin/dynamic_env
djw8605 Apr 25, 2016
3e780c2
Add HTCondor's patch for multicore HTCondor (SOFTWARE-2303)
brianhlin May 18, 2016
561c038
Merge pull request #33 from brianhlin/v1_18_bosco
djw8605 May 18, 2016
47eaf9a
Fix Slurm file leak (SOFTWARE-2367)
brianhlin Jun 21, 2016
2cf55ef
Merge pull request #35 from brianhlin/sw2367_leftover_slurm_files
djw8605 Jun 21, 2016
17bcdfe
Print sbatch errors to stderr for handling by HTCondor's gridmanager
brianhlin Jun 22, 2016
bd8bc69
Merge pull request #36 from brianhlin/v1_18_bosco
djw8605 Jun 22, 2016
e053390
Fix bad spacing on request memory if statement
brianhlin Jun 22, 2016
ea13ae3
Merge pull request #37 from brianhlin/v1_18_bosco
djw8605 Jun 22, 2016
6ed421f
Set executable bit on scripts
brianhlin Jun 23, 2016
983a252
Merge pull request #38 from brianhlin/v1_18_bosco
djw8605 Jun 23, 2016
898f72b
Package slurm_hold.sh (SOFTWARE-2375)
brianhlin Jun 23, 2016
7ad522f
Merge pull request #39 from brianhlin/v1_18_bosco
djw8605 Jun 23, 2016
42e738e
Updated the changes from HTCondor ticket 5722 for SOFTWARE-2399
Jul 20, 2016
eec799f
Merge pull request #40 from efajardo/v1_18_bosco
djw8605 Jul 21, 2016
b96afb3
Update slurm_cancel.sh
efajardo Jul 26, 2016
f55dc92
Merge pull request #41 from efajardo/v1_18_bosco
djw8605 Jul 26, 2016
b60fe7d
Allow users to set the SGE parallel environment policy
brianhlin May 23, 2016
83ba384
Enable multicore support to PBS Pro (SOFTWARE-2326)
brianhlin May 12, 2016
455238d
Merge pull request #42 from brianhlin/sw2326_mcore_pbspro
djw8605 Aug 15, 2016
a5c3661
Merge pull request #34 from brianhlin/sw2334_sge_pe_policy
brianhlin Aug 22, 2016
1bb0cfc
Change from -N to -c for multi-cores per node
djw8605 Aug 24, 2016
c78e2e4
Use number of nodes and tasks
djw8605 Aug 24, 2016
2bbe27a
Expand small options for clarity
djw8605 Aug 24, 2016
d738b1d
Add slurm_local_submit_attributes.sh
brianhlin Aug 25, 2016
1e687fa
Add partition support to Slurm submit
djw8605 Aug 25, 2016
201e360
Merge pull request #24 from osg-bosco/add-job-wrapper
djw8605 Aug 25, 2016
041f885
Fix path of slurm_local_submit_attributes.sh
brianhlin Aug 25, 2016
74f21f4
Merge pull request #44 from brianhlin/v1_18_bosco
djw8605 Aug 25, 2016
5a4d8a0
Merge pull request #45 from osg-bosco/partition-slurm
djw8605 Aug 25, 2016
dc6ebfe
Merge pull request #43 from osg-bosco/djw8605-patch-1
brianhlin Aug 25, 2016
e957b97
Fix issues with qstat() (SOFTWARE-2358)
brianhlin Aug 25, 2016
0af700c
Merge pull request #46 from brianhlin/sw2358_fix_qstat
djw8605 Aug 25, 2016
ceb01bc
Add slurm_submit_attributes.sh to makefile lists
brianhlin Aug 26, 2016
e495d6c
Fix qstart parsing errors that caused issues with caching introduced …
brianhlin Sep 9, 2016
cc22dbc
Merge pull request #47 from brianhlin/fix_qstat_parsing
djw8605 Sep 9, 2016
3545be8
Refactor scontrol calls to use subprocess (SOFTWARE-2450)
brianhlin Sep 19, 2016
ab906a6
Merge pull request #48 from brianhlin/sw2450_slurm_subprocess
djw8605 Sep 19, 2016
012c0fb
Fix segfault when using glexec and disabling limited proxies (SOFTWAR…
brianhlin Oct 12, 2016
978d733
Merge pull request #49 from brianhlin/sw2475_glexec_limited_proxy_seg…
brianhlin Oct 19, 2016
745cae8
Fix broken PBS/slurm job queries when no jobid was specified
brianhlin Oct 26, 2016
1823c4f
Merge pull request #50 from brianhlin/v1_18_bosco
djw8605 Oct 27, 2016
1e1e1af
Put all #SBATCH commands together
djw8605 Feb 2, 2017
ac72f68
Merge pull request #51 from djw8605/fix_ntasks
djw8605 Feb 9, 2017
1be2d93
Blahp python scripts should ignore optional '-w' argument (SOFTWARE-2…
brianhlin Feb 9, 2017
c2d4b6a
Fail gracefully when parsing unexpected sacct output (SOFTWARE-2604)
brianhlin Feb 16, 2017
398ee44
Merge pull request #52 from brianhlin/v1_18_bosco
brianhlin Feb 21, 2017
99772d4
Merge pull request #53 from brianhlin/sw2604_bad_sacct_output
brianhlin Feb 21, 2017
915f0eb
Fix setting the number of CPUs per job
brianhlin Jun 7, 2017
2340c75
Hardcode the number of tasks instead of relying on the default
brianhlin Jun 7, 2017
b40efa5
Merge pull request #54 from brianhlin/v1_18_bosco
djw8605 Jun 15, 2017
6a71da2
Add config to differentiate between PBS flavors (SOFTWARE-2628)
brianhlin Mar 21, 2017
a7e6552
Load blahp environment for slurm
brianhlin Mar 21, 2017
497fb84
Add location of blah.py module to PYTHONPATH
brianhlin Jul 12, 2017
448a226
Merge pull request #55 from brianhlin/sw2628_pbs_pro_config
brianhlin Jul 12, 2017
48485cd
Ensure that we get the absolute *status.py path
brianhlin Jul 12, 2017
87286a7
Properly load blah.config (SOFTWARE-2628)
brianhlin Jul 12, 2017
273f7bc
Fix bugs in constructing the path to pbs/slurm query commands
brianhlin Jul 13, 2017
1f3b79e
Merge pull request #56 from brianhlin/sw2628_pbs_pro_config
brianhlin Jul 21, 2017
9bfeb4f
Fix bug that broke shell parsing of *_binpath
brianhlin Jul 21, 2017
429a2d5
Set default bin paths to /usr/bin
brianhlin Jul 22, 2017
f17ecbc
Merge pull request #57 from brianhlin/v1_18_bosco
brianhlin Jul 25, 2017
517a630
Fix parsing of time fields for slurm jobs
brianhlin Aug 23, 2017
ac74598
Merge pull request #61 from brianhlin/v1_18_bosco
brianhlin Aug 23, 2017
ec6f1f4
Fix uncaught exception when config doesn't contain pbs_pro
brianhlin Aug 28, 2017
4a8fef9
Merge pull request #62 from brianhlin/v1_18_bosco
djw8605 Aug 28, 2017
34b3d11
Set default values in blah.config
brianhlin Aug 28, 2017
2dd6a31
Merge remote-tracking branch 'brianl/v1_18_bosco' into v1_18_bosco
djw8605 Aug 28, 2017
e4a463a
Revert c2d4b6a
brianhlin Oct 16, 2017
7cc0816
Fix memory usage parsing for SLURM and PBS (SOFTWARE-2929)
brianhlin Oct 16, 2017
aa755f0
Log any parsing exceptions
brianhlin Oct 19, 2017
4a5023d
Use StringIO over io.StringIO
brianhlin Oct 24, 2017
0166e96
Log tracebacks for easier debugging
brianhlin Oct 24, 2017
af091f9
Merge pull request #65 from brianhlin/fix_unicode_str_err
brianhlin Oct 27, 2017
e4dbcd4
Merge branch 'v1_18_bosco' into sw2929_fix_mem_parsing
brianhlin Oct 27, 2017
5fa75e4
Merge pull request #64 from brianhlin/sw2929_fix_mem_parsing
brianhlin Oct 30, 2017
379da31
limit_proxy() is not guaranteed to set errmsg. Initialize the variabl…
jthiltges Nov 30, 2017
d9cea7c
Merge pull request #66 from jthiltges/errmsg-init
djw8605 Dec 1, 2017
ac768e1
Check input files exist before submitting to SLURM
PerilousApricot Feb 7, 2018
5c2c0a9
Check workdir exists for jobs submitted to SLURM
PerilousApricot Feb 8, 2018
0941ca7
Save debug submit info before submission
brianhlin Feb 9, 2018
747ac45
Merge pull request #67 from PerilousApricot/feature/check-input-files3
brianhlin Feb 23, 2018
f6b05d7
Merge pull request #68 from brianhlin/sw2827_save_dirs
brianhlin Feb 23, 2018
55a09bd
Check workdir and input files before job submission
brianhlin Feb 27, 2018
fda81be
Address review comments
brianhlin Mar 13, 2018
1f6ad40
Merge pull request #69 from brianhlin/v1_18_bosco
brianhlin Mar 15, 2018
dc1d3da
tell wordexp not to do command substitution
edquist May 29, 2018
7148c91
failures after fork() should _exit()
edquist Jun 6, 2018
1a8f6f5
Merge pull request #71 from edquist/no-cmd-expansion
brianhlin Jun 6, 2018
a6438eb
Add blahp.spec for OSG github builds
brianhlin Mar 15, 2018
01069de
Disable blahp proxy renewal/limited proxies
brianhlin Aug 31, 2018
b4c54ad
Revert "Add blahp.spec for OSG github builds"
matyasselmeci Sep 10, 2018
c065485
Merge pull request #72 from brianhlin/sw3409_wn_proxy_defaults
matyasselmeci Sep 10, 2018
8fe02e4
Use new condor env format
sthapa Nov 2, 2018
6294ef0
cleanup $submit_file_environment calculation
edquist Nov 26, 2018
b6a617b
name trap signals explicitly, for clarity (SOFTWARE-3554)
edquist Feb 7, 2019
a69d6fd
proper escaping of $new_home (SOFTWARE-3554)
edquist Feb 8, 2019
d9248c8
forward signals to $job_pid before waiting (SOFTWARE-3554)
edquist Feb 8, 2019
e04e1bc
Merge pull request #74 from edquist/SOFTWARE-3554.propagate-signals
brianhlin Feb 8, 2019
2269391
condor externals: apply blahp/1.16.5.1/pbs-qdel.patch
edquist Feb 14, 2019
ac02045
condor externals: apply blahp/1.16.5.1/pbs-status.patch
edquist Feb 14, 2019
9b9afea
Update PBS Pro qstat options for completed jobs (SOFTWARE-3675)
brianhlin Apr 23, 2019
cb42a65
Merge pull request #77 from brianhlin/SOFTWARE-3675.pbs_pro_opts
edquist Apr 24, 2019
564969b
Merge pull request #75 from edquist/SOFTWARE-3587.v1_18_bosco.unif
brianhlin Apr 26, 2019
3314155
Only query for completed jobs with a specific job ID (SOFTWARE-3675)
brianhlin May 8, 2019
4510dbd
Use the original proxy if blahp proxy delegation is disabled
brianhlin Apr 23, 2019
9b3fdc5
Merge pull request #76 from brianhlin/SOFTWARE-3661.proxy_refresh
brianhlin May 9, 2019
d42bd80
escape single-quote and double-quote characters in environment
edquist May 9, 2019
b709684
Merge pull request #78 from brianhlin/SOFTWARE-3675.pbs_pro_opts
edquist May 10, 2019
81de825
Merge pull request #79 from edquist/new-condor-env-format
edquist May 10, 2019
4e67757
escape existing quote characters first (SOFTWARE-3589)
edquist May 15, 2019
5ec24db
Merge pull request #81 from edquist/SOFTWARE-3589.escape-fixie
brianhlin May 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
CMakeCache.txt
CMakeFiles
CPackSourceConfig.cmake
CPackConfig.cmake
src/*.o
Makefile
Makefile.in
config/Makefile
config/Makefile.in
src/Makefile
src/Makefile.in
aclocal.m4
autom4te.cache
config.log
config.status
configure
doc/blah_check_config.1
doc/blah_job_registry_add.1
/blah_job_registry_dump.1
doc/blah_job_registry_lkup.1
doc/blah_job_registry_scan_by_subject.1
doc/blah_job_registry_dump.1
doc/blahpd.1
libtool
project/compile
project/config.guess
project/config.sub
project/depcomp
project/install-sh
project/libtool.m4
project/ltmain.sh
project/ltoptions.m4
project/ltsugar.m4
project/ltversion.m4
project/lt~obsolete.m4
project/missing
src/.deps/
src/BLClient
src/BLParserLSF
src/BLParserPBS
src/BNotifier
src/BUpdaterCondor
src/BUpdaterLSF
src/BUpdaterPBS
src/BUpdaterSGE
src/autogen/
src/blah_check_config
src/blah_job_registry_add
src/blah_job_registry_dump
src/blah_job_registry_lkup
src/blah_job_registry_purge
src/blah_job_registry_scan_by_subject
src/blahpd
src/blahpd_daemon
src/blparser_master
src/test_cmdbuffer
src/test_job_registry_access
src/test_job_registry_create
src/test_job_registry_purge
src/test_job_registry_update
src/test_job_registry_update_from_network
62 changes: 62 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# ****************
# * BLAHP daemon *
# ****************
#
# $Id: $
#
# File: CMakeLists.txt
#
# Author(s): Francesco Prelz ($Author: $)
# e-mail: "[email protected]"
#
# Revision history:
#
# 5-Nov-2012 Created

cmake_minimum_required(VERSION 2.6)

#project(glite-ce-blahp)
project(BLAH)

# CPack info

set(CPACK_RPM_PACKAGE_RELEASE "0")

if (UNIX AND NOT APPLE)
set(CPACK_GENERATOR "STGZ;DEB;RPM")
execute_process(COMMAND uname -i
OUTPUT_VARIABLE local_arch OUTPUT_STRIP_TRAILING_WHITESPACE)
set(CPACK_SYSTEM_NAME "${CPACK_RPM_PACKAGE_RELEASE}.${local_arch}")
endif (UNIX AND NOT APPLE)

set(CMAKE_INSTALL_PREFIX "/usr")

set(CPACK_PACKAGE_VENDOR "EMI")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Batch Local ASCII Helper Protocol suite")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/blah_description.txt")
set(CPACK_PACKAGE_VERSION_MAJOR "1")
set(CPACK_PACKAGE_VERSION_MINOR "18")
set(CPACK_PACKAGE_VERSION_PATCH "1")
set(CPACK_PACKAGE_VERSION
"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")

# For the following setting, see CMAKE manual, page 155
# or http://public.kitware.com/Bug/view.php?id=7000
set(CPACK_SET_DESTDIR ON)
set(CPACK_PACKAGE_RELOCATABLE "false")

set(CPACK_PACKAGE_CONTACT "[email protected]")
set(CPACK_RPM_PACKAGE_LICENSE "Apache Software License")
set(CPACK_RPM_PACKAGE_GROUP "Applications/Internet")

set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE
${CMAKE_CURRENT_SOURCE_DIR}/project/glite-ce-blahp.post)
set(CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE
${CMAKE_CURRENT_SOURCE_DIR}/project/glite-ce-blahp.preun)

add_subdirectory(src build)
add_subdirectory(config)
add_subdirectory(doc)

install(FILES LICENSE
DESTINATION share/doc/${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION})
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ doc_DATA = LICENSE
SUBDIRS = src config doc

## Default flags to run aclocal
ACLOCAL_AMFLAGS = -I project -I ../org.glite/project
ACLOCAL_AMFLAGS = -I project

stage:
@set fnord $(MAKEFLAGS); amf=$$2; \
Expand Down
2 changes: 2 additions & 0 deletions blah_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The BLAHP daemon is a light component accepting commands to manage jobs on different Local Resources Management Systems

2 changes: 1 addition & 1 deletion bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set -x
if [ -d ../org.glite/project ]; then
aclocal -I project -I ../org.glite/project
else
aclocal -I project
aclocal -I project -I /usr/share/glite-build-common-cpp/m4
fi

libtoolize --force
Expand Down
30 changes: 30 additions & 0 deletions config/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# ****************
# * BLAHP daemon *
# ****************
#
# $Id: $
#
# File: CMakeLists.txt
#
# Author(s): Francesco Prelz ($Author: $)
# e-mail: "[email protected]"
#
# Revision history:
#
# 5-Nov-2012 Created

cmake_minimum_required(VERSION 2.6)

install(FILES
blah.config.template
blparser.conf.template
DESTINATION /etc)

install(FILES
glite-ce-blah-parser
glite-ce-check-blparser
PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
DESTINATION /etc/rc.d/init.d)

1 change: 1 addition & 0 deletions config/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ EXTRA_DIST = blah.config.template \
glite-ce-blah-parser \
glite-ce-check-blparser

initdir = rc.d/init.d
bldir = $(sysconfdir)/$(initdir)
bl_SCRIPTS = glite-ce-blah-parser glite-ce-check-blparser

Expand Down
Loading