Skip to content

Commit b648d04

Browse files
committed
Modernize Usage
- paramSets -> picInputs - links - names of examples cases (myLWFA)
1 parent 8e3a458 commit b648d04

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

USAGE.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ As in our :ref:`compiling from source <install-source>` section, we need a few d
2727
mkdir $HOME/build
2828
2929
# PIConGPU input files
30-
mkdir $HOME/paramSets
30+
mkdir $HOME/picInputs
3131
# PIConGPU simulation output
3232
mkdir $SCRATCH/runs
3333
@@ -43,14 +43,14 @@ TL;DR
4343
.. code-block:: bash
4444
:emphasize-lines: 1,4,5,8
4545
46-
pic-create ~/paramSets/originalSet ~/paramSets/myLWFA
46+
pic-create ~/picInputs/originalSet ~/picInputs/myLWFA
4747
4848
cd ~/build
49-
pic-configure $HOME/paramSets/myLWFA
49+
pic-configure $HOME/picInputs/myLWFA
5050
make -j install
5151
52-
cd ~/paramSets/myLWFA
53-
tbg -s qsub -c submit/0016gpus.cfg -t submit/hypnos-hzdr/k20_profile.tpl $SCRATCH/runs/lwfa_001
52+
cd ~/picInputs/myLWFA
53+
tbg -s qsub -c etc/picongpu/0016gpus.cfg -t etc/picongpu/hypnos-hzdr/k20_profile.tpl $SCRATCH/runs/lwfa_001
5454
5555
5656
1. Create an Input (Parameter) Set
@@ -59,12 +59,12 @@ TL;DR
5959
.. code-block:: bash
6060
:emphasize-lines: 2
6161
62-
# clone the LWFA example to $HOME/paramSets/myLWFA
63-
pic-create $PICSRC/examples/LaserWakefield/ $HOME/paramSets/myLWFA
62+
# clone the LWFA example to $HOME/picInputs/myLWFA
63+
pic-create $PICSRC/examples/LaserWakefield/ $HOME/picInputs/myLWFA
6464
65-
Now edit ``$HOME/paramSets/case001/include/simulation_defines/param/*`` to change the :ref:`physical configuration of this parameter set <usage-params>`.
65+
Now edit ``$HOME/picInputs/myLWFA/include/picongpu/simulation_defines/param/*`` to change the :ref:`physical configuration of this parameter set <usage-params>`.
6666

67-
Now edit ``$HOME/paramSets/case001/submit/*.cfg`` to adjust :ref:`runtime parameters (simulation size, number of GPUs, plugins, ...) <usage-cfg>`.
67+
Now edit ``$HOME/picInputs/myLWFA/etc/picongpu/*.cfg`` to adjust :ref:`runtime parameters (simulation size, number of GPUs, plugins, ...) <usage-cfg>`.
6868

6969
Hint: you can further create parameter sets from parameter sets.
7070

@@ -83,7 +83,7 @@ Our script ``pic-configure`` is a wrapper for CMake to quickly specify which par
8383
rm -rf ../build/*
8484
8585
# configure case001
86-
pic-configure $HOME/paramSets/myLWFA
86+
pic-configure $HOME/picInputs/myLWFA
8787
8888
# compile PIConGPU with the current parameter set (myLWFA)
8989
# - "make -j install" runs implicitly "make -j" and then "make install"
@@ -100,13 +100,13 @@ If you adjust ``.param`` input files just now, you can just go back to ``$HOME/b
100100
:emphasize-lines: 5
101101
102102
# go to param set with up-to-date PIConGPU binaries
103-
cd $HOME/paramSets/myLWFA
103+
cd $HOME/picInputs/myLWFA
104104
105105
# example run for the HPC System "hypnos" using a PBS batch system
106-
tbg -s qsub -c submit/0016gpus.cfg -t submit/hypnos-hzdr/k20_profile.tpl $SCRATCH/runs/lwfa_001
106+
tbg -s qsub -c etc/picongpu/0016gpus.cfg -t etc/picongpu/hypnos-hzdr/k20_profile.tpl $SCRATCH/runs/lwfa_001
107107
108108
This will create the directory ``$SCRATCH/runs/lwfa_001`` were all simulation output will be written to.
109-
``tbg`` will further create a subfolder ``picongpu/`` in the directory of the run with the same structure as ``myLWFA`` to archive your input files.
109+
``tbg`` will further create a subfolder ``input/`` in the directory of the run with the same structure as ``myLWFA`` to archive your input files.
110110

111111
Further Reading
112112
---------------
@@ -126,6 +126,6 @@ This will influence your build done via ``make``.
126126

127127
You can pass further options to configure PIConGPU directly instead of using ``ccmake .``, by passing ``-c "-DOPTION1=VALUE1 -DOPTION2=VALUE2"``.
128128

129-
The ``picongpu/`` directory of a run can also be reused to clone parameters via ``pic-create`` by using this run as origin directory or to create a new binary with ``configure``: e.g. ``pic-configure -i $HOME/paramSets/myLWFA2 $SCRATCH/runs/lwfa_001``.
129+
The ``input/`` directory of a run can also be reused to clone parameters via ``pic-create`` by using this run as origin directory or to create a new binary with ``configure``: e.g. ``pic-configure -i $HOME/picInputs/myLWFA2 $SCRATCH/runs/lwfa_001``.
130130

131131
See ``tbg --help`` :ref:`for more information <usage-tbg>` about the ``tbg`` tool.

docs/source/examples

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../examples/
1+
../../share/picongpu/examples/

docs/source/usage/param.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
.. sectionauthor:: Axel Huebl
77

8-
Parameter files, ``*.param`` placed in ``include/simulation_defines/param/`` are used to set all **compile-time options** for a PIConGPU simulation.
8+
Parameter files, ``*.param`` placed in ``include/picongpu/simulation_defines/param/`` are used to set all **compile-time options** for a PIConGPU simulation.
99
This includes most fundamental options such as numerical solvers, floating precision, memory usage due to attributes and super-cell based algorithms, density profiles, initial conditions etc.
1010

1111
Rationale

0 commit comments

Comments
 (0)