尧图网站建设 尧图网络
  • 首页
  • 关于我们
  • 服务项目
  • 案例展示
  • 建站流程
  • 资讯中心
  • 联系我们
首页/资讯中心/详情

fireworks

fireworks
📅 发布时间:2026/6/20 20:01:53

fireworks

https://github.com/materialsproject/fireworks

FireWorks stores, executes, and manages calculation workflows.

  • Website (including documentation): https://materialsproject.github.io/fireworks/
  • Help/Support: https://discuss.matsci.org/c/fireworks
  • Source: https://github.com/materialsproject/fireworks/

 

https://materialsproject.github.io/fireworks/#citing-label

While FireWorks provides many features, its basic operation is simple. You can run FireWorks on a single laptop or at a supercomputing center.

Centralized Server and Worker Model

There are essentially just two components of a FireWorks installation:

  • A server (“LaunchPad”) that manages workflows. You can add workflows (a DAG of “FireWorks”) to the LaunchPad, query for the state of your workflows, orrerun workflows. The workflows can be a straightforward series of scripts or dynamically adapt depending on the results obtained.

  • One or more workers(“FireWorkers”) that run your jobs. The FireWorkers request workflows from the LaunchPad, execute them, and send back information. The FireWorker can be as simple as the same workstation used to host the LaunchPad, or complicated like a national supercomputing center with a queueing system.

The basic infrastructure looks like this:

FireWorks Model

The components are largely decoupled, which makes FireWorks easier touse. End users can add new workflows to the LaunchPad without worrying about the details of how and where the workflows will be run (unless they really want to tailor the details of job execution). This keeps theworkflow specifications lightweight, tidy, and easy to learn and use (if you’ve ever seen lengthy XML-based specifications in other workflow software, you’ll notice the difference in FireWorks right away).

On the opposite end, administrators can configure worker computers without worrying about where workflows are coming from or what they looklike (although you can assign jobs to certain resources if desired). Running on a heterogeneous set of worker computers is simple because essentially the same code is used internally by FireWorks for running onsimple workstations or a large supercomputing center, submitting to a traditional or web-based queue system, or packing together many jobs into a single queue submission.

Workflow Model

Workflows in FireWorks are made up of three main components:

  • A Firetask isan atomic computing job. It can call a single shell script or execute asingle Python function that you define (either within FireWorks, or in an external package).

  • A Firework contains the JSON specthat includes all the information needed to bootstrap your job. For example, the spec contains an array of Firetasks to execute in sequence.The spec also includes any input parameters to pass to your Firetasks. You can easily perform the same function over different input data by creating Fireworks with identical Firetasks but different input parameters in the spec. You can design your spec however you’d like, as long as it’s valid JSON. The JSON format used for Firework specs is extremely flexible, very easy to learn (Python users familiar with dicts and arraysessentially already know JSON), and immediately makes rich searches over the input data available to end users through MongoDB’s JSON document search capabilities.

  • A Workflow isa set of FireWorks with dependencies between them. For example, you might need a parent Firework to finish and generate some output files before running two child FireWorks.

Between FireWorks, you can return a FWActionthat can store data or modify the Workflow depending on the output (e.g., pass data to the next step, cancel the remaining parts of the Workflow, or even add new FireWorks that are defined within the object).

FireWorks Workflow

The FireWorks tutorials and FW design tips explain how to connect these components to achieve the desired behavior.

 

https://materialsproject.github.io/fireworks/quickstart.html


 

出处:http://www.cnblogs.com/lightsong/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。

相关新闻

  • C++篇(13)计算器实现 - 指南
  • 动态规划实践:数字三角形问题分析
  • 牛客101:链表 - 教程

最新新闻

  • 2026年化工助剂回收企业推荐:邯郸市益德贸易专业回收报废/过期/废弃化工助剂 - 品牌推荐官
  • Ollama本地运行Phi-3模型:轻量级AI推理实战指南
  • 江苏徐马环保科技推荐:粉煤灰生产线/球磨机等设备专业供应与技术服务 - 品牌推荐官
  • 吉林海普科技:纳滤膜及膜分离设备专业供应商,多领域应用实力推荐 - 品牌推荐官
  • i.MX50 EIM与DRAM时序配置实战:从原理到调试的嵌入式硬件设计指南
  • i.MX 6处理器电气特性与引脚配置实战解析:从时序到PCB设计

日新闻

  • Visual C++运行库修复终极指南:5分钟快速解决Windows软件启动错误
  • 手把手教你构建统计局地区经济数据爬虫:从环境搭建到数据持久化全指南
  • 2026多Agent深度解析:用AI团队替代单一模型,四种架构实战落地

周新闻

  • Visual C++运行库修复终极指南:5分钟快速解决Windows软件启动错误
  • 手把手教你构建统计局地区经济数据爬虫:从环境搭建到数据持久化全指南
  • 2026多Agent深度解析:用AI团队替代单一模型,四种架构实战落地

月新闻

  • 【总结】入门篇:50句话让你记住架构核心概念
  • WeChatMsg技术方案解析:实现Mac微信数据自主管理的完整解决方案
  • WeChatMsg:革新性微信数据备份方案,打造你的专属数字记忆库

关于尧图

  • 公司简介
  • 团队介绍
  • 企业文化
  • 荣誉资质

服务项目

  • 定制开发
  • 电商建站
  • UI 设计
  • 运维服务

快速链接

  • 案例展示
  • 建站流程
  • 常见问题
  • 资讯中心

联系方式

  • 📍北京市朝阳区互联网产业园 A 座 10 层
  • 📞400-888-8888
  • ✉️contact@rkmt.cn
  • 🕐周一至周日 9:00-21:00

© 2024 北京尧图网络科技有限公司 版权所有 | 京 ICP 备 XXXXXXXX 号