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
Fix Sphinx documentation errors and warnings (#265)
* Fix all sphinx warnings and errors. Removed repeat declarations of functions.
* Committing clang-format changes
* remove def of EXTENSION_MAPPING
* gitignore for docs and fix c structs
* Committing clang-format changes
---------
Co-authored-by: github-actions <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jean Luca Bez <jlbez@lbl.gov>
Copy file name to clipboardExpand all lines: docs/source/developer-notes.rst
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ The following macros are defined in the header file `src/commons/logging/include
11
11
The available macros, which follow a similar usage to `printf`, are:
12
12
13
13
.. code-block:: C
14
+
14
15
LOG_ERROR
15
16
LOG_WARNING
16
17
LOG_INFO
@@ -20,6 +21,7 @@ The available macros, which follow a similar usage to `printf`, are:
20
21
Each of these macros automatically prepends a timestamp and log level prefix to the output:
21
22
22
23
.. code-block:: C
24
+
23
25
[year-month-day hour:minute:second] [ERROR]
24
26
[year-month-day hour:minute:second] [WARNING]
25
27
[year-month-day hour:minute:second] [INFO]
@@ -429,6 +431,7 @@ How to set up code formatter for PDC on Mac?
429
431
3. Then follow instruction here to install clang-format: https://clang.llvm.org/get_started.html. I would suggest you do the following (suppose if you already have homebrew installed)
430
432
431
433
.. code-block:: Bash
434
+
432
435
cd$LLVM_SRC_ROOT
433
436
mkdir build
434
437
cd build
@@ -441,6 +444,7 @@ How to set up code formatter for PDC on Mac?
441
444
4. To format all your source code, do the following
@@ -483,6 +487,7 @@ When calling your bridging functions, the best example you can follow is `src/te
483
487
Remember, you must include all your bridging function calls inside the following code blocks, so that the process can have its own Julia runtime loaded.
@@ -505,6 +510,7 @@ We provide docker support for PDC on such purpose.
505
510
To build the docker image, you can run the following command in the root directory of PDC project:
506
511
507
512
.. code-block:: Bash
513
+
508
514
.docker/run_dev_base.sh
509
515
510
516
This will mount your PDC project directory to `/workspaces/pdc` directory in the docker container and an initial step will be performed once you attach to the container.
@@ -533,13 +539,15 @@ We currently only support to architectures, amd64 and arm64v8.
533
539
To build the architecture-specific docker image on the machine with specific CPU architecture, you can run the following command in the root directory of PDC project:
If you run the above command on an ARM64v8 CPU (say, Apple Silicon Mac), it will generate an image named '<docker_registry_namespace>/pdc_dev_base:<version>-arm64v8'.
539
546
If you run the above command on any Intel X64/AMD x64 CPU (say, Microsoft surface or Apple Intel Mac, or an Intel CPU VM from AWS/Azure/GCP/OCI), it will generate an image named '<docker_registry_namespace>/pdc_dev_base:<version>-amd64'.
540
547
Once the above is done, you can pick the image build machine with fastest network and run the following
* The above command will start a server with 2 processes. Then it will start the application program with 4 processes. Finally, all servers are closed.
43
42
* On supercomputers, "mpiexec" can be replaced with "srun", "jsrun" or "aprun".
44
43
45
-
46
44
---------------------------
47
45
Simple I-O
48
46
---------------------------
@@ -58,7 +56,6 @@ Simple I-O
58
56
./run_test.sh ./obj_get_data
59
57
./mpi_test.sh ./obj_get_data mpiexec 2 4
60
58
61
-
62
59
---------------------------
63
60
I-O with region mapping
64
61
---------------------------
@@ -76,7 +73,6 @@ I-O with region mapping
76
73
./run_test.sh ./region_obj_map_3D
77
74
./mpi_test.sh ./region_obj_map_3D mpiexec 2 4
78
75
79
-
80
76
---------------------------
81
77
VPIC-IO and BD-CATS-IO
82
78
---------------------------
@@ -89,7 +85,6 @@ VPIC-IO and BD-CATS-IO
89
85
90
86
./run_multiple_test.sh ./vpicio ./bdcats
91
87
92
-
93
88
* VPIC-IO:
94
89
* vpicio.c
95
90
* VPIC I/O is an example for writing multiple objects using PDC, where each object is a variable of particles.
@@ -108,15 +103,13 @@ VPIC-IO and BD-CATS-IO
108
103
HACC-IO
109
104
---------------------------
110
105
111
-
112
106
* The purpose of this benchmark is to evaluate the performance of the I/O system for the Hardware Accelerated Cosmology Code (HACC) simulation. The HACC framework uses N-body techniques to simulate the formation of structure in collisionless fluids under the influence of gravity in an expanding universe.
113
107
* Each MPI rank writes 9 variables (with different data types) per particle for a total of 38 bytes.
0 commit comments