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
# the shell directive is necessary to properly activate the shell
@@ -254,16 +254,16 @@ jobs:
254
254
verdi quicksetup --non-interactive --profile default --email aiida@localhost --first-name Giuseppe --last-name Verdi --institution Khedivial --db-backend psql_dos
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ reproducible research workflows, by anyone, anywhere and anytime.
48
48
We greatly appreciate and encourage contributions by any users or developers of
49
49
workflow tools.
50
50
A list of preselected tools can be found in the [documentation](https://nfdi4ingscientificworkflowrequirements.readthedocs.io/en/latest/).
51
-
If you would like to add an implementation of the [simple use case](https://nfdi4ingscientificworkflowrequirements.readthedocs.io/en/latest/docs/simpleusecase.html) for a tool
51
+
If you would like to add an implementation of the [exemplary workflow](https://nfdi4ingscientificworkflowrequirements.readthedocs.io/en/latest/docs/exemplarywf.html) for a tool
52
52
(not limited to the given list), or if you suggest changes to one of the
53
53
existing implementations, please raise an issue and/or submit a pull request.
54
54
We also encourage to start a new [discussion](https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/discussions)
Copy file name to clipboardExpand all lines: docs/exemplarywf.rst
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
2
-
.. _simpleusecase:
2
+
.. _exemplarywf:
3
3
4
-
Simple use case
5
-
===============
4
+
Exemplary workflow
5
+
==================
6
6
As a minimal working example representative of workflows in computational science, the
7
7
poisson equation is solved using the finite element method for a set of predefined boundary conditions :math:`u_{\mathrm{D}}`
8
8
on a square domain :math:`\varOmega={(0, s)}^2, s\in\mathbb{R}^+`.
@@ -17,10 +17,10 @@ The final output of the workflow is a PDF document showing the solution :math:`u
17
17
line :math:`L=\{(x, y)\in\varOmega\,\vert\,x=y\}` and the number of degrees of freedom used in the finite element model.
18
18
The (directed acyclic graph of the) workflow is shown below and consists of the following processes:
19
19
20
-
.. |DAG| image:: ./../img/simple_use_case_dag.png
20
+
.. |DAG| image:: ./../img/exemplary_wf_dag.png
21
21
:class:align-right
22
22
:width:95%
23
-
:alt:simple_use_case_dag
23
+
:alt:exemplary_wf_dag
24
24
25
25
1. Partition of the computational domain using `Gmsh <http://gmsh.info/>`_, |DAG|
26
26
@@ -66,13 +66,13 @@ The (directed acyclic graph of the) workflow is shown below and consists of the
66
66
cp source/paper.tex ./paper.tex
67
67
tectonic ./paper.tex
68
68
69
-
It is important to note that the `source files <https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/blob/main/simple_use_case/source>`_ are
69
+
It is important to note that the `source files <https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/blob/main/exemplary_workflow/source>`_ are
70
70
regarded as static inputs, i.e. changing them may break the workflow and thus
71
71
only the variable domain size should be exposed as an actual input parameter.
72
72
The number of degrees of freedom is written to stdout
73
73
by the FEniCS script `source/poisson.py`
74
74
and used here to showcase how one might deal with output of integer type (i.e. non-file output).
75
75
If the tool does not support this the number of degrees of freedom is written to a file.
76
76
77
-
Details on the specific versions used for each software package can be found in the `conda environment specification file <https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/blob/main/simple_use_case/source/envs/default_env.yaml>`_.
78
-
Exemplary implementations with various tools can be found `here <https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/tree/main/simple_use_case>`_.
77
+
Details on the specific versions used for each software package can be found in the `conda environment specification file <https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/blob/main/exemplary_workflow/source/envs/default_env.yaml>`_.
78
+
Exemplary implementations with various tools can be found `here <https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/tree/main/exemplary_workflow>`_.
As a minimal working example representative of workflows in computational science,
3
3
the poisson equation is solved using the finite element method.
4
4
The workflow consists of the following processes:
@@ -10,14 +10,14 @@ The workflow consists of the following processes:
10
10
5. Preparation of macro definitions,
11
11
6. Generation of a PDF using [LaTeX](https://www.latex-project.org/), [Tectonic](https://tectonic-typesetting.github.io/en-US/) respectively.
12
12
13
-
A more extensive description can be found in the [documentation](https://nfdi4ingscientificworkflowrequirements.readthedocs.io/en/latest/docs/simpleusecase.html).
13
+
A more extensive description can be found in the [documentation](https://nfdi4ingscientificworkflowrequirements.readthedocs.io/en/latest/docs/exemplarywf.html).
14
14
15
15
## Compute environment
16
16
Details about how the compute environment is built (using [conda](https://docs.conda.io/en/latest/)) can be found in the respective sub-directory for each tool.
17
17
18
18
## Headless operation
19
-
The ParaView version used in the examples (see the [conda environment specification file](https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/blob/main/simple_use_case/source/envs/default_env.yaml)) is linked against EGL to also support offscreen rendering.
19
+
The ParaView version used in the examples (see the [conda environment specification file](https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/blob/main/exemplary_workflow/source/envs/default_env.yaml)) is linked against EGL to also support offscreen rendering.
20
20
Usually, these libraries exist in case of a desktop pc where an actual screen or monitor is available.
21
-
However, for headless operation, i.e. when executing the simple use case in a container, it is necessary to install aforementioned libraries since these are not installed automatically as a dependency by conda.
21
+
However, for headless operation, i.e. when executing the exemplary workflow in a container, it is necessary to install aforementioned libraries since these are not installed automatically as a dependency by conda.
22
22
We refer to the installation of the basic dependencies in our [github action](https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements/blob/main/.github/actions/install-basic-deps/action.yml) to give an example.
23
23
For more information about offscreen rendering with ParaView go to the [ParaView documentation](https://kitware.github.io/paraview-docs/latest/cxx/Offscreen.html).
Copy file name to clipboardExpand all lines: exemplary_workflow/aiida/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# AiiDA
2
-
This directory contains an implementation of the simple use case with [AiiDA](https://www.aiida.net/).
2
+
This directory contains an implementation of the exemplary workflow with [AiiDA](https://www.aiida.net/).
3
3
4
4
## Implementation
5
5
Since the implementation of workflows in AiiDA is quite different from the other file
@@ -11,7 +11,7 @@ According to the [documentation](https://aiida.readthedocs.io/projects/aiida-cor
11
11
> The calcfunction in AiiDA is a function decorator that transforms a regular python function in a calculation process, which automatically stores the provenance of its output in the provenance graph when executed.
12
12
13
13
Typically `calcfunction`s are used for short running processes to be run on the local machine, like preprocessing and postprocessing steps.
14
-
One could think of a workaround, using `os.subprocess` inside a `calcfunction` to run the processes of the simple use case.
14
+
One could think of a workaround, using `os.subprocess` inside a `calcfunction` to run the processes of the exemplary workflow.
15
15
However, `calcfunction`s are not intended to be used to run external codes and the use of `os.subprocess` is discouraged since in this case the provenance cannot be properly captured by AiiDA.
0 commit comments