Parsl is a parallel programming library for Python that aims to make it easy to specify parallelism in programs and to realize that parallelism on arbitrary parallel and distributed computing systems. Parsl relies on developers annotating Python functions-wrapping either Python or external applications-to indicate that these functions may be executed concurrently. Developers can then link together functions via the exchange of data. Parsl establishes a dynamic dependency graph and sends tasks for execution on connected resources when dependencies are resolved. Parsl's runtime system enables different compute resources to be used, from laptops to supercomputers, without modification to the Parsl program.
翻译:Parsl 是 Python 的平行编程库, 目的是方便地指定程序中的平行点, 并意识到任意平行和分布式计算机系统的平行点。 Parsl 依靠开发者对 Python 函数进行批注, 包括 Python 或外部应用程序, 以表明这些函数可以同时执行。 开发者然后可以通过数据交换将函数连接在一起。 Parsl 建立一个动态依赖性图, 并在解决依赖性问题时将任务发送到相关资源上。 Parsl 运行时间系统允许使用从笔记本电脑到超级计算机的不同计算资源, 而不修改 Parsl 程序 。