Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: README.md content replaced with references to GH Documentation #93

Closed
wants to merge 46 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
26506eb
compiling.rst: change in title name
Gon-na Dec 7, 2023
8c85104
Documentation: Add section for discussion & help
Gon-na Dec 14, 2023
f29e76b
Documentation: README.md shortened & small change to getting help page
Gon-na Nov 16, 2023
a6dfe46
Documentation: Combined Getting Help & Contact sections
Gon-na Dec 19, 2023
2c01165
Doc lic test 2
Gon-na Jan 10, 2024
ad0dbb6
doc lic test 3
Gon-na Jan 10, 2024
5ecec81
doc test lic link
Gon-na Jan 10, 2024
2404961
test
Gon-na Jan 10, 2024
53c77fa
test2
Gon-na Jan 10, 2024
684a184
license.rst test
Gon-na Jan 10, 2024
0c5a2bb
license.rst fix
Gon-na Jan 10, 2024
2a4a0ba
fix2
Gon-na Jan 10, 2024
0d99f17
test 3
Gon-na Jan 10, 2024
dff0d18
marker test
Gon-na Jan 10, 2024
b6994e1
lic test
Gon-na Jan 10, 2024
faaf3fc
next test
Gon-na Jan 10, 2024
cd03b74
next test
Gon-na Jan 10, 2024
ec8c2f5
test
Gon-na Jan 10, 2024
00b3885
test
Gon-na Jan 10, 2024
1eeb727
blobmain
Gon-na Jan 10, 2024
d8e7c4d
os test
Gon-na Jan 10, 2024
73e7887
sys
Gon-na Jan 10, 2024
7a634ab
test without header
Gon-na Jan 11, 2024
350bcbb
Header test
Gon-na Jan 11, 2024
23e20ae
home runner work test
Gon-na Jan 11, 2024
edd8757
home runner work w/o .md
Gon-na Jan 11, 2024
087203e
#
Gon-na Jan 11, 2024
23ad2a3
#2
Gon-na Jan 11, 2024
9234d3b
error in linktolicense?
Gon-na Jan 11, 2024
f1f02da
deleted licensetest.md in gh pages
Gon-na Jan 11, 2024
1dd27b3
additional testfiles
Gon-na Jan 11, 2024
03c767a
2
Gon-na Jan 11, 2024
0ee0fac
space
Gon-na Jan 11, 2024
90c6e8e
different file paths
Gon-na Jan 11, 2024
e5bd87f
different path 2
Gon-na Jan 11, 2024
bf19fa0
/kass
Gon-na Jan 11, 2024
02f974b
..
Gon-na Jan 11, 2024
ece3fbc
..2
Gon-na Jan 11, 2024
8cd097f
..3
Gon-na Jan 11, 2024
049b605
..4
Gon-na Jan 11, 2024
330e676
..5
Gon-na Jan 11, 2024
deffe3e
w/o Header
Gon-na Jan 11, 2024
92d646f
test in index.rst
Gon-na Jan 11, 2024
48b44e3
remove index test
Gon-na Jan 11, 2024
41164aa
paths dicretly to file
Gon-na Jan 11, 2024
fefea38
..6
Gon-na Jan 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Documentation/gh-pages/source/compiling.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Getting starting with Kassiopiea
Getting started with Kassiopiea
**********************************

.. contents:: On this page
Expand Down
16 changes: 15 additions & 1 deletion Documentation/gh-pages/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,21 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
# import sys

import sys

sys.path.insert(0, os.path.abspath('/Gon-na/Kassiopeia/Kassiopeia/LICENSEtest.rst'))

sys.path.insert(0, os.path.abspath('/Gon-na/Kassiopeia/LICENSEtest.rst'))

sys.path.insert(0, os.path.abspath('/Kassiopeia/LICENSEtest.rst'))

sys.path.insert(0, os.path.abspath('/Kassiopeia/Kassiopeia/LICENSEtest.rst'))

sys.path.insert(0, os.path.abspath('/home/runner/work/Kassiopeia/Kassiopeia/LICENSEtest.rst'))



# sys.path.insert(0, os.path.abspath('.'))


Expand Down
46 changes: 46 additions & 0 deletions Documentation/gh-pages/source/contact.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

Contact, Meeting and References
*********************************

You can `contribute changes <https://github.com/KATRIN-Experiment/Kassiopeia/compare>`_, `report issues <https://github.com/KATRIN-Experiment/Kassiopeia/issues/new>`_ and `join discussions <https://github.com/KATRIN-Experiment/Kassiopeia/discussions>`_ on Github.

Join the Kassiopeia community on `Gitter <https://gitter.im/kassiopeia-simulation/community>`_.

Contact
=======

* Kasper development list: katrin-kasper@lists.kit.edu
* Richard Salomon: richardsalomon@uni-muenster.de
* Benedikt Bieringer: benedikt.b@uni-muenster.de



Regular Meeting
=======

We also organize a regular meeting via Zoom.

Kassiopeia **users as well as developers** can join, ask questions, raise issues and discuss development topics.
It does not matter whether you are already an expert or a complete beginner. **Everyone is welcome!**

The meeting is announced via email.
Please register for the `mailing list <https://www.lists.kit.edu/sympa/subscribe/kassiopeia-user>`_ if you are interested.


References and Citation
==========

**Cite** |our paper|_\ **:**

.. |our paper| replace:: **our paper**
.. _our paper: https://iopscience.iop.org/article/10.1088/1367-2630/aa6950

.. code-block:: bash

D. Furse et al. (2017) New J. Phys. 19 053012: “Kassiopeia: A Modern, Extensible C++ Particle Tracking Package” (doi:10.1088/1367-2630/aa6950)


In addition to this user guide, *Kassiopeia* and its associated libraries have been documented extensively in several
PhD theses. Many of these can be found under the list of KATRIN publications_.

.. _publications: https://www.katrin.kit.edu/375.php
29 changes: 0 additions & 29 deletions Documentation/gh-pages/source/external_documentation.rst

This file was deleted.

12 changes: 8 additions & 4 deletions Documentation/gh-pages/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ Welcome to Kassiopeia's documentation!
.. toctree::
:maxdepth: 4

Introduction <introduction.rst>
References, Citation and Contact <external_documentation.rst>
Contact, Meeting and References <contact.rst>
Introduction <introduction.rst>
Getting Started <compiling.rst>
Examples and Tests <examples.rst>
Configuring Your Own Simulation <configuration.rst>
Expand All @@ -52,9 +52,10 @@ Welcome to Kassiopeia's documentation!
Visualization Techniques <visualization.rst>
XML Bindings <bindings.rst>
License <license.rst>
LicenseTEST <linktolicense.rst>
Authors <authors.rst>






Expand Down Expand Up @@ -94,6 +95,9 @@ to run your first simulation! *Note: A VTK error indicates that the "VNC (Deskto
D. Furse et al. (2017) New J. Phys. 19 053012: “Kassiopeia: A Modern, Extensible C++ Particle Tracking Package” (doi:10.1088/1367-2630/aa6950)


In addition to this user guide, *Kassiopeia* and its associated libraries have been documented extensively in several
PhD theses. Many of these can be found under the list of KATRIN publications_.

**Docker images**
--------------

Expand All @@ -106,6 +110,6 @@ The `kassiopeia/full` image comes with a JupyterLab installation, can run on Kub

.. |More information| replace:: **More information**
.. _More information: https://github.com/KATRIN-Experiment/Kassiopeia/blob/main/Docker/README.md

.. _publications: https://www.katrin.kit.edu/375.php


1 change: 1 addition & 0 deletions Documentation/gh-pages/source/licensetest.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/home/runner/work/Kassiopeia
23 changes: 23 additions & 0 deletions Documentation/gh-pages/source/linktolicense.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@


.. include:: ../Gon-na/Kassiopeia/LICENSEtest.rst

.. include:: ../Gon-na/Kassiopeia/blob/main/LICENSEtest.rst

.. include:: ../Gon-na/Kassiopeia/Kassiopeia/blob/main/LICENSEtest.rst

.. include:: ../Kassiopeia/LICENSEtest.rst

BREAKER 0

.. include:: licensetest.rst

BREAKER 1

.. include:: ../home/runner/work/Kassiopeia/Kassiopeia/LICENSEtest.rst


BREAKER 2


.. include:: license.rst
6 changes: 6 additions & 0 deletions LICENSEtest.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
testlicense file
no content HOWEVER

fieldsd
fieldsf
fields
183 changes: 14 additions & 169 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
This simulation package by [the KATRIN collaboration](https://katrin.kit.edu) allows to run highly customizable particle tracking simulations
along with calculations of electric and magnetic fields.

**Full user guide:** http://katrin-experiment.github.io/Kassiopeia/index.html

**Quick start:** [**Try it out online**](https://mybinder.org/v2/gh/KATRIN-Experiment/KassiopeiaBinder/HEAD)
in an interactive Binder session. Open a "VNC (Desktop)" tab and a terminal tab and run

Expand All @@ -31,159 +29,15 @@ to run your first simulation! *Note: A VTK error indicates that the "VNC (Deskto
D. Furse et al. (2017) New J. Phys. 19 053012: “Kassiopeia: A Modern, Extensible C++ Particle Tracking Package” (doi:10.1088/1367-2630/aa6950)
```

Docker images
--------------

**All images:** https://github.com/orgs/KATRIN-Experiment/packages

The `kassiopeia/full` image comes with a JupyterLab installation, can run on Kubernetes based JupyterHubs and is also used for the "try it out online" link above.

**More information:** [Docker README](Docker/README.md)

System requirements:
----------------------

NOTE: Kasper requires Linux/MacOS. Windows+cygwin should work too, but has not been tested.

Some dependencies are only required if certain module are compiled in.

Dependencies:
* CMake (https://www.cmake.org) version 3.14 or higher
* G++ (https://gcc.gnu.org) version 6.1 or higher (if compiling with GCC)
* Clang++ (https://clang.llvm.org) version 3.4 or higher (if compiling with clang)
* Boost (https://www.boost.org) version 1.65 or higher
* GSL (https://www.gnu.org/software/gsl)
* ROOT (https://www.cern.ch/root) version 6.16 or higher
+ --enable-minuit2 (if you want to use KaFit)
+ --enable-fftw3 (if you want to use KEMField)

Optional Dependencies:
* FFTW (https://fftw.org) version 3.3.4 or higher
* HDF5 (https://support.hdfgroup.org/HDF5/)
* Log4CXX (https://logging.apache.org/log4cxx)
* MPI (https://www.open-mpi.org or mpich.org)
* OpenCL (https://www.khronos.org/opencl), installation details depend on your system
* PETSc (https://mcs.anl.gov/petsc)
* VTK (https://www.vtk.org) version 6.1 or higher
* pdflatex (for making the documentation; minimum version not known)
* doxygen (for making the documentation; minimum version not known)

### Ubuntu Linux 18.04 LTS (bionic)

* Make sure to update CMake to version 3.13 or newer. See www.cmake.org or use this
[direct link](https://github.com/Kitware/CMake/releases/download/v3.13.4/cmake-3.13.4-Linux-x86_64.tar.gz).
* Download ROOT libraries from cern.root.ch or use this
[direct link](https://root.cern/download/root_v6.18.04.Linux-ubuntu18-x86_64-gcc7.4.tar.gz).
Another option is to build your own version from the source files.
* To install all build dependencies:
```
> apt-get update -y && apt-get install -y \
build-essential cmake cmake-curses-gui \
libqt4-dev libx11-dev libxext-dev libxft-dev libxpm-dev \
libboost-all-dev libfftw3-dev libgsl0-dev libhdf5-dev liblog4cxx-dev libomp-dev libopenmpi-dev \
libpcl-dev libsqlite3-dev libssl-dev libvtk6-dev libxml2-dev ocl-icd-opencl-dev zlib1g-dev
```

### Fedora Linux 31

* The ROOT libraries can be installed easily with the package manager.
* To install all build dependencies:
```
> dnf install -y \
@development-tools cmake cmake-gui \
root-core root-io-xmlparser root-minuit2 root-spectrum \
vtk vtk-qt vtk-java \
boost-devel fftw-devel gsl-devel hdf5-devel libomp-devel libxml2-devel log4cxx-devel \
ocl-icd-devel openmpi-devel openssl-devel pcl-devel sqlite-devel vtk-devel zlib-devel
```

Installation
--------------

1. Make a separate directory for the build tree, and enter that directory:
```
> mkdir build
> cd build
```

* Consider setting important environmental variables now.
Selecting a specific compiler to be configured by CMake is done for example by
```
> export CXX=clang++
> export CC=clang
```
to use the Clang/LLVM compiler, or
```
> export CXX=g++
> export CC=gcc
```
to use the GNU compiler (GCC).

2. Run cmake (or ccmake, or cmake-gui, if you prefer):
```
> cmake ..
> ccmake ..
```

* If applicable, make any changes you need to the configuration, and
(re)generate the makefiles. e.g. You may want to change the install
prefix. (NOTE: Most users will probably want to do this.)

The default is `<Source-Directory>/install`. If you're not doing
a general install for your system, or if you just want to use a
different location, you should change `CMAKE_INSTALL_PREFIX` to
your desired location. Also note the `CMAKE_BUILD_TYPE`. If you
do not plan to debug Kasper applications, 'Release' will give you
the best execution performance.

If you use one of the GUI variants (ccmake or cmake-gui), you can
just go through a list of all the available build options. Most
options also have a short description. Note that some variables
have dependencies (e.g. `BUILD_KASSIOPEIA` will also enable
`BUILD_KEMFIELD`).

3. Then type
```
> make
```
to start the build process. This can take some time, depending on the
modules you activated in CMake. If you have more than one CPU core on
your system, you can build several files in parallel:
```
> make -j2
```
Make sure to keep the number passed to 'make' smaller than the number
of actual CPU cores. Instead of 'make' you could also use 'ninja'
or any other build tool that works with CMake.

4. Install the executables and libraries with
```
> make install
```
Executables are installed in the `bin/` directory, and libraries are
installed in the `lib/` directory (or `lib64/` on some systems.)

5. Include `kasperenv.sh` in your `~/.bashrc` (or similar, depending on
your shell) with
```
> source /path/to/Kasper/install/bin/kasperenv.sh
```
This script adds the `bin/` directory to your `$PATH` so you can call
any Kasper executables directly from the commandline. Furthermore this
sets the `$KASPERSYS` environment variable to the install directory.


Documentation
---------------

1. Documentation distributed with Kasper
1. This `README.md` file
2. The Kassiopeia documentation is an HTML page hosted on GitHub
that will guide you through the installation process and
explains how to get started with your first simulation:
http://katrin-experiment.github.io/Kassiopeia/index.html

Open Source
**[Documentation](http://katrin-experiment.github.io/Kassiopeia/index.html)**
=============================================================================================

* **[System requirements & installation](https://katrin-experiment.github.io/Kassiopeia/compiling.html)**
* **[Docker images](https://github.com/orgs/KATRIN-Experiment/packages), [more information](Docker/README.md)**
* **[Meeting & Getting help](https://katrin-experiment.github.io/Kassiopeia/discussion.html)**


Open source
-------------

This software is distributed "as-is" under an open source license
Expand All @@ -196,24 +50,15 @@ Kassiopeia includes the following open-source libraries:
* stl_reader (https://github.com/sreiter/stl_reader)


Getting help
--------------
Contact
-----------------------

Join the Kassiopeia community on Gitter: https://gitter.im/kassiopeia-simulation/community
* Kasper development list: katrin-kasper@lists.kit.edu
* Richard Salomon: richardsalomon@uni-muenster.de
* Benedikt Bieringer: benedikt.b@uni-muenster.de

You can [contribute changes](https://github.com/KATRIN-Experiment/Kassiopeia/compare), [report issues](https://github.com/KATRIN-Experiment/Kassiopeia/issues/new) and [join discussions](https://github.com/KATRIN-Experiment/Kassiopeia/discussions) on Github.

### Regular Meeting

We also organize a regular meeting via Zoom.

Kassiopeia **users as well as developers** can join, ask questions, raise issues and discuss development topics.
It does not matter whether you are already an expert or a complete beginner. **Everyone is welcome!**

The meeting is announced via email.
Please register for the [mailing list](https://www.lists.kit.edu/sympa/subscribe/kassiopeia-user) if you are interested.

Primary email contacts:
* Kasper development list: katrin-kasper@lists.kit.edu
* Richard Salomon: richardsalomon@uni-muenster.de
* Benedikt Bieringer: benedikt.b@uni-muenster.de