Skip to content

Commit bec10ca

Browse files
committed
Updated README and index for docs
Added graphviz as a dependency into the README
1 parent 1838fd3 commit bec10ca

File tree

3 files changed

+27
-10
lines changed

3 files changed

+27
-10
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
# Flume
1+
# _Flume_
2+
3+
_Flume_ is an open-source framework for multidisciplinary analysis and adjoint evaluations based on directed acyclic graphs. It is intended to be a lightweight framework that affords users with a degree of flexibility in implementing their own analysis and optimization procedures while providing a common underlying structure. _Flume_ also has a set of interfaces between some common optimizers, which allow the user to easily set up an optimization problem that corresponds to their specific needs.
24

3-
Flume is an open-source framework for multidisciplinary analysis and adjoint evaluations based on directed acyclic graphs. It is intended to be a lightweight framework that affords users with a degree of flexibility in implementing their own analysis and optimization procedures while providing a common underlying structure. _Flume_ also has a set of interfaces between some common optimizers, which allow the user to easily setup an optimization problem that corresponds to their specific needs.
4-
55
## Getting Started
66

7-
For new users, it is recommended that you read the _Flume_ [overview notebook](https://github.com/smdogroup/flume/blob/main/examples/flume_overview.ipynb), which outlines in detail the critical aspects of the framework in context of an example. This discusses the nomenclature that is used within the framework and illustrates how to construct _State_, _Analysis_, and _System_ objects for use with a _Flume_ interface. Also, for a review of other useful methods that are included for _Analysis_ classes, check out the [methods demonstration notebook](https://github.com/smdogroup/flume/blob/main/examples/analysis_methods_demo.ipynb). The [examples gallery](https://github.com/smdogroup/flume/tree/main/examples) also includes several different types of problems, which showcase the construction of many types of _Analysis_ classes, the assembly of a _System_, and how to interface with an optimizer interface.
7+
For new users, it is recommended that you read the _Flume_ [overview notebook](https://github.com/smdogroup/flume/blob/main/examples/flume_overview.ipynb), which outlines in detail the critical aspects of the framework in context of an example. This discusses the nomenclature that is used within the framework and illustrates how to construct _State_, _Analysis_, and _System_ objects for use with a _Flume_ interface. Also, for a review of other useful methods that are included for _Analysis_ classes, check out the [methods demonstration notebook](https://github.com/smdogroup/flume/blob/main/examples/analysis_methods_demo.ipynb). The [examples gallery](https://github.com/smdogroup/flume/tree/main/examples) also includes several different types of problems, which showcase the construction of many types of _Analysis_ classes, the assembly of a _System_, and how to interface with an optimizer interface.
88

99
## Installation
1010

11-
To install _Flume_, the only necessary dependency is a working version of Python that is at least version 3.10. It is generally encouraged that you use a virtual environment. If you do not have a virtual environment already, navigate to the directory where you want to use _Flume_ and execute the following.
11+
To install _Flume_, the only necessary dependencies are a working version of Python that is at least version 3.10 and Graphviz. It is generally encouraged that you use a virtual environment. If you do not have a virtual environment already, navigate to the directory where you want to use _Flume_ and execute the following.
12+
1213
```
1314
python -m venv venv
1415
source venv/bin/activate
1516
```
17+
1618
Then, with the virtual environment activated, simply install the package from the GitHub repository with
19+
1720
```
1821
pip install git+https://github.com/smdogroup/flume.git
1922
```
23+
2024
This will install the base classes, optimizer interfaces, and utilities into a Python package named "flume". For those who want to make changes to the code or access the unit tests and examples, you can also clone the repository and then install in editable mode.
25+
2126
```
2227
cd {your_chosen_git_directory}
2328
git clone https://github.com/smdogroup/flume.git
@@ -26,4 +31,7 @@ python -m venv venv
2631
source venv/bin/activate
2732
pip install -e .
2833
```
34+
35+
To install Graphviz, check out the installation instructions located [here](https://graphviz.org/download/) depending on your machine type.
36+
2937
After following either of these processes, you should be able to access the base classes and get started with developing your own scripts within the framework! It should be noted that ParOpt is a separate package that is not included with _Flume_ during the build process. For those who want to utilize this interface, we refer you to the [ParOpt installation instructions](https://github.com/smdogroup/paropt/blob/master/INSTALL.txt).

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
:maxdepth: 2
99
:caption: Table of Contents:
1010

11+
source/README
1112
source/flume_overview
1213
source/analysis_methods_demo
1314
source/base_class_reference

docs/source/README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
# Flume
1+
# _Flume_
2+
3+
_Flume_ is an open-source framework for multidisciplinary analysis and adjoint evaluations based on directed acyclic graphs. It is intended to be a lightweight framework that affords users with a degree of flexibility in implementing their own analysis and optimization procedures while providing a common underlying structure. _Flume_ also has a set of interfaces between some common optimizers, which allow the user to easily setup an optimization problem that corresponds to their specific needs.
24

3-
Flume is an open-source framework for multidisciplinary analysis and adjoint evaluations based on directed acyclic graphs. It is intended to be a lightweight framework that affords users with a degree of flexibility in implementing their own analysis and optimization procedures while providing a common underlying structure. _Flume_ also has a set of interfaces between some common optimizers, which allow the user to easily setup an optimization problem that corresponds to their specific needs.
4-
55
## Getting Started
66

7-
For new users, it is recommended that you read the _Flume_ [overview notebook](https://github.com/smdogroup/flume/blob/main/examples/flume_overview.ipynb), which outlines in detail the critical aspects of the framework in context of an example. This discusses the nomenclature that is used within the framework and illustrates how to construct _State_, _Analysis_, and _System_ objects for use with a _Flume_ interface. Also, for a review of other useful methods that are included for _Analysis_ classes, check out the [methods demonstration notebook](https://github.com/smdogroup/flume/blob/main/examples/analysis_methods_demo.ipynb). The [examples gallery](https://github.com/smdogroup/flume/tree/main/examples) also includes several different types of problems, which showcase the construction of many types of _Analysis_ classes, the assembly of a _System_, and how to interface with an optimizer interface.
7+
For new users, it is recommended that you read the _Flume_ [overview notebook](https://smdogroup.github.io/flume/source/flume_overview.html), which outlines in detail the critical aspects of the framework in context of an example. This discusses the nomenclature that is used within the framework and illustrates how to construct _State_, _Analysis_, and _System_ objects for use with a _Flume_ interface. Also, for a review of other useful methods that are included for _Analysis_ classes, check out the [methods demonstration notebook](https://smdogroup.github.io/flume/source/analysis_methods_demo.html). The [examples gallery](https://github.com/smdogroup/flume/tree/main/examples) also includes several different types of problems, which showcase the construction of many types of _Analysis_ classes, the assembly of a _System_, and how to interface with an optimizer interface.
88

99
## Installation
1010

11-
To install _Flume_, the only necessary dependency is a working version of Python that is at least version 3.10. It is generally encouraged that you use a virtual environment. If you do not have a virtual environment already, navigate to the directory where you want to use _Flume_ and execute the following.
11+
To install _Flume_, the only necessary dependencies are a working version of Python that is at least version 3.10 and Graphviz. It is generally encouraged that you use a virtual environment. If you do not have a virtual environment already, navigate to the directory where you want to use _Flume_ and execute the following.
12+
1213
```
1314
python -m venv venv
1415
source venv/bin/activate
1516
```
17+
1618
Then, with the virtual environment activated, simply install the package from the GitHub repository with
19+
1720
```
1821
pip install git+https://github.com/smdogroup/flume.git
1922
```
23+
2024
This will install the base classes, optimizer interfaces, and utilities into a Python package named "flume". For those who want to make changes to the code or access the unit tests and examples, you can also clone the repository and then install in editable mode.
25+
2126
```
2227
cd {your_chosen_git_directory}
2328
git clone https://github.com/smdogroup/flume.git
@@ -26,4 +31,7 @@ python -m venv venv
2631
source venv/bin/activate
2732
pip install -e .
2833
```
34+
35+
To install Graphviz, check out the installation instructions located [here](https://graphviz.org/download/) depending on your machine type.
36+
2937
After following either of these processes, you should be able to access the base classes and get started with developing your own scripts within the framework! It should be noted that ParOpt is a separate package that is not included with _Flume_ during the build process. For those who want to utilize this interface, we refer you to the [ParOpt installation instructions](https://github.com/smdogroup/paropt/blob/master/INSTALL.txt).

0 commit comments

Comments
 (0)