scisoftdev-tmp-HiPOP 1.0.9__tar.gz → 1.0.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/.github/workflows/ci.yaml +1 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/.github/workflows/deploy.yaml +0 -2
- scisoftdev_tmp_hipop-1.0.11/PKG-INFO +145 -0
- scisoftdev_tmp_hipop-1.0.11/README.md +117 -0
- scisoftdev_tmp_hipop-1.0.11/VERSION.txt +1 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/pyproject.toml +9 -1
- scisoftdev_tmp_hipop-1.0.9/PKG-INFO +0 -81
- scisoftdev_tmp_hipop-1.0.9/README.md +0 -53
- scisoftdev_tmp_hipop-1.0.9/VERSION.txt +0 -1
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/.gitignore +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/CMakeLists.txt +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/LICENSE +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/conda/env.yaml +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/CMakeLists.txt +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/cmake/HipopConfig.cmake.in +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/examples/CMakeLists.txt +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/examples/ParallelKShortestPath.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/include/hipop/create.h +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/include/hipop/graph.h +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/include/hipop/shortest_path.h +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/src/create.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/src/graph.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/src/shortest_path.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/CMakeLists.txt +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/helpers.h +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testCopyGraph.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testDijkstra1.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testDijkstra2.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testGraph.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testGraphMerge.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testKShortestPath.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testManhattan.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testYenKShortestPath.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testparallelKShortestPath.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/pytest.toml +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/CMakeLists.txt +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/examples/UpdateCosts.py +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/examples/ksp.py +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/examples/merge.py +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/examples/test.py +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/hipop/__init__.py.template +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/hipop/cpp/graph.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/hipop/cpp/main.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/hipop/cpp/shortest_path.cpp +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/hipop/graph.py +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/hipop/render.py +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/hipop/shortest_path.py +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/tests/test_Graph.py +0 -0
- {scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/tests/test_VersionConsistency.py +0 -0
|
@@ -4,7 +4,6 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
tags:
|
|
6
6
|
- 'v*.*.*' # Trigger on version tags like v1.2.3
|
|
7
|
-
# TODO define the trigger with EMobLab once the workflow is stable
|
|
8
7
|
|
|
9
8
|
jobs:
|
|
10
9
|
|
|
@@ -88,7 +87,6 @@ jobs:
|
|
|
88
87
|
- check-version
|
|
89
88
|
- build-wheels
|
|
90
89
|
- build-sdist
|
|
91
|
-
# TODO keep? if: github.event_name == 'release'
|
|
92
90
|
|
|
93
91
|
environment:
|
|
94
92
|
name: pypi-env
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: scisoftdev-tmp-HiPOP
|
|
3
|
+
Version: 1.0.11
|
|
4
|
+
Summary: High Performance Optimal Path module
|
|
5
|
+
Keywords: graph,graph-theory,shortest-path,dijkstra
|
|
6
|
+
License-Expression: LGPL-3.0-only
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Intended Audience :: Science/Research
|
|
11
|
+
Classifier: Operating System :: MacOS
|
|
12
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
13
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
14
|
+
Classifier: Programming Language :: C++
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering
|
|
23
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
|
+
Project-URL: Repository, https://github.com/EMob-Lab/HiPOP
|
|
25
|
+
Project-URL: Issues, https://github.com/EMob-Lab/HiPOP/issues
|
|
26
|
+
Requires-Python: >=3.10
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
# HiPOP
|
|
30
|
+
|
|
31
|
+
High Performance Optimal Path module
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## Description
|
|
35
|
+
|
|
36
|
+
HiPOP is the C++ graph library used by [MnMS](https://github.com/EMob-Lab/MnMS.git).
|
|
37
|
+
It is composed of:
|
|
38
|
+
- a C++ core library implementing a graph data-structure and several shortest path search algorithms,
|
|
39
|
+
- a Python wrapper exposing the C++ classes and functions to the Python world.
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## Install HiPOP
|
|
43
|
+
|
|
44
|
+
### Install prebuilt distribution
|
|
45
|
+
|
|
46
|
+
This is the recommended (and most simple!) method to install HiPOP:
|
|
47
|
+
a prebuilt distribution adapted to your Python version and OS / system architecture
|
|
48
|
+
is downloaded from [PyPI](https://pypi.org/project/scisoftdev-tmp-HiPOP).
|
|
49
|
+
|
|
50
|
+
```shell
|
|
51
|
+
pip install scisoftdev-tmp-HiPOP # TODO change package name (and links in the whole page)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
This installation method requires your OS / system architecture to be one of these:
|
|
55
|
+
- Windows on x86_64 architecture (i.e. Intel/AMD CPU)
|
|
56
|
+
- Linux on x86_64 architecture (i.e. Intel/AMD CPU)
|
|
57
|
+
- MacOS (≥ 14 Sonoma) on ARM64 architecture (i.e. Apple M* CPU)
|
|
58
|
+
|
|
59
|
+
The exact list of prebuilt distributions is available on
|
|
60
|
+
https://pypi.org/project/scisoftdev-tmp-HiPOP/#files.
|
|
61
|
+
If none of them matches your environment, please contact the package maintainers,
|
|
62
|
+
or try the local build installation method.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Install from local build
|
|
66
|
+
|
|
67
|
+
This method requires the following components to be available on your system:
|
|
68
|
+
|
|
69
|
+
- C++ compiler that supports C++17 and [OpenMP](https://www.openmp.org/)
|
|
70
|
+
- [CMake](https://cmake.org/)
|
|
71
|
+
|
|
72
|
+
Then, here is the local build install procedure:
|
|
73
|
+
|
|
74
|
+
1. Download the latest HiPOP sources from https://github.com/EMob-Lab/HiPOP/archive/refs/heads/main.zip
|
|
75
|
+
or by cloning the git repository:
|
|
76
|
+
```shell
|
|
77
|
+
git clone https://github.com/EMob-Lab/HiPOP.git
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
2. From the root directory of the HiPOP sources:
|
|
81
|
+
```shell
|
|
82
|
+
pip install .
|
|
83
|
+
|
|
84
|
+
# Optionally, to run the tests:
|
|
85
|
+
pip install --group dev
|
|
86
|
+
pytest
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Remarks:
|
|
90
|
+
|
|
91
|
+
- The `--group <group-name>` option requires pip ≥ 25.1. If you have an older version,
|
|
92
|
+
the install command above will fail with an error message such as `no such option: --group`.
|
|
93
|
+
In this case, try to upgrade pip beforehand with:
|
|
94
|
+
```shell
|
|
95
|
+
pip install --upgrade pip
|
|
96
|
+
```
|
|
97
|
+
Alternatively, install the test runner `pytest` manually (or skip the optional test running step).
|
|
98
|
+
|
|
99
|
+
- Editable install mode can be used. The install command then becomes:
|
|
100
|
+
```shell
|
|
101
|
+
pip install --group dev --editable .
|
|
102
|
+
```
|
|
103
|
+
Please note that using the `--group dev` option (or equivalent, to install the dev dependencies)
|
|
104
|
+
is mandatory for HiPOP editable installs.
|
|
105
|
+
|
|
106
|
+
- If you don't have the prerequisite C++/OpenMP/CMake components available on your system,
|
|
107
|
+
but you have [Conda](https://docs.conda.io/) available, a Conda environment with these components
|
|
108
|
+
is provided with the HiPOP sources. Install and activate it with:
|
|
109
|
+
```shell
|
|
110
|
+
conda create -f conda/env.yaml
|
|
111
|
+
conda activate hipop-dev
|
|
112
|
+
```
|
|
113
|
+
Please note that the use of this Conda environment is optional. HiPOP can be used with regular
|
|
114
|
+
(non-Conda) set-ups.
|
|
115
|
+
|
|
116
|
+
- If you are using MacOS and the Apple Clang C++ compiler, please note that OpenMP
|
|
117
|
+
may not be available by default. You may install it with:
|
|
118
|
+
```shell
|
|
119
|
+
brew install libomp
|
|
120
|
+
OpenMP_ROOT=$(brew --prefix libomp)
|
|
121
|
+
```
|
|
122
|
+
Alternatively, you may also use the Conda environment provided with the HiPOP sources
|
|
123
|
+
(cf. previous remark).
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
### Install the C++ core library only (from local build)
|
|
127
|
+
|
|
128
|
+
This installation procedure allows you to build locally and install only the HiPOP C++ core library.
|
|
129
|
+
The Python wrapper is neither built nor installed here.
|
|
130
|
+
This procedure is intended for advanced users.
|
|
131
|
+
|
|
132
|
+
For this procedure, same requirements as mentioned in the previous section
|
|
133
|
+
in terms of C++/OpenMP/CMake components.
|
|
134
|
+
However, you don't need to have Python installed on your system.
|
|
135
|
+
|
|
136
|
+
Then, from the root directory of the HiPOP sources:
|
|
137
|
+
```shell
|
|
138
|
+
mkdir build
|
|
139
|
+
cd build
|
|
140
|
+
cmake .. -DCMAKE_INSTALL_PREFIX=<install-directory>
|
|
141
|
+
make
|
|
142
|
+
make test # Optionally, to run the tests
|
|
143
|
+
make install
|
|
144
|
+
```
|
|
145
|
+
... where `<install-directory>` is the path to the location where you want to install HiPOP.
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# HiPOP
|
|
2
|
+
|
|
3
|
+
High Performance Optimal Path module
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Description
|
|
7
|
+
|
|
8
|
+
HiPOP is the C++ graph library used by [MnMS](https://github.com/EMob-Lab/MnMS.git).
|
|
9
|
+
It is composed of:
|
|
10
|
+
- a C++ core library implementing a graph data-structure and several shortest path search algorithms,
|
|
11
|
+
- a Python wrapper exposing the C++ classes and functions to the Python world.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## Install HiPOP
|
|
15
|
+
|
|
16
|
+
### Install prebuilt distribution
|
|
17
|
+
|
|
18
|
+
This is the recommended (and most simple!) method to install HiPOP:
|
|
19
|
+
a prebuilt distribution adapted to your Python version and OS / system architecture
|
|
20
|
+
is downloaded from [PyPI](https://pypi.org/project/scisoftdev-tmp-HiPOP).
|
|
21
|
+
|
|
22
|
+
```shell
|
|
23
|
+
pip install scisoftdev-tmp-HiPOP # TODO change package name (and links in the whole page)
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
This installation method requires your OS / system architecture to be one of these:
|
|
27
|
+
- Windows on x86_64 architecture (i.e. Intel/AMD CPU)
|
|
28
|
+
- Linux on x86_64 architecture (i.e. Intel/AMD CPU)
|
|
29
|
+
- MacOS (≥ 14 Sonoma) on ARM64 architecture (i.e. Apple M* CPU)
|
|
30
|
+
|
|
31
|
+
The exact list of prebuilt distributions is available on
|
|
32
|
+
https://pypi.org/project/scisoftdev-tmp-HiPOP/#files.
|
|
33
|
+
If none of them matches your environment, please contact the package maintainers,
|
|
34
|
+
or try the local build installation method.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Install from local build
|
|
38
|
+
|
|
39
|
+
This method requires the following components to be available on your system:
|
|
40
|
+
|
|
41
|
+
- C++ compiler that supports C++17 and [OpenMP](https://www.openmp.org/)
|
|
42
|
+
- [CMake](https://cmake.org/)
|
|
43
|
+
|
|
44
|
+
Then, here is the local build install procedure:
|
|
45
|
+
|
|
46
|
+
1. Download the latest HiPOP sources from https://github.com/EMob-Lab/HiPOP/archive/refs/heads/main.zip
|
|
47
|
+
or by cloning the git repository:
|
|
48
|
+
```shell
|
|
49
|
+
git clone https://github.com/EMob-Lab/HiPOP.git
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
2. From the root directory of the HiPOP sources:
|
|
53
|
+
```shell
|
|
54
|
+
pip install .
|
|
55
|
+
|
|
56
|
+
# Optionally, to run the tests:
|
|
57
|
+
pip install --group dev
|
|
58
|
+
pytest
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Remarks:
|
|
62
|
+
|
|
63
|
+
- The `--group <group-name>` option requires pip ≥ 25.1. If you have an older version,
|
|
64
|
+
the install command above will fail with an error message such as `no such option: --group`.
|
|
65
|
+
In this case, try to upgrade pip beforehand with:
|
|
66
|
+
```shell
|
|
67
|
+
pip install --upgrade pip
|
|
68
|
+
```
|
|
69
|
+
Alternatively, install the test runner `pytest` manually (or skip the optional test running step).
|
|
70
|
+
|
|
71
|
+
- Editable install mode can be used. The install command then becomes:
|
|
72
|
+
```shell
|
|
73
|
+
pip install --group dev --editable .
|
|
74
|
+
```
|
|
75
|
+
Please note that using the `--group dev` option (or equivalent, to install the dev dependencies)
|
|
76
|
+
is mandatory for HiPOP editable installs.
|
|
77
|
+
|
|
78
|
+
- If you don't have the prerequisite C++/OpenMP/CMake components available on your system,
|
|
79
|
+
but you have [Conda](https://docs.conda.io/) available, a Conda environment with these components
|
|
80
|
+
is provided with the HiPOP sources. Install and activate it with:
|
|
81
|
+
```shell
|
|
82
|
+
conda create -f conda/env.yaml
|
|
83
|
+
conda activate hipop-dev
|
|
84
|
+
```
|
|
85
|
+
Please note that the use of this Conda environment is optional. HiPOP can be used with regular
|
|
86
|
+
(non-Conda) set-ups.
|
|
87
|
+
|
|
88
|
+
- If you are using MacOS and the Apple Clang C++ compiler, please note that OpenMP
|
|
89
|
+
may not be available by default. You may install it with:
|
|
90
|
+
```shell
|
|
91
|
+
brew install libomp
|
|
92
|
+
OpenMP_ROOT=$(brew --prefix libomp)
|
|
93
|
+
```
|
|
94
|
+
Alternatively, you may also use the Conda environment provided with the HiPOP sources
|
|
95
|
+
(cf. previous remark).
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Install the C++ core library only (from local build)
|
|
99
|
+
|
|
100
|
+
This installation procedure allows you to build locally and install only the HiPOP C++ core library.
|
|
101
|
+
The Python wrapper is neither built nor installed here.
|
|
102
|
+
This procedure is intended for advanced users.
|
|
103
|
+
|
|
104
|
+
For this procedure, same requirements as mentioned in the previous section
|
|
105
|
+
in terms of C++/OpenMP/CMake components.
|
|
106
|
+
However, you don't need to have Python installed on your system.
|
|
107
|
+
|
|
108
|
+
Then, from the root directory of the HiPOP sources:
|
|
109
|
+
```shell
|
|
110
|
+
mkdir build
|
|
111
|
+
cd build
|
|
112
|
+
cmake .. -DCMAKE_INSTALL_PREFIX=<install-directory>
|
|
113
|
+
make
|
|
114
|
+
make test # Optionally, to run the tests
|
|
115
|
+
make install
|
|
116
|
+
```
|
|
117
|
+
... where `<install-directory>` is the path to the location where you want to install HiPOP.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.11
|
|
@@ -54,6 +54,10 @@ distrib = [ # Dependencies needed to build distribution files (wheels & source d
|
|
|
54
54
|
"cibuildwheel >= 4.2",
|
|
55
55
|
]
|
|
56
56
|
|
|
57
|
+
|
|
58
|
+
# ------------------------------------------------------------------------------
|
|
59
|
+
# Configuration of the build
|
|
60
|
+
|
|
57
61
|
[build-system]
|
|
58
62
|
requires = [ # Must be kept identical to "dependency-groups".build
|
|
59
63
|
"dynamic-metadata >= 0.5",
|
|
@@ -86,8 +90,12 @@ HIPOP_WITH_EXAMPLES = "OFF"
|
|
|
86
90
|
path = "hipop/__init__.py"
|
|
87
91
|
template-path = "python/hipop/__init__.py.template"
|
|
88
92
|
|
|
93
|
+
|
|
94
|
+
# ------------------------------------------------------------------------------
|
|
95
|
+
# Configuration of distribution file generation wheels & source distributions)
|
|
96
|
+
|
|
89
97
|
[tool.cibuildwheel]
|
|
90
|
-
build = [
|
|
98
|
+
build = [
|
|
91
99
|
"*-manylinux_x86_64",
|
|
92
100
|
"*-win_amd64",
|
|
93
101
|
"*-macosx_arm64",
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: scisoftdev-tmp-HiPOP
|
|
3
|
-
Version: 1.0.9
|
|
4
|
-
Summary: High Performance Optimal Path module
|
|
5
|
-
Keywords: graph,graph-theory,shortest-path,dijkstra
|
|
6
|
-
License-Expression: LGPL-3.0-only
|
|
7
|
-
License-File: LICENSE
|
|
8
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
9
|
-
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: Intended Audience :: Science/Research
|
|
11
|
-
Classifier: Operating System :: MacOS
|
|
12
|
-
Classifier: Operating System :: Microsoft :: Windows
|
|
13
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
14
|
-
Classifier: Programming Language :: C++
|
|
15
|
-
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
22
|
-
Classifier: Topic :: Scientific/Engineering
|
|
23
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
|
-
Project-URL: Repository, https://github.com/EMob-Lab/HiPOP
|
|
25
|
-
Project-URL: Issues, https://github.com/EMob-Lab/HiPOP/issues
|
|
26
|
-
Requires-Python: >=3.10
|
|
27
|
-
Description-Content-Type: text/markdown
|
|
28
|
-
|
|
29
|
-
# HiPOP
|
|
30
|
-
High Performance Optimal Path module
|
|
31
|
-
|
|
32
|
-
## Install Hipop
|
|
33
|
-
|
|
34
|
-
HiPOP is the C++ graph library used by [MnMS](https://github.com/EMob-Lab/MnMS.git).
|
|
35
|
-
You must have `CMake` and `make` installed on your computer.
|
|
36
|
-
|
|
37
|
-
## WARNING
|
|
38
|
-
If you are using MacOS ARM64, install the openmp library using Homebrew:
|
|
39
|
-
```shell
|
|
40
|
-
brew install libomp
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### C++ only
|
|
44
|
-
|
|
45
|
-
Inside your conda environment go to the cpp folder, and install the code using cmake:
|
|
46
|
-
|
|
47
|
-
```shell
|
|
48
|
-
cd cpp
|
|
49
|
-
mkdir build
|
|
50
|
-
cd build
|
|
51
|
-
cmake .. -DCMAKE_PREFIX_PATH=<PREFIX>\
|
|
52
|
-
-DCMAKE_INSTALL_PREFIX=<PREFIX>\
|
|
53
|
-
-DCMAKE_BUILD_TYPE=Release\
|
|
54
|
-
-DBUILD_TESTS=ON
|
|
55
|
-
cmake --build . --target install --config Release
|
|
56
|
-
```
|
|
57
|
-
Where `<PREFIX>` is the path to your prefix.
|
|
58
|
-
|
|
59
|
-
If you used conda to install the dependencies, replace it by `$CONDA_PREFIX`.
|
|
60
|
-
|
|
61
|
-
If you used venv to install the dependencies, replace it by the path to your venv.
|
|
62
|
-
|
|
63
|
-
You can then lauch the tests in the `build` directory:
|
|
64
|
-
|
|
65
|
-
```shell
|
|
66
|
-
ctest --output-on-failure
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
### Python
|
|
71
|
-
|
|
72
|
-
To install C++ code use the script `install_cpp.py`:
|
|
73
|
-
|
|
74
|
-
```shell
|
|
75
|
-
python python/install_cpp.py
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Then install the python lib:
|
|
79
|
-
```shell
|
|
80
|
-
python -m pip install python/
|
|
81
|
-
```
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# HiPOP
|
|
2
|
-
High Performance Optimal Path module
|
|
3
|
-
|
|
4
|
-
## Install Hipop
|
|
5
|
-
|
|
6
|
-
HiPOP is the C++ graph library used by [MnMS](https://github.com/EMob-Lab/MnMS.git).
|
|
7
|
-
You must have `CMake` and `make` installed on your computer.
|
|
8
|
-
|
|
9
|
-
## WARNING
|
|
10
|
-
If you are using MacOS ARM64, install the openmp library using Homebrew:
|
|
11
|
-
```shell
|
|
12
|
-
brew install libomp
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### C++ only
|
|
16
|
-
|
|
17
|
-
Inside your conda environment go to the cpp folder, and install the code using cmake:
|
|
18
|
-
|
|
19
|
-
```shell
|
|
20
|
-
cd cpp
|
|
21
|
-
mkdir build
|
|
22
|
-
cd build
|
|
23
|
-
cmake .. -DCMAKE_PREFIX_PATH=<PREFIX>\
|
|
24
|
-
-DCMAKE_INSTALL_PREFIX=<PREFIX>\
|
|
25
|
-
-DCMAKE_BUILD_TYPE=Release\
|
|
26
|
-
-DBUILD_TESTS=ON
|
|
27
|
-
cmake --build . --target install --config Release
|
|
28
|
-
```
|
|
29
|
-
Where `<PREFIX>` is the path to your prefix.
|
|
30
|
-
|
|
31
|
-
If you used conda to install the dependencies, replace it by `$CONDA_PREFIX`.
|
|
32
|
-
|
|
33
|
-
If you used venv to install the dependencies, replace it by the path to your venv.
|
|
34
|
-
|
|
35
|
-
You can then lauch the tests in the `build` directory:
|
|
36
|
-
|
|
37
|
-
```shell
|
|
38
|
-
ctest --output-on-failure
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
### Python
|
|
43
|
-
|
|
44
|
-
To install C++ code use the script `install_cpp.py`:
|
|
45
|
-
|
|
46
|
-
```shell
|
|
47
|
-
python python/install_cpp.py
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Then install the python lib:
|
|
51
|
-
```shell
|
|
52
|
-
python -m pip install python/
|
|
53
|
-
```
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.9
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/examples/ParallelKShortestPath.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/include/hipop/shortest_path.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testYenKShortestPath.cpp
RENAMED
|
File without changes
|
{scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/cpp/tests/testparallelKShortestPath.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/hipop/__init__.py.template
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/hipop/cpp/shortest_path.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scisoftdev_tmp_hipop-1.0.9 → scisoftdev_tmp_hipop-1.0.11}/python/tests/test_VersionConsistency.py
RENAMED
|
File without changes
|