Metadata-Version: 2.1
Name: SwarmForm
Version: 1.0.0
Summary: SwarmForm Workflow Management Software
Home-page: https://github.com/SwarmForm/SwarmForm
Author: Kalana Wijethunga, Randika Jayasekara, Ayesh Weerasinghe
Author-email: kalana.16@cse.mrt.ac.lk, rpjayaseka.16@cse.mrt.ac.lk, ayeshweerasinghe.16@cse.mrt.ac.lk
License: UNKNOWN
Platform: UNKNOWN
Requires-Dist: FireWorks (>=1.9.5)
Requires-Dist: PyYAML (>=5.3.1)

# SwarmForm

SwarmForm is a distributed workflow management system for High Performance Computing environments. SwarmForm introduces task clustering to reduce the makespan of workflows executed using it by minimizing the overheads. SwarmForm follows a distributed architecture with independent programs controlling different functional layers in workflow management.

## Getting Started

These instructions will get you familiar with the installation and basic functions of the SwarmForm.

### Prerequisites

Following prerequisites should be installed to run SwarmForm.

* MongoDB
* Python 3.3+
* pip

### Installation

To install SwarmForm, simply type

```
pip install swarmform
```

### Basic usage

Following is a step by step series of examples that tell you how to use the basic system functions.

Initialize a SwarmForm launchpad YAML file

```
sform init
```


Insert a SwarmFlow from file

```
sform add -sf <file path>
```

Get SwarmFlow from SwarmPad

```
sform get_sf -id <SwarmFlow ID>
```

Cluster the fireworks in the SwarmFlow and save the new SwarmFlow to the database

```
sform cluster -sf <SwarmFlow ID>
```
or
```
sform cluster -sf <SwarmFlow ID> -a <clustering algorithm rac/wpa> -cc <cluster count>
```

Reset and re-initialize the SwarmForm database

```
sform reset
```

## Built With

* [Python](https://www.python.org/) 
* [FireWorks](https://github.com/materialsproject/fireworks)

## Authors

* **Kalana Dananjaya** - https://github.com/KalanaDananjaya
* **Ayesh Weerasinghe** - https://github.com/AyeshW
* **Randika Jayasekara** - https://github.com/rpjayasekara


## License

[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](http://badges.mit-license.org)

- **[MIT license](https://github.com/SwarmForm/SwarmForm/blob/master/LICENSE)**
- Copyright 2021 © SwarmForm.


