File tree Expand file tree Collapse file tree
wfcommons/wfbench/translator/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616from parsl .app .app import bash_app
1717from parsl .config import Config
1818from parsl .executors import HighThroughputExecutor
19+ from parsl .executors .threads import ThreadPoolExecutor
1920from parsl .providers import LocalProvider
2021from parsl .data_provider .files import File
22+
2123# NOTE: Uncomment the following lines to enable Parsl workflow monitoring
2224# from parsl.monitoring.monitoring import MonitoringHub
2325# from parsl.addresses import address_by_hostname
2426
2527# NOTE: update the configuration below for your desired system (https://parsl.readthedocs.io/en/stable/userguide/configuring.html)
2628config = Config (
2729 executors = [
28- HighThroughputExecutor (
29- label = "local_htex" ,
30- worker_debug = True ,
31- cores_per_worker = 1 ,
32- max_workers_per_node = 1 ,
33- provider = LocalProvider (
34- init_blocks = 1 ,
35- max_blocks = 1 ,
36- ),
37- )
30+ ThreadPoolExecutor (
31+ max_threads = 1 ,
32+ label = 'local_threads' ),
3833 ],
3934 strategy = None ,
4035
You can’t perform that action at this time.
0 commit comments