Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loadbalancing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SLMS
loadbalancing
Commits
ab01f504
Commit
ab01f504
authored
Jan 18, 2021
by
Stephan Schulz
Browse files
Options
Downloads
Patches
Plain Diff
update module documentation
parent
9f444804
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/modules/FortranInterface.rst
+9
-7
9 additions, 7 deletions
docs/modules/FortranInterface.rst
docs/modules/MPMIntegration.rst
+21
-14
21 additions, 14 deletions
docs/modules/MPMIntegration.rst
with
30 additions
and
21 deletions
docs/modules/FortranInterface.rst
+
9
−
7
View file @
ab01f504
...
@@ -5,8 +5,6 @@
...
@@ -5,8 +5,6 @@
.. We allow the template to be standalone, so that the library maintainers add it in the right place
.. We allow the template to be standalone, so that the library maintainers add it in the right place
:orphan:
.. Firstly, let's add technical info as a sidebar and allow text below to wrap around it. This list is a work in
.. Firstly, let's add technical info as a sidebar and allow text below to wrap around it. This list is a work in
progress, please help us improve it. We use *definition lists* of ReST_ to make this readable.
progress, please help us improve it. We use *definition lists* of ReST_ to make this readable.
...
@@ -39,7 +37,7 @@
...
@@ -39,7 +37,7 @@
unique otherwise you will cause cross-referencing errors. The reference must come right before the heading for the
unique otherwise you will cause cross-referencing errors. The reference must come right before the heading for the
reference to work (so don't insert a comment between).
reference to work (so don't insert a comment between).
.. _all
F
ortran
I
nterface:
.. _all
_f
ortran
_i
nterface:
#####################
#####################
ALL Fortran interface
ALL Fortran interface
...
@@ -68,9 +66,13 @@ _________________
...
@@ -68,9 +66,13 @@ _________________
This module is necessary for any Fortran developers trying to use this
This module is necessary for any Fortran developers trying to use this
library.
library.
.. It is currently in use by the Fortran Multi Particle Method written for
the thesis of Stephan Schulz. This application of the interface is
documented in the according :ref:`module<all_mpm_integration>`.
It is currently in use by the Fortran Multi Particle Method written for
It is currently in use by the Fortran Multi Particle Method written for
the thesis of Stephan Schulz. This application of the interface is
the thesis of Stephan Schulz. This application of the interface is
documented in the
according :ref:`module<allMPMI
ntegration
>
`.
documented in the
module :ref:`all_mpm_i
ntegration`.
.. TODO:
.. TODO:
...
@@ -117,8 +119,8 @@ ___________
...
@@ -117,8 +119,8 @@ ___________
.. Notice the syntax of a URL reference below `Text <URL>`_ the backticks matter!
.. Notice the syntax of a URL reference below `Text <URL>`_ the backticks matter!
The source code for this interface consists of the C wrapper
The source code for this interface consists of the C wrapper
`src/ALL_fortran.cpp <https://gitlab.version.fz-juelich.de/SLMS/loadbalancing/-/blob/
refacto
r/src/ALL_fortran.cpp>`_
`src/ALL_fortran.cpp <https://gitlab.version.fz-juelich.de/SLMS/loadbalancing/-/blob/
maste
r/src/ALL_fortran.cpp>`_
and the Fortran module ALL
and the Fortran module
`
ALL
`
`src/ALL_module.F90 <https://gitlab.version.fz-juelich.de/SLMS/loadbalancing/-/blob/
refacto
r/src/ALL_module.F90>`_.
`src/ALL_module.F90 <https://gitlab.version.fz-juelich.de/SLMS/loadbalancing/-/blob/
maste
r/src/ALL_module.F90>`_.
.. vim: et sw=2 ts=2 tw=74 spell spelllang=en_us:
.. vim: et sw=2 ts=2 tw=74 spell spelllang=en_us:
This diff is collapsed.
Click to expand it.
docs/modules/MPMIntegration.rst
+
21
−
14
View file @
ab01f504
...
@@ -5,8 +5,6 @@
...
@@ -5,8 +5,6 @@
.. We allow the template to be standalone, so that the library maintainers add it in the right place
.. We allow the template to be standalone, so that the library maintainers add it in the right place
:orphan:
.. Firstly, let's add technical info as a sidebar and allow text below to wrap around it. This list is a work in
.. Firstly, let's add technical info as a sidebar and allow text below to wrap around it. This list is a work in
progress, please help us improve it. We use *definition lists* of ReST_ to make this readable.
progress, please help us improve it. We use *definition lists* of ReST_ to make this readable.
...
@@ -19,7 +17,7 @@
...
@@ -19,7 +17,7 @@
Fortran/C/C++
Fortran/C/C++
Licence
Licence
TBD!
`BSD 3-Clause <https://choosealicense.com/licenses/bsd-3-clause/>`_
Documentation Tool
Documentation Tool
In source documentation using Doxygen, additional man pages and plain
In source documentation using Doxygen, additional man pages and plain
...
@@ -40,7 +38,7 @@
...
@@ -40,7 +38,7 @@
unique otherwise you will cause cross-referencing errors. The reference must come right before the heading for the
unique otherwise you will cause cross-referencing errors. The reference must come right before the heading for the
reference to work (so don't insert a comment between).
reference to work (so don't insert a comment between).
.. _all
MPMI
ntegration:
.. _all
_mpm_i
ntegration:
###############
###############
MPM Integration
MPM Integration
...
@@ -80,8 +78,12 @@ code are also shown. Looking at these will help determine whether a
...
@@ -80,8 +78,12 @@ code are also shown. Looking at these will help determine whether a
simulation code is particularly suited for integrating ALL or if some
simulation code is particularly suited for integrating ALL or if some
further work is needed when integrating.
further work is needed when integrating.
This module also shows a real world application of the :ref:`Fortran
.. This module also shows a real world application of the :ref:`Fortran
interface<allFortranInterface>` provided with :ref:`ALL<ALL_background>`.
interface<all_fortran_interface>` provided with
:ref:`ALL<ALL_background>`.
This module also shows a real world application of the Fortran interface
provided with :ref:`ALL<ALL_background>` (documented in :ref:`all_fortran_interface`).
The MPM simulation code with integrated ALL is used by Stephan Schulz in
The MPM simulation code with integrated ALL is used by Stephan Schulz in
his thesis.
his thesis.
...
@@ -96,14 +98,19 @@ ______________________
...
@@ -96,14 +98,19 @@ ______________________
.. Keep the helper text below around in your module by just adding ".. " in front of it, which turns it into a comment
.. Keep the helper text below around in your module by just adding ".. " in front of it, which turns it into a comment
.. If the modifications are to an existing code base (which is typical) then this would be the place to name that
.. If the modifications are to an existing code base (which is typical)
application. List any relevant urls and explain how to get access to that code. There needs to be enough information
then this would be the place to name that application. List any
here so that the person reading knows where to get the source code for the application, what version this information is
relevant urls and explain how to get access to that code. There needs
relevant for, whether this requires any additional patches/plugins, etc.
to be enough information here so that the person reading knows where to
get the source code for the application, what version this information
is relevant for, whether this requires any additional patches/plugins,
etc.
.. Overall, this module is supposed to be self-contained, but linking to specific URLs with more detailed information is
.. Overall, this module is supposed to be self-contained, but linking to
encouraged. In other words, the reader should not need to do a websearch to understand the context of this module, all
specific URLs with more detailed information is encouraged. In other
the links they need should be already in this module.
words, the reader should not need to do a websearch to understand the
context of this module, all the links they need should be already in
this module.
The load balancing library ALL is integrated into the material point
The load balancing library ALL is integrated into the material point
method simulation code GMPM-PoC, which is written by Stephan Schulz during
method simulation code GMPM-PoC, which is written by Stephan Schulz during
...
@@ -163,7 +170,7 @@ ____________________
...
@@ -163,7 +170,7 @@ ____________________
To build the code just run ``make LB=ALL`` and everything should be build
To build the code just run ``make LB=ALL`` and everything should be build
automatically including dependencies. Make sure the correct compiler are
automatically including dependencies. Make sure the correct compiler are
found in the path and if you want to use Intel compilers you need to set
found in the path and if you want to use Intel compilers you need to set
``CO
P
MILER=INTEL`` as well. The normal caveats and required modules for
``COM
P
ILER=INTEL`` as well. The normal caveats and required modules for
some HPC systems are the described in the main code's ``README``.
some HPC systems are the described in the main code's ``README``.
Source Code
Source Code
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment