Skip to content
Snippets Groups Projects
Commit 7f2cc61c authored by Martin Schroschk's avatar Martin Schroschk
Browse files

Merge branch 'mergepremain' into 'main'

Bar

See merge request !831
parents 0cf14094 eaeab6b2
No related branches found
No related tags found
2 merge requests!845Barnard,!831Bar
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
Ink is better than the best memory. Ink is better than the best memory.
In this section you will find information on the technical setup of this documentation, the applied In this section you will find information about the technical setup of this documentation, the
content rules, Git workflow and certain ways to contribute. content rules that apply, the Git workflow, and specific ways to contribute.
Your contributions are highly welcome. This can range from fixing typos, improving the phrasing and Your contributions are highly welcome. This can range from fixing typos, improving the phrasing and
wording to adopting examples, command lines and adding new content. Our goal is to provide a wording to adopting examples, command lines and adding new content. Our goal is to provide a
...@@ -15,41 +15,41 @@ Moreover, is is constantly reviewed and updated. ...@@ -15,41 +15,41 @@ Moreover, is is constantly reviewed and updated.
## Technical Setup ## Technical Setup
This documentation is written in markdown and translated into static html pages using This documentation is written in markdown and translated into static html pages using
[mkdocs](https://www.mkdocs.org/). The single configuration file `mkdocs.yml` holds the pages [mkdocs](https://www.mkdocs.org/). The single configuration file `mkdocs.yml` contains the page
structure as well as specification of the theme and extensions. structure as well as the specification of the theme and extensions.
We manage all essential files (markdown pages, graphics, configuration, theme, etc.) within a We manage all essential files (markdown pages, graphics, configuration, theme, etc.) within a
[public Git repository](https://gitlab.hrz.tu-chemnitz.de/zih/hpcsupport/hpc-compendium), [public Git repository](https://gitlab.hrz.tu-chemnitz.de/zih/hpcsupport/hpc-compendium),
allowing for collaborative working and revision control. GitLab features offer different allowing for collaborative working and revision control. GitLab's features offer different
possibilities of contribution and ensure up-to-date and consistent content by including a review possibilities of contribution and ensure up-to-date and consistent content by including a review
process. In principle, there are three possible ways how you can contribute to this documentation. process. There are three possible ways how you can contribute to this documentation.
These are outlined below. These are described below.
!!! tip "Before you start" !!! tip "Before you start"
Before you start your very first commit, please make sure that you are familiar with our Before you start your very first commit, please make sure that you are familiar with our
[Git workflow](#git-workflow) and that you have at least skimmed the [Git workflow](#git-workflow) and that you have at least skimmed through the
[Content Rules](content_rules.md). [Content Rules](content_rules.md).
## Git Workflow ## Git Workflow
We employ a so-called Git feature workflow with development branch. In our case, the working branch We employ a so-called Git feature workflow with a development branch. In our case, the working branch
is called `preview` and is kept in parallel to the `main` branch. is called `preview` and is kept in parallel to the `main` branch.
All contributions, e.g., new content, improved wording, fixed typos, etc, are added to separate All contributions, e.g., new content, improved wording, fixed typos, etc., are added to separate
feature branches which base on `preview`. If the contribution is ready, you will have to create a feature branches which base on `preview`. If the contribution is ready, you will have to create a
merge request back to the `preview` branch. A member of ZIH team will review the changes (four-eyes merge request back to the `preview` branch. A member of the ZIH team will review the changes
principle) and finally merge your changes to `preview`. All contributions need to pass the CI (four-eyes principle) and finally merge your changes to `preview`. All contributions need to pass
pipeline consisting of several checks to ensure compliance with the content rules. Please, don't through the CI pipeline consisting of several checks to ensure compliance with the content rules.
worry too much about the checks. ZIH staff will help you with that. You will find more information Please, don't worry too much about the checks. The ZIH staff will help you with that. You can find
on the [CI/CD pipeline](cicd-pipeline) in the eponymous subsection. more information about the [CI/CD pipeline](cicd-pipeline) in the eponymous subsection.
In order to publish the updates and make them visible in the compendium, In order to publish the updates and make them visible in the compendium,
the changes on `preview` branch are either automatically merged into the `main` branch on every the changes on `preview` branch are either automatically merged into the `main` branch on every
Monday via a pipeline schedule, or manually by admin staff. Moreover, the `main` branch is deployed Monday via a pipeline schedule, or manually by admin staff. Moreover, the `main` branch is deployed
to [https://compendium.hpc.tu-dresden.de](https://compendium.hpc.tu-dresden.de) and always reflects to [https://compendium.hpc.tu-dresden.de](https://compendium.hpc.tu-dresden.de) and always reflects
a production-ready state. Manual interventions are only necessary in case of merge conflicts. The a production-ready state. Manual interventions are only necessary in case of merge conflicts.
admin staff will take care on this process. This process is handled by the admins.
???+ note "Graphic on Git workflow" ???+ note "Graphic on Git workflow"
...@@ -88,20 +88,20 @@ admin staff will take care on this process. ...@@ -88,20 +88,20 @@ admin staff will take care on this process.
## Content Rules ## Content Rules
To ensure a high-quality and consistent documentation and to make it easier for readers to To ensure a high-quality and consistent documentation, and to make it easier for readers to
understand all content, we set some [Content rules](content_rules.md). Please follow understand all content, we have established [Content rules](content_rules.md). Please follow
these rules regarding markdown syntax and writing style when contributing! Furthermore, reviewing these rules regarding markdown syntax and writing style when contributing! Furthermore, reviewing
your changes takes less time and your improvements appear faster on the official documentation. your changes takes less time and your improvements appear faster on the official documentation.
!!! note !!! note
If you contribute, you are fully and solely responsible for the content you create and have to If you contribute, you are fully and solely responsible for the content you create and have to
ensure that you have the right to create it under the laws which apply. ensure that you have the right to create it under applicable laws.
## Contribute via Issue ## Contribute via Issue
You can contribute to the documentation via the You can contribute to the documentation using
[GitLab issue tracking system](https://gitlab.hrz.tu-chemnitz.de/zih/hpcsupport/hpc-compendium/-/issues). [GitLab's issue tracking system](https://gitlab.hrz.tu-chemnitz.de/zih/hpcsupport/hpc-compendium/-/issues).
For that, open an issue to report typos and missing documentation or request for more precise For that, open an issue to report typos and missing documentation or request for more precise
wording etc. ZIH staff will get in touch with you to resolve the issue and improve the wording etc. ZIH staff will get in touch with you to resolve the issue and improve the
documentation. documentation.
...@@ -119,22 +119,21 @@ documentation. ...@@ -119,22 +119,21 @@ documentation.
## Contribute via Web IDE ## Contribute via Web IDE
If you have a web browser (most probably you are using it to read this page) and want to contribute If you have a web browser (most probably you are using it to read this page) and want to contribute
to the documentation, you are good to go. GitLab offers a rich and versatile web interface to work to the documentation, you are good to go. GitLab offers a rich and versatile web interface for
with repositories. To start fixing typos and edit source files, please find more information on the working with repositories. To start fixing typos and edit source files, you can find more
page [Contributing via web browser](contribute_browser.md). information on the page [Contributing via web browser](contribute_browser.md).
## Contribute via Local Clone ## Contribute via Local Clone
For experienced Git users, we provide a Docker container that includes all checks of the CI engine For experienced Git users, we provide a Docker container that includes all the checks of the CI
used in the back-end. Using them should ensure that merge requests will not be blocked engine used in the backend. Using them should ensure that merge requests are not blocked due to
due to automatic checking. automatic checks. The page [Contributing via local clone](contribute_container.md) provides you
The page on [Contributing via local clone](contribute_container.md) provides you with the details with the details about how to set up and use your local clone of the repository.
about how to setup and use your local clone of the repository.
## CI/CD Pipeline ## CI/CD Pipeline
All contributions need to pass the CI pipeline which consists of various checks to ensure, that the All contributions need to pass through the CI pipeline which consists of various checks to ensure
[content rules](content_rules.md) are met. that the [content rules](content_rules.md) have been followed.
The stages of the CI/CD pipeline are defined in a `.gitlab.yaml` file. For security reasons, this The stages of the CI/CD pipeline are defined in a `.gitlab.yaml` file. For security reasons, this
file is managed in a second, private repository. file is maintained in a second, private repository.
...@@ -70,7 +70,7 @@ To identify the mount points of the different filesystems on the data transfer m ...@@ -70,7 +70,7 @@ To identify the mount points of the different filesystems on the data transfer m
## Transferring Files Between ZIH Systems and Group Drive ## Transferring Files Between ZIH Systems and Group Drive
1. Copy your private SSH key from ZIH system to `login1.zih.tu-dresden.de`. 1. Copy your public SSH key from ZIH system to `login1.zih.tu-dresden.de`.
``` console ``` console
marie@login$ ssh-copy-id -i ~/.ssh/id_rsa.pub login1.zih.tu-dresden.de marie@login$ ssh-copy-id -i ~/.ssh/id_rsa.pub login1.zih.tu-dresden.de
......
...@@ -4,7 +4,8 @@ To copy large data to/from ZIH systems, the so-called **export nodes** should be ...@@ -4,7 +4,8 @@ To copy large data to/from ZIH systems, the so-called **export nodes** should be
possible to transfer small files directly via the login nodes, they are not intended to be used that possible to transfer small files directly via the login nodes, they are not intended to be used that
way. Furthermore, longer transfers will hit the CPU time limit on the login nodes, i.e. the process way. Furthermore, longer transfers will hit the CPU time limit on the login nodes, i.e. the process
get killed. The **export nodes** have a better uplink (10 GBit/s) allowing for higher bandwidth. Note get killed. The **export nodes** have a better uplink (10 GBit/s) allowing for higher bandwidth. Note
that you cannot log in via SSH to the export nodes, but only use `scp`, `rsync` or `sftp` on them. that you cannot log in via SSH to the export nodes, but only use `scp`, `rsync` or `sftp`
(incl. FTP-clients like e.g. [FileZilla](https://filezilla-project.org/)) on them.
The export nodes are reachable under the hostname `taurusexport.hrsk.tu-dresden.de` (or The export nodes are reachable under the hostname `taurusexport.hrsk.tu-dresden.de` (or
`taurusexport3.hrsk.tu-dresden.de` and `taurusexport4.hrsk.tu-dresden.de`). `taurusexport3.hrsk.tu-dresden.de` and `taurusexport4.hrsk.tu-dresden.de`).
......
...@@ -32,8 +32,9 @@ From: alpine ...@@ -32,8 +32,9 @@ From: alpine
cd .. cd ..
rm -r fmt-5.3.0* rm -r fmt-5.3.0*
cat hello.cpp cat <<'EOF' >> hello.cpp
#include &lt;fmt/format.h&gt;
#include <fmt/format.h> // literal
int main(int argc, char** argv){ int main(int argc, char** argv){
if(argc == 1) fmt::print("No arguments passed!\n"); if(argc == 1) fmt::print("No arguments passed!\n");
......
...@@ -105,6 +105,7 @@ FFT ...@@ -105,6 +105,7 @@ FFT
FFTW FFTW
filesystem filesystem
filesystems filesystems
FileZilla
flink flink
Flink Flink
FlinkExample FlinkExample
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment