lsst-ctrl-execute 29.2025.1400__py3-none-any.whl → 29.2025.4500__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lsst/ctrl/execute/allocationConfig.py +13 -8
- lsst/ctrl/execute/allocator.py +13 -10
- lsst/ctrl/execute/allocatorParser.py +31 -10
- lsst/ctrl/execute/condorConfig.py +13 -10
- lsst/ctrl/execute/condorInfoConfig.py +13 -10
- lsst/ctrl/execute/envString.py +13 -10
- lsst/ctrl/execute/findPackageFile.py +14 -10
- lsst/ctrl/execute/namedClassFactory.py +13 -8
- lsst/ctrl/execute/pbsPlugin.py +13 -10
- lsst/ctrl/execute/qCommand.py +13 -8
- lsst/ctrl/execute/seqFile.py +13 -9
- lsst/ctrl/execute/slurmPlugin.py +23 -8
- lsst/ctrl/execute/templateWriter.py +13 -10
- {lsst_ctrl_execute-29.2025.1400.dist-info → lsst_ctrl_execute-29.2025.4500.dist-info}/METADATA +10 -4
- lsst_ctrl_execute-29.2025.4500.dist-info/RECORD +28 -0
- lsst_ctrl_execute-29.2025.4500.dist-info/licenses/COPYRIGHT +4 -0
- lsst_ctrl_execute-29.2025.4500.dist-info/licenses/LICENSE +3 -0
- lsst_ctrl_execute-29.2025.4500.dist-info/licenses/bsd_license.txt +27 -0
- lsst_ctrl_execute-29.2025.4500.dist-info/licenses/gpl-v3.0.txt +674 -0
- lsst_ctrl_execute-29.2025.1400.dist-info/RECORD +0 -24
- {lsst_ctrl_execute-29.2025.1400.dist-info → lsst_ctrl_execute-29.2025.4500.dist-info}/WHEEL +0 -0
- {lsst_ctrl_execute-29.2025.1400.dist-info → lsst_ctrl_execute-29.2025.4500.dist-info}/entry_points.txt +0 -0
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
1
2
|
#
|
|
2
|
-
# LSST Data Management System
|
|
3
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
4
8
|
#
|
|
5
|
-
# This
|
|
6
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
7
14
|
#
|
|
8
15
|
# This program is free software: you can redistribute it and/or modify
|
|
9
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -15,10 +22,8 @@
|
|
|
15
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
23
|
# GNU General Public License for more details.
|
|
17
24
|
#
|
|
18
|
-
# You should have received a copy of the
|
|
19
|
-
#
|
|
20
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
21
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
27
|
|
|
23
28
|
import lsst.pex.config as pexConfig
|
|
24
29
|
|
lsst/ctrl/execute/allocator.py
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
3
2
|
#
|
|
4
|
-
# LSST Data Management System
|
|
5
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
6
8
|
#
|
|
7
|
-
# This
|
|
8
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
9
14
|
#
|
|
10
15
|
# This program is free software: you can redistribute it and/or modify
|
|
11
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -17,10 +22,8 @@
|
|
|
17
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
23
|
# GNU General Public License for more details.
|
|
19
24
|
#
|
|
20
|
-
# You should have received a copy of the
|
|
21
|
-
#
|
|
22
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
23
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
24
27
|
|
|
25
28
|
import logging
|
|
26
29
|
import os
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
3
2
|
#
|
|
4
|
-
# LSST Data Management System
|
|
5
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
6
8
|
#
|
|
7
|
-
# This
|
|
8
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
9
14
|
#
|
|
10
15
|
# This program is free software: you can redistribute it and/or modify
|
|
11
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -17,10 +22,8 @@
|
|
|
17
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
23
|
# GNU General Public License for more details.
|
|
19
24
|
#
|
|
20
|
-
# You should have received a copy of the
|
|
21
|
-
#
|
|
22
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
23
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
24
27
|
|
|
25
28
|
import argparse
|
|
26
29
|
|
|
@@ -178,6 +181,24 @@ class AllocatorParser:
|
|
|
178
181
|
dest="packnodes",
|
|
179
182
|
help="encourage nodes to pack jobs rather than spread",
|
|
180
183
|
)
|
|
184
|
+
parser.add_argument(
|
|
185
|
+
"--exclude",
|
|
186
|
+
action="store",
|
|
187
|
+
default=None,
|
|
188
|
+
dest="exclude",
|
|
189
|
+
help="machine name(s) to exclude Slurm jobs from",
|
|
190
|
+
type=str,
|
|
191
|
+
required=False,
|
|
192
|
+
)
|
|
193
|
+
parser.add_argument(
|
|
194
|
+
"--nodelist",
|
|
195
|
+
action="store",
|
|
196
|
+
default=None,
|
|
197
|
+
dest="nodelist",
|
|
198
|
+
help="machine name(s) to target Slurm jobs toward",
|
|
199
|
+
type=str,
|
|
200
|
+
required=False,
|
|
201
|
+
)
|
|
181
202
|
parser.add_argument(
|
|
182
203
|
"--exclusive",
|
|
183
204
|
action="store_true",
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
3
2
|
#
|
|
4
|
-
# LSST Data Management System
|
|
5
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
6
8
|
#
|
|
7
|
-
# This
|
|
8
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
9
14
|
#
|
|
10
15
|
# This program is free software: you can redistribute it and/or modify
|
|
11
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -17,10 +22,8 @@
|
|
|
17
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
23
|
# GNU General Public License for more details.
|
|
19
24
|
#
|
|
20
|
-
# You should have received a copy of the
|
|
21
|
-
#
|
|
22
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
23
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
24
27
|
|
|
25
28
|
import lsst.pex.config as pexConfig
|
|
26
29
|
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
3
2
|
#
|
|
4
|
-
# LSST Data Management System
|
|
5
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
6
8
|
#
|
|
7
|
-
# This
|
|
8
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
9
14
|
#
|
|
10
15
|
# This program is free software: you can redistribute it and/or modify
|
|
11
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -17,10 +22,8 @@
|
|
|
17
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
23
|
# GNU General Public License for more details.
|
|
19
24
|
#
|
|
20
|
-
# You should have received a copy of the
|
|
21
|
-
#
|
|
22
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
23
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
24
27
|
|
|
25
28
|
import lsst.pex.config as pexConfig
|
|
26
29
|
from lsst.ctrl.execute.findPackageFile import find_package_file
|
lsst/ctrl/execute/envString.py
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
3
2
|
#
|
|
4
|
-
# LSST Data Management System
|
|
5
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
6
8
|
#
|
|
7
|
-
# This
|
|
8
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
9
14
|
#
|
|
10
15
|
# This program is free software: you can redistribute it and/or modify
|
|
11
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -17,10 +22,8 @@
|
|
|
17
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
23
|
# GNU General Public License for more details.
|
|
19
24
|
#
|
|
20
|
-
# You should have received a copy of the
|
|
21
|
-
#
|
|
22
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
23
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
24
27
|
|
|
25
28
|
import os
|
|
26
29
|
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
3
2
|
#
|
|
4
|
-
# LSST Data Management System
|
|
5
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
6
8
|
#
|
|
7
|
-
# This
|
|
8
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
9
14
|
#
|
|
10
15
|
# This program is free software: you can redistribute it and/or modify
|
|
11
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -17,10 +22,9 @@
|
|
|
17
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
23
|
# GNU General Public License for more details.
|
|
19
24
|
#
|
|
20
|
-
# You should have received a copy of the
|
|
21
|
-
#
|
|
22
|
-
|
|
23
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
27
|
+
|
|
24
28
|
import os
|
|
25
29
|
import sys
|
|
26
30
|
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
1
2
|
#
|
|
2
|
-
# LSST Data Management System
|
|
3
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
4
8
|
#
|
|
5
|
-
# This
|
|
6
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
7
14
|
#
|
|
8
15
|
# This program is free software: you can redistribute it and/or modify
|
|
9
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -15,10 +22,8 @@
|
|
|
15
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
23
|
# GNU General Public License for more details.
|
|
17
24
|
#
|
|
18
|
-
# You should have received a copy of the
|
|
19
|
-
#
|
|
20
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
21
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
27
|
|
|
23
28
|
|
|
24
29
|
class NamedClassFactory:
|
lsst/ctrl/execute/pbsPlugin.py
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
3
2
|
#
|
|
4
|
-
# LSST Data Management System
|
|
5
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
6
8
|
#
|
|
7
|
-
# This
|
|
8
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
9
14
|
#
|
|
10
15
|
# This program is free software: you can redistribute it and/or modify
|
|
11
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -17,10 +22,8 @@
|
|
|
17
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
23
|
# GNU General Public License for more details.
|
|
19
24
|
#
|
|
20
|
-
# You should have received a copy of the
|
|
21
|
-
#
|
|
22
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
23
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
24
27
|
|
|
25
28
|
import logging
|
|
26
29
|
import os
|
lsst/ctrl/execute/qCommand.py
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
1
2
|
#
|
|
2
|
-
# LSST Data Management System
|
|
3
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
4
8
|
#
|
|
5
|
-
# This
|
|
6
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
7
14
|
#
|
|
8
15
|
# This program is free software: you can redistribute it and/or modify
|
|
9
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -15,10 +22,8 @@
|
|
|
15
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
23
|
# GNU General Public License for more details.
|
|
17
24
|
#
|
|
18
|
-
# You should have received a copy of the
|
|
19
|
-
#
|
|
20
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
21
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
27
|
|
|
23
28
|
import os
|
|
24
29
|
import os.path
|
lsst/ctrl/execute/seqFile.py
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
2
2
|
#
|
|
3
|
-
# LSST Data Management System
|
|
4
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
5
8
|
#
|
|
6
|
-
# This
|
|
7
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
8
14
|
#
|
|
9
15
|
# This program is free software: you can redistribute it and/or modify
|
|
10
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -16,10 +22,8 @@
|
|
|
16
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
23
|
# GNU General Public License for more details.
|
|
18
24
|
#
|
|
19
|
-
# You should have received a copy of the
|
|
20
|
-
#
|
|
21
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
22
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
23
27
|
|
|
24
28
|
from lsst.resources import ResourcePath, ResourcePathExpression
|
|
25
29
|
|
lsst/ctrl/execute/slurmPlugin.py
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
1
2
|
#
|
|
2
|
-
# LSST Data Management System
|
|
3
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
4
8
|
#
|
|
5
|
-
# This
|
|
6
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
7
14
|
#
|
|
8
15
|
# This program is free software: you can redistribute it and/or modify
|
|
9
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -15,10 +22,8 @@
|
|
|
15
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
23
|
# GNU General Public License for more details.
|
|
17
24
|
#
|
|
18
|
-
# You should have received a copy of the
|
|
19
|
-
#
|
|
20
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
21
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
27
|
|
|
23
28
|
import hashlib
|
|
24
29
|
import logging
|
|
@@ -214,6 +219,16 @@ class SlurmPlugin(Allocator):
|
|
|
214
219
|
else:
|
|
215
220
|
self.defaults["RESERVATION"] = ""
|
|
216
221
|
|
|
222
|
+
if self.opts.exclude is not None:
|
|
223
|
+
self.defaults["EXCLUDE"] = f"#SBATCH --exclude {self.opts.exclude}"
|
|
224
|
+
else:
|
|
225
|
+
self.defaults["EXCLUDE"] = ""
|
|
226
|
+
|
|
227
|
+
if self.opts.nodelist is not None:
|
|
228
|
+
self.defaults["NODELIST"] = f"#SBATCH --nodelist {self.opts.nodelist}"
|
|
229
|
+
else:
|
|
230
|
+
self.defaults["NODELIST"] = ""
|
|
231
|
+
|
|
217
232
|
if self.opts.exclusive is not None:
|
|
218
233
|
self.defaults["EXCLUSIVE"] = "#SBATCH --exclusive"
|
|
219
234
|
else:
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# This file is part of ctrl_execute.
|
|
3
2
|
#
|
|
4
|
-
# LSST Data Management System
|
|
5
|
-
#
|
|
3
|
+
# Developed for the LSST Data Management System.
|
|
4
|
+
# This product includes software developed by the LSST Project
|
|
5
|
+
# (https://www.lsst.org).
|
|
6
|
+
# See the COPYRIGHT file at the top-level directory of this distribution
|
|
7
|
+
# for details of code ownership.
|
|
6
8
|
#
|
|
7
|
-
# This
|
|
8
|
-
#
|
|
9
|
+
# This software is dual licensed under the GNU General Public License and also
|
|
10
|
+
# under a 3-clause BSD license. Recipients may choose which of these licenses
|
|
11
|
+
# to use; please see the files gpl-3.0.txt and/or bsd_license.txt,
|
|
12
|
+
# respectively. If you choose the GPL option then the following text applies
|
|
13
|
+
# (but note that there is still no warranty even if you opt for BSD instead):
|
|
9
14
|
#
|
|
10
15
|
# This program is free software: you can redistribute it and/or modify
|
|
11
16
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -17,10 +22,8 @@
|
|
|
17
22
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
23
|
# GNU General Public License for more details.
|
|
19
24
|
#
|
|
20
|
-
# You should have received a copy of the
|
|
21
|
-
#
|
|
22
|
-
# see <http://www.lsstcorp.org/LegalNotices/>.
|
|
23
|
-
#
|
|
25
|
+
# You should have received a copy of the GNU General Public License
|
|
26
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
24
27
|
|
|
25
28
|
from lsst.resources import ResourcePath, ResourcePathExpression
|
|
26
29
|
|
{lsst_ctrl_execute-29.2025.1400.dist-info → lsst_ctrl_execute-29.2025.4500.dist-info}/METADATA
RENAMED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-ctrl-execute
|
|
3
|
-
Version: 29.2025.
|
|
3
|
+
Version: 29.2025.4500
|
|
4
4
|
Summary: Utilities for executing and managing workloads.
|
|
5
5
|
Project-URL: Homepage, https://github.com/lsst/ctrl_execute
|
|
6
6
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
7
|
-
License: BSD
|
|
7
|
+
License-Expression: BSD-3-Clause OR GPL-3.0-or-later
|
|
8
|
+
License-File: COPYRIGHT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
License-File: bsd_license.txt
|
|
11
|
+
License-File: gpl-v3.0.txt
|
|
8
12
|
Keywords: lsst
|
|
9
13
|
Classifier: Intended Audience :: Science/Research
|
|
10
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
11
14
|
Classifier: Operating System :: OS Independent
|
|
12
15
|
Classifier: Programming Language :: Python :: 3
|
|
13
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
20
|
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
16
|
-
Requires-Python:
|
|
21
|
+
Requires-Python: >=3.11.0
|
|
22
|
+
Requires-Dist: htcondor==24.0.*
|
|
17
23
|
Requires-Dist: lsst-ctrl-bps-htcondor>=28.2024.5000; sys_platform == 'linux'
|
|
18
24
|
Requires-Dist: lsst-pex-config
|
|
19
25
|
Requires-Dist: lsst-resources
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
lsst/__init__.py,sha256=_2bZAHuDVAx7MM7KA7pt3DYp641NY4RzSoRAwesWKfU,67
|
|
2
|
+
lsst/ctrl/__init__.py,sha256=_2bZAHuDVAx7MM7KA7pt3DYp641NY4RzSoRAwesWKfU,67
|
|
3
|
+
lsst/ctrl/execute/__init__.py,sha256=3tOhxyhnHbwyLLGKmL13A_TGqKjNErHjJybplX9mPzw,1019
|
|
4
|
+
lsst/ctrl/execute/allocationConfig.py,sha256=rcz_dHooE5SO59gr61vsO4ltvxl6G07JuPUdoUJLGXM,2828
|
|
5
|
+
lsst/ctrl/execute/allocator.py,sha256=MzBPM9RhSKtFlvaaX8XFKgrf9wJkHDBY0ehM8euBoHE,17647
|
|
6
|
+
lsst/ctrl/execute/allocatorParser.py,sha256=g_0Bz6juTvVHv1oTPe6mbR3_nYc5-JmPAhmjzy1PORA,8368
|
|
7
|
+
lsst/ctrl/execute/condorConfig.py,sha256=rZXs1HRUy0RgN3t73uy3hBLEzdU8zFHnFTXtUQ_0ynA,3060
|
|
8
|
+
lsst/ctrl/execute/condorInfoConfig.py,sha256=r0H3sVgyU9vTc4xkyxPBHf3AFNZM7j6rUhax5Fi_SOQ,2481
|
|
9
|
+
lsst/ctrl/execute/envString.py,sha256=r15Xin2fagrxj2HyMfV4AFjNxjV9ITsJh10S69QJfEk,2044
|
|
10
|
+
lsst/ctrl/execute/findPackageFile.py,sha256=-Tis8RWbo-DxS8d8pROAULI0IqLcK1ElUaNZzoJaalY,4045
|
|
11
|
+
lsst/ctrl/execute/namedClassFactory.py,sha256=8lUS0ONHjlXYjghe6wDOl2KWa0PaGs11lXCS77Z-5Zw,2147
|
|
12
|
+
lsst/ctrl/execute/pbsPlugin.py,sha256=rn4lmp8dVWt726ALGErAXmDhAxvI2tsj1isJIOjsvAA,4267
|
|
13
|
+
lsst/ctrl/execute/qCommand.py,sha256=lXB1GjXWaOqcyuFVLauAjyY-3-S7pMGgwgfcSBhJoAg,2833
|
|
14
|
+
lsst/ctrl/execute/seqFile.py,sha256=D3qaNvxog1XLd3oE01pOQyaMgQTHdJtupZsx9MwUtnk,2417
|
|
15
|
+
lsst/ctrl/execute/slurmPlugin.py,sha256=BJE8b2Hbc22PP5ggCT85P8yJgBAU0gMFOrR3ulxYiSs,21012
|
|
16
|
+
lsst/ctrl/execute/templateWriter.py,sha256=PXxJ6aZ77oxcxa_Qk0D5a4kxaa2GFBxNJqSbZvcgmkk,2365
|
|
17
|
+
lsst/ctrl/execute/libexec/allocateNodes.py,sha256=GCJdWY3j1E3_im3NpO08VK2q_v6AHfEYsuaO20eI8zE,2863
|
|
18
|
+
lsst/ctrl/execute/libexec/dagIdInfo.py,sha256=U3jfrtkw2lw25QWRlLK4XuL_L29FqNm0D5Fy_F4ZJG4,1834
|
|
19
|
+
lsst/ctrl/execute/libexec/qdelete.py,sha256=-YD1LnsKiePWXZhImoixx-Obx4GqN21m00MEgHSmnGc,1231
|
|
20
|
+
lsst/ctrl/execute/libexec/qstatus.py,sha256=ds9JgLWFQ3nXHyXAPhXjdtSuiLvxxm1_YajH6I5xwcc,1572
|
|
21
|
+
lsst_ctrl_execute-29.2025.4500.dist-info/METADATA,sha256=-EqIBG38xrPue3x4kkGr4HTh-mtZu-qzCMTbhgLZOQE,1058
|
|
22
|
+
lsst_ctrl_execute-29.2025.4500.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
23
|
+
lsst_ctrl_execute-29.2025.4500.dist-info/entry_points.txt,sha256=pNyRrmyX0WVZfYRSfmuhm1vxOqk2np_7SQWxQ5DgB1A,242
|
|
24
|
+
lsst_ctrl_execute-29.2025.4500.dist-info/licenses/COPYRIGHT,sha256=D8yy7vytJ840UEJroEZfgPlKU-OuMBsK7Wn2QZDaX-k,317
|
|
25
|
+
lsst_ctrl_execute-29.2025.4500.dist-info/licenses/LICENSE,sha256=pRExkS03v0MQW-neNfIcaSL6aiAnoLxYgtZoFzQ6zkM,232
|
|
26
|
+
lsst_ctrl_execute-29.2025.4500.dist-info/licenses/bsd_license.txt,sha256=7MIcv8QRX9guUtqPSBDMPz2SnZ5swI-xZMqm_VDSfxY,1606
|
|
27
|
+
lsst_ctrl_execute-29.2025.4500.dist-info/licenses/gpl-v3.0.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
28
|
+
lsst_ctrl_execute-29.2025.4500.dist-info/RECORD,,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
Copyright 2012-2025 University of Illinois Board of Trustees
|
|
2
|
+
Copyright 2015, 2019, 2024-2025 Association of Universities for Research in Astronomy
|
|
3
|
+
Copyright 2015, 2017 University of Washington
|
|
4
|
+
Copyright 2025 The Board of Trustees of the Leland Stanford Junior University, through SLAC National Accelerator Laboratory
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
For copyright information see the COPYRIGHT file included in the top-level
|
|
2
|
+
directory of this distribution.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
5
|
+
are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
8
|
+
this list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
11
|
+
notice, this list of conditions and the following disclaimer in the
|
|
12
|
+
documentation and/or other materials provided with the distribution.
|
|
13
|
+
|
|
14
|
+
3. Neither the names of the copyright holders nor the names of their
|
|
15
|
+
contributors may be used to endorse or promote products derived from
|
|
16
|
+
this software without specific prior written permission.
|
|
17
|
+
|
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
19
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
20
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
21
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
|
|
22
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
23
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
24
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
25
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
26
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|