You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-34Lines changed: 34 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ These two Python functions are combined in the following example workflow:
27
27
tmp_dict = get_prod_and_div(x=1, y=2)
28
28
result = get_sum(x=tmp_dict["prod"], y=tmp_dict["div"])
29
29
```
30
-
For the workflow representation of these Python functions the Python functions are stored in the [arithmetic_workflow.py](example_workflows/arithmetic/workflow.py)
31
-
Python module. The connection of the Python functions are stored in the [workflow_arithmetic.json](example_workflows/arithmetic/workflow.json)
30
+
For the workflow representation of these Python functions the Python functions are stored in the [example_workflows/arithmetic/workflow.py](example_workflows/arithmetic/workflow.py)
31
+
Python module. The connection of the Python functions are stored in the [example_workflows/arithmetic/workflow.json](example_workflows/arithmetic/workflow.json)
32
32
JSON file:
33
33
```
34
34
{
@@ -57,47 +57,47 @@ library.
57
57
58
58
The corresponding Jupyter notebooks demonstrate this functionality:
|[aiida_arithmetic.ipynb](example_workflows/arithmetic/aiida.ipynb)| Define Workflow with aiida and execute it with jobflow and pyiron_base. |
63
-
|[jobflow_arithmetic.ipynb](example_workflows/arithmetic/jobflow.ipynb)| Define Workflow with jobflow and execute it with aiida and pyiron_base. |
64
-
|[pyiron_base_arithmetic.ipynb](example_workflows/arithmetic/pyiron_base.ipynb)| Define Workflow with pyiron_base and execute it with aiida and jobflow. |
65
-
|[universal_workflow_arithmetic.ipynb](example_workflows/arithmetic/universal_workflow.ipynb)| Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
|[example_workflows/arithmetic/aiida.ipynb](example_workflows/arithmetic/aiida.ipynb)| Define Workflow with aiida and execute it with jobflow and pyiron_base. |
63
+
|[example_workflows/arithmetic/jobflow.ipynb](example_workflows/arithmetic/jobflow.ipynb)| Define Workflow with jobflow and execute it with aiida and pyiron_base. |
64
+
|[example_workflows/arithmetic/pyiron_base.ipynb](example_workflows/arithmetic/pyiron_base.ipynb)| Define Workflow with pyiron_base and execute it with aiida and jobflow. |
65
+
|[example_workflows/arithmetic/universal_workflow.ipynb](example_workflows/arithmetic/universal_workflow.ipynb)| Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
66
66
67
67
### Quantum Espresso Workflow
68
68
The second workflow example is the calculation of an energy volume curve with Quantum Espresso. In the first step the
69
69
initial structure is relaxed, afterward it is strained and the total energy is calculated.
*[example_workflows/quantum_espresso/workflow.json](example_workflows/quantum_espresso/workflow.json) Workflow definition in the Python Workflow Definition.
|[aiida_qe.ipynb](example_workflows/quantum_espresso/aiida.ipynb)| Define Workflow with aiida and execute it with jobflow and pyiron_base. |
77
-
|[jobflow_qe.ipynb](example_workflows/quantum_espresso/jobflow.ipynb)| Define Workflow with jobflow and execute it with aiida and pyiron_base. |
78
-
|[pyiron_base_qe.ipynb](example_workflows/quantum_espresso/pyiron_base.ipynb)| Define Workflow with pyiron_base and execute it with aiida and jobflow. |
79
-
|[universal_workflow_qe.ipynb](example_workflows/quantum_espresso/universal_workflow.ipynb)| Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
|[example_workflows/quantum_espresso/aiida.ipynb](example_workflows/quantum_espresso/aiida.ipynb)| Define Workflow with aiida and execute it with jobflow and pyiron_base. |
77
+
|[example_workflows/quantum_espresso/jobflow.ipynb](example_workflows/quantum_espresso/jobflow.ipynb)| Define Workflow with jobflow and execute it with aiida and pyiron_base. |
78
+
|[example_workflows/quantum_espresso/pyiron_base.ipynb](example_workflows/quantum_espresso/pyiron_base.ipynb)| Define Workflow with pyiron_base and execute it with aiida and jobflow. |
79
+
|[example_workflows/quantum_espresso/universal_workflow.ipynb](example_workflows/quantum_espresso/universal_workflow.ipynb)| Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
80
80
81
81
### NFDI4Ing Scientific Workflow Requirements
82
82
To demonstrate the compatibility of the Python Workflow Definition to file based workflows, the workflow benchmark developed as part of [NFDI4Ing](https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements)
83
83
is implemented for all three simulation codes based on a shared workflow definition.
|[aiida_nfdi.ipynb](example_workflows/nfdi/aiida.ipynb)| Define Workflow with aiida and execute it with jobflow and pyiron_base. |
101
-
|[jobflow_nfdi.ipynb](example_workflows/nfdi/jobflow.ipynb)| Define Workflow with jobflow and execute it with aiida and pyiron_base. |
102
-
|[pyiron_base_nfdi.ipynb](example_workflows/nfdi/pyiron_base.ipynb)| Define Workflow with pyiron_base and execute it with aiida and jobflow. |
103
-
|[universal_workflow_nfdi.ipynb](example_workflows/nfdi/universal_workflow.ipynb)| Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
|[example_workflows/nfdi/aiida.ipynb](example_workflows/nfdi/aiida.ipynb)| Define Workflow with aiida and execute it with jobflow and pyiron_base. |
101
+
|[example_workflows/nfdi/jobflow.ipynb](example_workflows/nfdi/jobflow.ipynb)| Define Workflow with jobflow and execute it with aiida and pyiron_base. |
102
+
|[example_workflows/nfdi/pyiron_base.ipynb](example_workflows/nfdi/pyiron_base.ipynb)| Define Workflow with pyiron_base and execute it with aiida and jobflow. |
103
+
|[example_workflows/nfdi/universal_workflow.ipynb](example_workflows/nfdi/universal_workflow.ipynb)| Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
Copy file name to clipboardExpand all lines: documentation/arithmetic.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,14 @@ These two Python functions are combined in the following example workflow:
12
12
tmp_dict = get_prod_and_div(x=1, y=2)
13
13
result = get_sum(x=tmp_dict["prod"], y=tmp_dict["div"])
14
14
```
15
-
For the workflow representation of these Python functions the Python functions are stored in the [arithmetic_workflow.py](example_workflows/arithmetic/arithmetic_workflow.py)
16
-
Python module. The connection of the Python functions are stored in the [workflow_arithmetic.json](example_workflows/arithmetic/workflow_arithmetic.json)
15
+
For the workflow representation of these Python functions the Python functions are stored in the [workflow.py](example_workflows/arithmetic/workflow.py)
16
+
Python module. The connection of the Python functions are stored in the [workflow.json](example_workflows/arithmetic/workflow.json)
0 commit comments