parsl 2024.12.9__py3-none-any.whl → 2024.12.16__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.
- parsl/executors/radical/executor.py +12 -1
- parsl/version.py +1 -1
- {parsl-2024.12.9.dist-info → parsl-2024.12.16.dist-info}/METADATA +2 -2
- {parsl-2024.12.9.dist-info → parsl-2024.12.16.dist-info}/RECORD +12 -12
- {parsl-2024.12.9.data → parsl-2024.12.16.data}/scripts/exec_parsl_function.py +0 -0
- {parsl-2024.12.9.data → parsl-2024.12.16.data}/scripts/interchange.py +0 -0
- {parsl-2024.12.9.data → parsl-2024.12.16.data}/scripts/parsl_coprocess.py +0 -0
- {parsl-2024.12.9.data → parsl-2024.12.16.data}/scripts/process_worker_pool.py +0 -0
- {parsl-2024.12.9.dist-info → parsl-2024.12.16.dist-info}/LICENSE +0 -0
- {parsl-2024.12.9.dist-info → parsl-2024.12.16.dist-info}/WHEEL +0 -0
- {parsl-2024.12.9.dist-info → parsl-2024.12.16.dist-info}/entry_points.txt +0 -0
- {parsl-2024.12.9.dist-info → parsl-2024.12.16.dist-info}/top_level.txt +0 -0
@@ -133,6 +133,7 @@ class RadicalPilotExecutor(ParslExecutor, RepresentationMixin):
|
|
133
133
|
self.resource = resource
|
134
134
|
self._uid = RPEX.lower()
|
135
135
|
self.bulk_mode = bulk_mode
|
136
|
+
self._terminate = mt.Event()
|
136
137
|
self.working_dir = working_dir
|
137
138
|
self.pilot_kwargs = rpex_pilot_kwargs
|
138
139
|
self.future_tasks: Dict[str, Future] = {}
|
@@ -532,7 +533,7 @@ class RadicalPilotExecutor(ParslExecutor, RepresentationMixin):
|
|
532
533
|
|
533
534
|
bulk = list()
|
534
535
|
|
535
|
-
while
|
536
|
+
while not self._terminate.is_set():
|
536
537
|
|
537
538
|
now = time.time() # time of last submission
|
538
539
|
|
@@ -552,6 +553,9 @@ class RadicalPilotExecutor(ParslExecutor, RepresentationMixin):
|
|
552
553
|
if len(bulk) >= self._max_bulk_size:
|
553
554
|
break
|
554
555
|
|
556
|
+
if self._terminate.is_set():
|
557
|
+
break
|
558
|
+
|
555
559
|
if bulk:
|
556
560
|
logger.debug('submit bulk: %d', len(bulk))
|
557
561
|
self.tmgr.submit_tasks(bulk)
|
@@ -588,6 +592,13 @@ class RadicalPilotExecutor(ParslExecutor, RepresentationMixin):
|
|
588
592
|
def shutdown(self, hub=True, targets='all', block=False):
|
589
593
|
"""Shutdown the executor, including all RADICAL-Pilot components."""
|
590
594
|
logger.info("RadicalPilotExecutor is terminating...")
|
595
|
+
|
596
|
+
self._terminate.set()
|
597
|
+
|
598
|
+
# ensure we are in the bulk submssion mode
|
599
|
+
if self.bulk_mode:
|
600
|
+
self._bulk_thread.join()
|
601
|
+
|
591
602
|
self.session.close(download=True)
|
592
603
|
logger.info("RadicalPilotExecutor is terminated.")
|
593
604
|
|
parsl/version.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: parsl
|
3
|
-
Version: 2024.12.
|
3
|
+
Version: 2024.12.16
|
4
4
|
Summary: Simple data dependent workflows in Python
|
5
5
|
Home-page: https://github.com/Parsl/parsl
|
6
|
-
Download-URL: https://github.com/Parsl/parsl/archive/2024.12.
|
6
|
+
Download-URL: https://github.com/Parsl/parsl/archive/2024.12.16.tar.gz
|
7
7
|
Author: The Parsl Team
|
8
8
|
Author-email: parsl@googlegroups.com
|
9
9
|
License: Apache 2.0
|
@@ -8,7 +8,7 @@ parsl/multiprocessing.py,sha256=MyaEcEq-Qf860u7V98u-PZrPNdtzOZL_NW6EhIJnmfQ,1937
|
|
8
8
|
parsl/process_loggers.py,sha256=uQ7Gd0W72Jz7rrcYlOMfLsAEhkRltxXJL2MgdduJjEw,1136
|
9
9
|
parsl/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
parsl/utils.py,sha256=5FvHIMao3Ik0Rm2p2ieL1KQcQcYXc5K83Jrx5csi-B4,14301
|
11
|
-
parsl/version.py,sha256=
|
11
|
+
parsl/version.py,sha256=CwPHYTWWgjQZkqkOuwCHdQ8bCbTMXdY3QWh3oae3TO8,131
|
12
12
|
parsl/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
parsl/app/app.py,sha256=0gbM4AH2OtFOLsv07I5nglpElcwMSOi-FzdZZfrk7So,8532
|
14
14
|
parsl/app/bash.py,sha256=jm2AvePlCT9DZR7H_4ANDWxatp5dN_22FUlT_gWhZ-g,5528
|
@@ -82,7 +82,7 @@ parsl/executors/high_throughput/probe.py,sha256=QOEaliO3x5cB6ltMOZMsZQ-ath9AAuFq
|
|
82
82
|
parsl/executors/high_throughput/process_worker_pool.py,sha256=3zXe3_X5GvbTOlfeJJD_E0ssfJqkAfkqXHfeU7mymdI,41865
|
83
83
|
parsl/executors/high_throughput/zmq_pipes.py,sha256=XtNTxbnt9UHfhiduj9f3UkviYRebUy4ierhEGvowB8k,9040
|
84
84
|
parsl/executors/radical/__init__.py,sha256=CKbtV2numw5QvgIBq1htMUrt9TqDCIC2zifyf2svTNU,186
|
85
|
-
parsl/executors/radical/executor.py,sha256=
|
85
|
+
parsl/executors/radical/executor.py,sha256=en2TKzZnJYU_juojkM_aZUdWhbAgutAYn_EL6HGpfSY,22835
|
86
86
|
parsl/executors/radical/rpex_resources.py,sha256=Q7-0u3K447LBCe2y7mVcdw6jqWI7SdPXxCKhkr6FoRQ,5139
|
87
87
|
parsl/executors/radical/rpex_worker.py,sha256=z6r82ZujKb6sdKIdHsQ_5EBMDIQieeGcrlt6kGLFo4M,1830
|
88
88
|
parsl/executors/taskvine/__init__.py,sha256=9rwp3M8B0YyEhZMLO0RHaNw7u1nc01WHbXLqnBTanu0,293
|
@@ -449,13 +449,13 @@ parsl/usage_tracking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
449
449
|
parsl/usage_tracking/api.py,sha256=iaCY58Dc5J4UM7_dJzEEs871P1p1HdxBMtNGyVdzc9g,1821
|
450
450
|
parsl/usage_tracking/levels.py,sha256=xbfzYEsd55KiZJ-mzNgPebvOH4rRHum04hROzEf41tU,291
|
451
451
|
parsl/usage_tracking/usage.py,sha256=tcoZ2OUjsQVakG8Uu9_HFuEdzpSHyt4JarSRcLGnSMw,8918
|
452
|
-
parsl-2024.12.
|
453
|
-
parsl-2024.12.
|
454
|
-
parsl-2024.12.
|
455
|
-
parsl-2024.12.
|
456
|
-
parsl-2024.12.
|
457
|
-
parsl-2024.12.
|
458
|
-
parsl-2024.12.
|
459
|
-
parsl-2024.12.
|
460
|
-
parsl-2024.12.
|
461
|
-
parsl-2024.12.
|
452
|
+
parsl-2024.12.16.data/scripts/exec_parsl_function.py,sha256=YXKVVIa4zXmOtz-0Ca4E_5nQfN_3S2bh2tB75uZZB4w,7774
|
453
|
+
parsl-2024.12.16.data/scripts/interchange.py,sha256=rUhF_Bwk5NOqLhh-HgP-ei_gclKnPIJJ7uS32p0j-XI,30129
|
454
|
+
parsl-2024.12.16.data/scripts/parsl_coprocess.py,sha256=zrVjEqQvFOHxsLufPi00xzMONagjVwLZbavPM7bbjK4,5722
|
455
|
+
parsl-2024.12.16.data/scripts/process_worker_pool.py,sha256=82FoJTye2SysJzPg-N8BpenuHGU7hOI8-Bedq8HV9C0,41851
|
456
|
+
parsl-2024.12.16.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
457
|
+
parsl-2024.12.16.dist-info/METADATA,sha256=bsetueef7_mgGUrg-z68K2k_nkr0g9MnMPmWEewrbrE,3848
|
458
|
+
parsl-2024.12.16.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
459
|
+
parsl-2024.12.16.dist-info/entry_points.txt,sha256=XqnsWDYoEcLbsMcpnYGKLEnSBmaIe1YoM5YsBdJG2tI,176
|
460
|
+
parsl-2024.12.16.dist-info/top_level.txt,sha256=PIheYoUFQtF2icLsgOykgU-Cjuwr2Oi6On2jo5RYgRM,6
|
461
|
+
parsl-2024.12.16.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|