proteus-python 2026.7.0__py3-none-any.whl
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.
- proteus/__init__.py +83 -0
- proteus/_backend.py +181 -0
- proteus/_proteus.py +12 -0
- proteus_python-2026.7.0.dist-info/METADATA +287 -0
- proteus_python-2026.7.0.dist-info/RECORD +9 -0
- proteus_python-2026.7.0.dist-info/WHEEL +5 -0
- proteus_python-2026.7.0.dist-info/licenses/LICENSE +218 -0
- proteus_python-2026.7.0.dist-info/licenses/NOTICE +16 -0
- proteus_python-2026.7.0.dist-info/top_level.txt +1 -0
proteus/__init__.py
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from importlib import import_module
|
|
4
|
+
from importlib.metadata import PackageNotFoundError, version as _dist_version
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
from subprocess import DEVNULL, CalledProcessError, check_output
|
|
7
|
+
|
|
8
|
+
from ._backend import available_backend_variants, available_backends
|
|
9
|
+
|
|
10
|
+
_METADATA_EXPORTS = ["available_backends", "available_backend_variants"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _fallback_version():
|
|
14
|
+
repo_root = Path(__file__).resolve().parents[2]
|
|
15
|
+
try:
|
|
16
|
+
sha = check_output(
|
|
17
|
+
["git", "rev-parse", "--short", "HEAD"],
|
|
18
|
+
cwd=repo_root,
|
|
19
|
+
stderr=DEVNULL,
|
|
20
|
+
text=True,
|
|
21
|
+
).strip()
|
|
22
|
+
except (CalledProcessError, FileNotFoundError):
|
|
23
|
+
return "dev"
|
|
24
|
+
|
|
25
|
+
return f"g{sha}" if sha else "dev"
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def _backend_loader():
|
|
29
|
+
from . import _backend
|
|
30
|
+
|
|
31
|
+
return _backend
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def _native_module():
|
|
35
|
+
return import_module(f"{__name__}._proteus")
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _export_native_api() -> list[str]:
|
|
39
|
+
if not available_backends():
|
|
40
|
+
return []
|
|
41
|
+
|
|
42
|
+
native = _native_module()
|
|
43
|
+
globals()["__doc__"] = native.__doc__
|
|
44
|
+
globals()["__file__"] = getattr(native, "__file__", __file__)
|
|
45
|
+
|
|
46
|
+
exports: list[str] = []
|
|
47
|
+
for name in dir(native):
|
|
48
|
+
if name.startswith("__") and name not in {"__doc__", "__file__"}:
|
|
49
|
+
continue
|
|
50
|
+
globals()[name] = getattr(native, name)
|
|
51
|
+
exports.append(name)
|
|
52
|
+
return exports
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
try:
|
|
56
|
+
__version__ = _dist_version("proteus-python")
|
|
57
|
+
except PackageNotFoundError:
|
|
58
|
+
__version__ = _fallback_version()
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
_HAS_BACKENDS = bool(available_backends())
|
|
62
|
+
__all__ = sorted(
|
|
63
|
+
set(_METADATA_EXPORTS)
|
|
64
|
+
| set(_export_native_api())
|
|
65
|
+
| ({"active_backend", "active_backend_variant"} if _HAS_BACKENDS else set())
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def __getattr__(name: str):
|
|
70
|
+
if name == "active_backend":
|
|
71
|
+
return _backend_loader().active_backend()
|
|
72
|
+
if name == "active_backend_variant":
|
|
73
|
+
return _backend_loader().active_backend_variant()
|
|
74
|
+
return getattr(_native_module(), name)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def __dir__():
|
|
78
|
+
exported = set(globals()) | {"active_backend", "active_backend_variant"}
|
|
79
|
+
try:
|
|
80
|
+
exported.update(dir(_native_module()))
|
|
81
|
+
except ImportError:
|
|
82
|
+
pass
|
|
83
|
+
return sorted(exported)
|
proteus/_backend.py
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
from dataclasses import dataclass
|
|
5
|
+
from importlib import import_module
|
|
6
|
+
from importlib.metadata import entry_points
|
|
7
|
+
from types import ModuleType
|
|
8
|
+
from typing import Iterable
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
_BACKEND_ENTRYPOINT_GROUP = "proteus.backends"
|
|
12
|
+
_BACKEND_KIND_ENV = "PROTEUS_BACKEND_KIND"
|
|
13
|
+
_BACKEND_VARIANT_ENV = "PROTEUS_BACKEND_VARIANT"
|
|
14
|
+
_LOCKED_BACKEND: tuple[str, str] | None = None
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@dataclass(frozen=True)
|
|
18
|
+
class BackendPackageSpec:
|
|
19
|
+
kind: str
|
|
20
|
+
module_name: str
|
|
21
|
+
priority: int
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def _entry_points_for_group(group: str):
|
|
25
|
+
discovered = entry_points()
|
|
26
|
+
if hasattr(discovered, "select"):
|
|
27
|
+
return list(discovered.select(group=group))
|
|
28
|
+
return list(discovered.get(group, []))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def _normalize_backend_spec(raw_spec: object) -> BackendPackageSpec:
|
|
32
|
+
if not isinstance(raw_spec, dict):
|
|
33
|
+
raise ImportError(
|
|
34
|
+
"Proteus backend entry point must return a dict with backend metadata"
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
try:
|
|
38
|
+
kind = str(raw_spec["kind"])
|
|
39
|
+
module_name = str(raw_spec["module"])
|
|
40
|
+
priority = int(raw_spec["priority"])
|
|
41
|
+
except KeyError as exc:
|
|
42
|
+
raise ImportError(
|
|
43
|
+
f"Proteus backend metadata is missing required key {exc.args[0]!r}"
|
|
44
|
+
) from exc
|
|
45
|
+
|
|
46
|
+
return BackendPackageSpec(kind=kind, module_name=module_name, priority=priority)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def _discover_backend_specs() -> list[BackendPackageSpec]:
|
|
50
|
+
specs = []
|
|
51
|
+
for ep in _entry_points_for_group(_BACKEND_ENTRYPOINT_GROUP):
|
|
52
|
+
raw_spec = ep.load()()
|
|
53
|
+
specs.append(_normalize_backend_spec(raw_spec))
|
|
54
|
+
return specs
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def _sorted_specs(specs: Iterable[BackendPackageSpec]) -> list[BackendPackageSpec]:
|
|
58
|
+
return sorted(specs, key=lambda spec: (spec.priority, spec.kind), reverse=True)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def _backend_module(spec: BackendPackageSpec) -> ModuleType:
|
|
62
|
+
return import_module(spec.module_name)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def available_backends() -> list[str]:
|
|
66
|
+
return [spec.kind for spec in _sorted_specs(_discover_backend_specs())]
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def available_backend_variants() -> list[str]:
|
|
70
|
+
variants: list[str] = []
|
|
71
|
+
for spec in _sorted_specs(_discover_backend_specs()):
|
|
72
|
+
module = _backend_module(spec)
|
|
73
|
+
variants.extend(str(item["id"]) for item in module.available_variant_specs())
|
|
74
|
+
return variants
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def _raise_no_backend() -> None:
|
|
78
|
+
raise ImportError(
|
|
79
|
+
"No Proteus backend is installed. Install one of "
|
|
80
|
+
"proteus-python-backend-host-llvm22, "
|
|
81
|
+
"proteus-python-backend-cuda12-llvm22, or "
|
|
82
|
+
"proteus-python-backend-rocm72 from "
|
|
83
|
+
"https://olympus-hpc.github.io/proteus/wheels/simple/."
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def _spec_by_kind(kind: str) -> BackendPackageSpec:
|
|
88
|
+
for spec in _sorted_specs(_discover_backend_specs()):
|
|
89
|
+
if spec.kind == kind:
|
|
90
|
+
return spec
|
|
91
|
+
raise ImportError(
|
|
92
|
+
f"Requested Proteus backend kind {kind!r} is not installed. "
|
|
93
|
+
f"Available backends: {available_backends() or 'none'}"
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
def _spec_for_variant(variant_id: str) -> BackendPackageSpec:
|
|
98
|
+
for spec in _sorted_specs(_discover_backend_specs()):
|
|
99
|
+
module = _backend_module(spec)
|
|
100
|
+
if any(str(item["id"]) == variant_id for item in module.available_variant_specs()):
|
|
101
|
+
return spec
|
|
102
|
+
raise ImportError(
|
|
103
|
+
f"Requested Proteus backend variant {variant_id!r} is not installed. "
|
|
104
|
+
f"Available variants: {available_backend_variants() or 'none'}"
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def _selected_backend_spec() -> BackendPackageSpec:
|
|
109
|
+
specs = _sorted_specs(_discover_backend_specs())
|
|
110
|
+
if not specs:
|
|
111
|
+
_raise_no_backend()
|
|
112
|
+
|
|
113
|
+
variant_override = os.environ.get(_BACKEND_VARIANT_ENV, "").strip()
|
|
114
|
+
if variant_override:
|
|
115
|
+
return _spec_for_variant(variant_override)
|
|
116
|
+
|
|
117
|
+
kind_override = os.environ.get(_BACKEND_KIND_ENV, "").strip()
|
|
118
|
+
if kind_override:
|
|
119
|
+
return _spec_by_kind(kind_override)
|
|
120
|
+
|
|
121
|
+
compatible: list[BackendPackageSpec] = []
|
|
122
|
+
host_spec: BackendPackageSpec | None = None
|
|
123
|
+
for spec in specs:
|
|
124
|
+
module = _backend_module(spec)
|
|
125
|
+
if spec.kind == "host":
|
|
126
|
+
host_spec = spec
|
|
127
|
+
if module.is_runtime_compatible():
|
|
128
|
+
compatible.append(spec)
|
|
129
|
+
|
|
130
|
+
if compatible:
|
|
131
|
+
return _sorted_specs(compatible)[0]
|
|
132
|
+
if host_spec is not None:
|
|
133
|
+
return host_spec
|
|
134
|
+
return specs[0]
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def _selected_variant_spec() -> dict[str, object]:
|
|
138
|
+
spec = _selected_backend_spec()
|
|
139
|
+
module = _backend_module(spec)
|
|
140
|
+
variant_spec = module.active_variant_spec()
|
|
141
|
+
if str(variant_spec["kind"]) != spec.kind:
|
|
142
|
+
raise ImportError(
|
|
143
|
+
f"Proteus backend {spec.kind!r} returned mismatched variant "
|
|
144
|
+
f"kind {variant_spec['kind']!r}"
|
|
145
|
+
)
|
|
146
|
+
return variant_spec
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
def _ensure_process_lock() -> dict[str, object]:
|
|
150
|
+
global _LOCKED_BACKEND
|
|
151
|
+
|
|
152
|
+
variant = _selected_variant_spec()
|
|
153
|
+
selection = (str(variant["kind"]), str(variant["id"]))
|
|
154
|
+
if _LOCKED_BACKEND is None:
|
|
155
|
+
_LOCKED_BACKEND = selection
|
|
156
|
+
return variant
|
|
157
|
+
if _LOCKED_BACKEND != selection:
|
|
158
|
+
raise RuntimeError(
|
|
159
|
+
"Proteus backend selection is locked for this process. "
|
|
160
|
+
f"Already loaded {_LOCKED_BACKEND[0]!r}/{_LOCKED_BACKEND[1]!r}, "
|
|
161
|
+
f"requested {selection[0]!r}/{selection[1]!r}."
|
|
162
|
+
)
|
|
163
|
+
return variant
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
def active_backend() -> str:
|
|
167
|
+
return str(_selected_variant_spec()["kind"])
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
def active_backend_variant() -> str:
|
|
171
|
+
return str(_selected_variant_spec()["id"])
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
def load_backend_module():
|
|
175
|
+
variant = _ensure_process_lock()
|
|
176
|
+
return _backend_module(_spec_by_kind(str(variant["kind"])))
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
def load_native_module():
|
|
180
|
+
module = load_backend_module()
|
|
181
|
+
return module.load_native_module()
|
proteus/_proteus.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from ._backend import load_native_module
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
_native = load_native_module()
|
|
5
|
+
|
|
6
|
+
__doc__ = _native.__doc__
|
|
7
|
+
__file__ = getattr(_native, "__file__", __file__)
|
|
8
|
+
|
|
9
|
+
for _name in dir(_native):
|
|
10
|
+
if _name.startswith("__") and _name not in {"__doc__", "__file__"}:
|
|
11
|
+
continue
|
|
12
|
+
globals()[_name] = getattr(_native, _name)
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: proteus-python
|
|
3
|
+
Version: 2026.7.0
|
|
4
|
+
Summary: Runtime specialization and JIT compilation built on LLVM
|
|
5
|
+
Author: Giorgis Georgakoudis
|
|
6
|
+
License: Apache-2.0 WITH LLVM-exception
|
|
7
|
+
Classifier: Development Status :: 3 - Alpha
|
|
8
|
+
Classifier: Intended Audience :: Developers
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Classifier: Programming Language :: C++
|
|
17
|
+
Classifier: Topic :: Software Development :: Compilers
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
License-File: NOTICE
|
|
22
|
+
Dynamic: author
|
|
23
|
+
Dynamic: classifier
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: description-content-type
|
|
26
|
+
Dynamic: license
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
Dynamic: requires-python
|
|
29
|
+
Dynamic: summary
|
|
30
|
+
|
|
31
|
+
[](https://github.com/Olympus-HPC/proteus/actions/workflows/gh-pages-docs.yml)
|
|
32
|
+
[](https://github.com/Olympus-HPC/proteus/actions/workflows/ci-build-test.yml)
|
|
33
|
+
[](https://codecov.io/github/Olympus-HPC/proteus)
|
|
34
|
+
[](https://github.com/pre-commit/pre-commit)
|
|
35
|
+

|
|
36
|
+
|
|
37
|
+
# <img src="docs/assets/proteus-logo.png" width="128" align="middle" /> Proteus
|
|
38
|
+
|
|
39
|
+
Proteus is a programmable runtime specialization and Just-In-Time (JIT) layer
|
|
40
|
+
built on LLVM. It embeds into existing C++ codebases and accelerates host, CUDA,
|
|
41
|
+
and HIP applications by using runtime context to specialize code and enable
|
|
42
|
+
optimizations beyond static compilation.
|
|
43
|
+
|
|
44
|
+
## Description
|
|
45
|
+
Standard ahead-of-time (AOT) compilation can only optimize a program with the
|
|
46
|
+
information available at build time. Proteus goes further by embedding
|
|
47
|
+
optimizing JIT compilation directly into C/C++ applications.
|
|
48
|
+
|
|
49
|
+
Runtime context, such as the actual values of variables during execution, lets
|
|
50
|
+
it **specialize** code on the fly and apply advanced compiler optimizations that
|
|
51
|
+
accelerate performance beyond what static compilation allows.
|
|
52
|
+
|
|
53
|
+
Several frontends are available, depending on how you want to describe JIT code:
|
|
54
|
+
|
|
55
|
+
| Interface | Input style | Best for | Specialization model | Requires Clang AOT? |
|
|
56
|
+
| --- | --- | --- | --- | --- |
|
|
57
|
+
| **Code annotations** | Existing C/C++/CUDA/HIP code | Incremental adoption in existing applications | Values, arrays, objects, and launch configuration | Yes |
|
|
58
|
+
| **C++ frontend API** | C++ source strings | Runtime-generated C++ and templates | Values, arrays, objects, and launch configuration | No |
|
|
59
|
+
| **LLVM IR frontend API** | LLVM IR text or bitcode | Reusing externally generated LLVM IR with Proteus caching and dispatch | Encoded in the provided LLVM IR | No |
|
|
60
|
+
| **MLIR frontend API** | MLIR source strings | Direct access to MLIR lowering | Encoded in the provided MLIR source | No |
|
|
61
|
+
| **Embedded DSL API** | Programmatic builders | Runtime code generation with high-level constructs | Values, arrays, and launch configuration | No |
|
|
62
|
+
|
|
63
|
+
These frontends can target host, CUDA, and HIP execution paths, with backend
|
|
64
|
+
support depending on how Proteus was configured:
|
|
65
|
+
|
|
66
|
+
| Interface | Host | CUDA | HIP | Notes |
|
|
67
|
+
| --- | --- | --- | --- | --- |
|
|
68
|
+
| **Code annotations** | Yes | Yes | Yes | Requires compiling with Clang and uses the Proteus LLVM pass |
|
|
69
|
+
| **C++ frontend API** | Yes | Yes | Yes | Uses Clang by default; CUDA paths can use NVCC |
|
|
70
|
+
| **LLVM IR frontend API** | Yes | Yes | Yes | Accepts LLVM IR text or bitcode and compiles it directly through LLVM |
|
|
71
|
+
| **MLIR frontend API** | Yes | Yes | Yes | Requires `PROTEUS_ENABLE_MLIR=ON` |
|
|
72
|
+
| **Embedded DSL API** | Yes | Yes | Yes | Uses the LLVM backend by default; MLIR backend requires `PROTEUS_ENABLE_MLIR=ON` |
|
|
73
|
+
|
|
74
|
+
CUDA, HIP, and MLIR support are available when Proteus is built with the
|
|
75
|
+
corresponding configuration options enabled.
|
|
76
|
+
|
|
77
|
+
Proteus includes both in-memory and persistent caching, ensuring that once code
|
|
78
|
+
has been compiled and optimized, the cost of recompilation is avoided.
|
|
79
|
+
|
|
80
|
+
Proteus consists of an LLVM pass and a runtime library that implements JIT
|
|
81
|
+
compilation and optimization using LLVM as a library.
|
|
82
|
+
|
|
83
|
+
* The **code annotation** interface requires compiling your application with Clang so the Proteus LLVM pass can parse annotations.
|
|
84
|
+
* The **DSL**, **C++ frontend**, **LLVM IR frontend**, and **MLIR frontend** APIs don’t depend on which AOT compiler you use.
|
|
85
|
+
|
|
86
|
+
In all cases, you link your application against the Proteus runtime library.
|
|
87
|
+
Details are provided [later](#integrating-with-your-build-system).
|
|
88
|
+
|
|
89
|
+
## Installation
|
|
90
|
+
Python API users can install `proteus-python` from wheels. C++ users should
|
|
91
|
+
install Proteus from source or via [spack](https://github.com/spack/spack).
|
|
92
|
+
|
|
93
|
+
### Spack
|
|
94
|
+
We provide a packaging recipe for Spack in the subdirectory `packaging/spack`.
|
|
95
|
+
|
|
96
|
+
Assuming you have a Spack installation and preferably using an isolated Spack
|
|
97
|
+
environment, you can add the spack repo by cloning Proteus and then install it
|
|
98
|
+
by running:
|
|
99
|
+
```bash
|
|
100
|
+
git clone https://github.com/Olympus-HPC/proteus.git
|
|
101
|
+
spack repo add proteus/packaging/spack
|
|
102
|
+
spack install proteus
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
We provide several variants to match different configurations, including CUDA,
|
|
106
|
+
ROCm, and MPI support.
|
|
107
|
+
A complete list of variants and their descriptions is available in the Spack
|
|
108
|
+
package file, or viewable through:
|
|
109
|
+
```bash
|
|
110
|
+
spack info proteus
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Some typical examples:
|
|
114
|
+
```bash
|
|
115
|
+
# Install the latest version with CUDA support for sm_90 arch.
|
|
116
|
+
spack install proteus +cuda cuda_arch=90
|
|
117
|
+
|
|
118
|
+
# Install the latest version with ROCm support for gfx942 arch.
|
|
119
|
+
spack install proteus +rocm amdgpu_target=gfx942
|
|
120
|
+
|
|
121
|
+
# Install the latest version with MPI support.
|
|
122
|
+
spack install proteus +mpi
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Building from source
|
|
126
|
+
The project uses `cmake` and requires an LLVM installation.
|
|
127
|
+
CI tests currently cover LLVM 19, 20, 22 with CUDA versions 12.2, and AMD
|
|
128
|
+
ROCm versions 6.4.3 (based on LLVM 19), 7.1.1 (based on LLVM 20), 7.2.0 (based
|
|
129
|
+
on LLVM 22).
|
|
130
|
+
|
|
131
|
+
See the top-level `CMakeLists.txt` for the available build options.
|
|
132
|
+
A typical build looks like this:
|
|
133
|
+
```
|
|
134
|
+
mkdir -p build && cd build
|
|
135
|
+
cmake -DLLVM_INSTALL_DIR=<llvm_install_path> -DCMAKE_INSTALL_PREFIX=<install_path> ..
|
|
136
|
+
make install
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
The `scripts` directory contains setup scripts for building on different targets
|
|
140
|
+
(host-only, CUDA, ROCm) used on LLNL machines.
|
|
141
|
+
They also serve as good starting points to adapt for other environments.
|
|
142
|
+
Run them from the repository root:
|
|
143
|
+
```bash
|
|
144
|
+
source scripts/setup-<target>.sh
|
|
145
|
+
```
|
|
146
|
+
These scripts load environment modules (specific to LLNL systems) and create a
|
|
147
|
+
`build-<hostname>-<target>-<version>` directory with a
|
|
148
|
+
working configuration.
|
|
149
|
+
|
|
150
|
+
### Python wheels
|
|
151
|
+
Proteus now publishes a thin `proteus-python` shim package plus backend wheels.
|
|
152
|
+
The default install is shim-only from PyPI. Install an explicit backend from
|
|
153
|
+
the Olympus-HPC wheel index.
|
|
154
|
+
|
|
155
|
+
The shim package provides the Python import surface and backend discovery. The
|
|
156
|
+
native payload lives in backend-specific wheels published outside PyPI.
|
|
157
|
+
|
|
158
|
+
| Install | Backend | Target | Required compiler/toolchain |
|
|
159
|
+
| --- | --- | --- | --- |
|
|
160
|
+
| `pip install proteus-python` | shim only | Python API only | none |
|
|
161
|
+
| `pip install --index-url https://olympus-hpc.github.io/proteus/wheels/simple/ proteus-python-backend-host-llvm22` | `proteus-python-backend-host-llvm22` | Host CPU | LLVM/Clang 22.x |
|
|
162
|
+
| `pip install --index-url https://olympus-hpc.github.io/proteus/wheels/simple/ proteus-python-backend-cuda12-llvm22` | `proteus-python-backend-cuda12-llvm22` | Host CPU + NVIDIA CUDA GPU | CUDA 12.x plus LLVM/Clang 22.x |
|
|
163
|
+
| `pip install --index-url https://olympus-hpc.github.io/proteus/wheels/simple/ proteus-python-backend-rocm72` | `proteus-python-backend-rocm72` | Host CPU + AMD ROCm GPU | ROCm 7.2.x |
|
|
164
|
+
|
|
165
|
+
Typical stable installs:
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
python -m pip install proteus-python
|
|
169
|
+
python -m pip install --index-url https://olympus-hpc.github.io/proteus/wheels/simple/ \
|
|
170
|
+
proteus-python-backend-host-llvm22
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
python -m pip install proteus-python
|
|
175
|
+
python -m pip install --index-url https://olympus-hpc.github.io/proteus/wheels/simple/ \
|
|
176
|
+
proteus-python-backend-cuda12-llvm22
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
python -m pip install proteus-python
|
|
181
|
+
python -m pip install --index-url https://olympus-hpc.github.io/proteus/wheels/simple/ \
|
|
182
|
+
proteus-python-backend-rocm72
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
See [docs/dev/python-wheel.md](docs/dev/python-wheel.md) for packaging and
|
|
186
|
+
release details.
|
|
187
|
+
|
|
188
|
+
## Integrating with your build system
|
|
189
|
+
|
|
190
|
+
### CMake
|
|
191
|
+
To integrate Proteus with CMake, add the install prefix to `CMAKE_PREFIX_PATH`,
|
|
192
|
+
or pass it explicitly with
|
|
193
|
+
`-Dproteus_DIR=<install_path>/<libdir>/cmake/proteus` during configuration
|
|
194
|
+
where `<libdir>` is typically `lib` or `lib64`.
|
|
195
|
+
Then, in your project's `CMakeLists.txt` add:
|
|
196
|
+
```cmake
|
|
197
|
+
find_package(proteus CONFIG REQUIRED)
|
|
198
|
+
|
|
199
|
+
add_proteus(<target>)
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
If you only need the DSL, C++ frontend, LLVM IR frontend, or MLIR frontend APIs, you can link directly against
|
|
203
|
+
`proteusFrontend`.
|
|
204
|
+
In this case, you don’t need to compile your target with Clang:
|
|
205
|
+
|
|
206
|
+
```cmake
|
|
207
|
+
find_package(proteus CONFIG REQUIRED)
|
|
208
|
+
|
|
209
|
+
target_link_libraries(<target> ... proteusFrontend ...)
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Make
|
|
213
|
+
With `make`, annotation-based integration requires adding compilation and
|
|
214
|
+
linking flags, for example:
|
|
215
|
+
```bash
|
|
216
|
+
CXXFLAGS += -I<install_path>/include -fpass-plugin=<install_path>/<libdir>/libProteusPass.so
|
|
217
|
+
|
|
218
|
+
LDFLAGS += -L<install_path>/<libdir> -Wl,-rpath,<install_path>/<libdir> -lproteus $(llvm-config --libs) -lclang-cpp
|
|
219
|
+
```
|
|
220
|
+
If you don't use code annotations, you can omit the `-fpass-plugin` option,
|
|
221
|
+
since the LLVM pass is only needed for processing annotations.
|
|
222
|
+
|
|
223
|
+
## Using
|
|
224
|
+
|
|
225
|
+
Proteus's core optimization technique is **runtime constant folding**.
|
|
226
|
+
It replaces runtime values with constants during JIT compilation, which in turn
|
|
227
|
+
turbo-charges classical compiler optimizations such as loop unrolling,
|
|
228
|
+
control-flow simplification, and constant propagation.
|
|
229
|
+
Think of it as doing `constexpr`, but at runtime.
|
|
230
|
+
|
|
231
|
+
Values that can be folded include function or kernel arguments, kernel launch
|
|
232
|
+
dimensions, launch bounds, and other runtime variables.
|
|
233
|
+
|
|
234
|
+
Choose the interface that matches how your application wants to describe JIT
|
|
235
|
+
work:
|
|
236
|
+
|
|
237
|
+
| Interface | Detailed guide |
|
|
238
|
+
| --- | --- |
|
|
239
|
+
| Code annotations | [Code Annotations](https://olympus-hpc.github.io/proteus/user/annotations/) |
|
|
240
|
+
| C++ frontend API | [C++ Frontend API](https://olympus-hpc.github.io/proteus/user/cpp-frontend/) |
|
|
241
|
+
| LLVM IR frontend API | [LLVM IR Frontend API](https://olympus-hpc.github.io/proteus/user/llvmir-frontend/) |
|
|
242
|
+
| MLIR frontend API | [MLIR Frontend API](https://olympus-hpc.github.io/proteus/user/mlir-frontend/) |
|
|
243
|
+
| DSL API | [DSL API](https://olympus-hpc.github.io/proteus/user/dsl/) |
|
|
244
|
+
|
|
245
|
+
Proteus generates a unique specialization for each distinct set of runtime
|
|
246
|
+
values and caches them in memory and on disk, so JIT overhead is minimized
|
|
247
|
+
within and across runs.
|
|
248
|
+
|
|
249
|
+
## Documentation
|
|
250
|
+
|
|
251
|
+
The [Proteus documentation](https://olympus-hpc.github.io/proteus/) has more extensive information,
|
|
252
|
+
including a user's guide and developer manual.
|
|
253
|
+
|
|
254
|
+
## Contributing
|
|
255
|
+
|
|
256
|
+
We welcome contributions to Proteus in the form of pull requests targeting the
|
|
257
|
+
`main` branch of the repo, as well as questions, feature requests, or bug reports
|
|
258
|
+
via issues.
|
|
259
|
+
|
|
260
|
+
## Code of Conduct
|
|
261
|
+
|
|
262
|
+
Please note that Proteus has a [Code of Conduct](CODE_OF_CONDUCT.md).
|
|
263
|
+
By participating in the Proteus community, you agree to abide by its rules.
|
|
264
|
+
|
|
265
|
+
## Authors
|
|
266
|
+
Proteus was created by Giorgis Georgakoudis, georgakoudis1@llnl.gov.
|
|
267
|
+
|
|
268
|
+
Key contributors are:
|
|
269
|
+
- David Beckingsale, beckingsale1@llnl.gov
|
|
270
|
+
- Konstantinos Parasyris, parasyris1@llnl.gov
|
|
271
|
+
- John Bowen, bowen36@llnl.gov
|
|
272
|
+
- Zane Fink, fink12@llnl.gov
|
|
273
|
+
- Tal Ben Nun, bennun2@llnl.gov
|
|
274
|
+
- Thomas Stitt, stitt4@llnl.gov
|
|
275
|
+
|
|
276
|
+
## License
|
|
277
|
+
|
|
278
|
+
Proteus is distributed under the terms of the Apache License (Version 2.0) with
|
|
279
|
+
LLVM Exceptions.
|
|
280
|
+
|
|
281
|
+
All new contributions must be made under the Apache-2.0 with LLVM Exceptions license.
|
|
282
|
+
|
|
283
|
+
See [LICENSE](LICENSE), [COPYRIGHT](COPYRIGHT), and [NOTICE](NOTICE) for details.
|
|
284
|
+
|
|
285
|
+
SPDX-License-Identifier: (Apache-2.0 WITH LLVM-exception)
|
|
286
|
+
|
|
287
|
+
LLNL-CODE-2000857
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
proteus/__init__.py,sha256=Phc48rYH3tIfUKW4qE64gfGNAidBKynDprw4pfJxspc,2187
|
|
2
|
+
proteus/_backend.py,sha256=b640L3nzFcvw5756798layJXSkWhIvbHlWk90AsoMDY,5601
|
|
3
|
+
proteus/_proteus.py,sha256=lFuLCo17zpVXPllbbYNaKLzTW8Wtx-I0PJR7iLf8kE4,315
|
|
4
|
+
proteus_python-2026.7.0.dist-info/licenses/LICENSE,sha256=2fh62nRhcWQt4A1NtrQi4GbYtuCmkh5NAD97GTiWDBU,12263
|
|
5
|
+
proteus_python-2026.7.0.dist-info/licenses/NOTICE,sha256=HAOgNAbk_ChPgSRW74pIZrjVqU9XqFqL5ylakbdcGRg,1165
|
|
6
|
+
proteus_python-2026.7.0.dist-info/METADATA,sha256=3PMM59g6Hz-vGvrBSOS4VoWiEpE5w_iwunyRWtLQ13I,12524
|
|
7
|
+
proteus_python-2026.7.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
8
|
+
proteus_python-2026.7.0.dist-info/top_level.txt,sha256=7LjMNpvlVFgsEJnTt9d28ZE5oRrsViu9ZyORIWB9QeQ,8
|
|
9
|
+
proteus_python-2026.7.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
---- LLVM Exceptions to the Apache 2.0 License ----
|
|
205
|
+
|
|
206
|
+
As an exception, if, as a result of your compiling your source code, portions
|
|
207
|
+
of this Software are embedded into an Object form of such source code, you
|
|
208
|
+
may redistribute such embedded portions in such Object form without complying
|
|
209
|
+
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
|
|
210
|
+
|
|
211
|
+
In addition, if you combine or link compiled forms of this Software with
|
|
212
|
+
software that is licensed under the GPLv2 ("Combined Software") and if a
|
|
213
|
+
court of competent jurisdiction determines that the patent provision (Section
|
|
214
|
+
3), the indemnity provision (Section 9) or other Section of the License
|
|
215
|
+
conflicts with the conditions of the GPLv2, you may retroactively and
|
|
216
|
+
prospectively choose to deem waived or otherwise exclude such Section(s) of
|
|
217
|
+
the License, but only in their entirety and only with respect to the Combined
|
|
218
|
+
Software.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
This work was produced under the auspices of the U.S. Department of Energy by
|
|
2
|
+
Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.
|
|
3
|
+
|
|
4
|
+
This work was prepared as an account of work sponsored by an agency of the
|
|
5
|
+
United States Government. Neither the United States Government nor Lawrence
|
|
6
|
+
Livermore National Security, LLC, nor any of their employees makes any warranty,
|
|
7
|
+
expressed or implied, or assumes any legal liability or responsibility for the
|
|
8
|
+
accuracy, completeness, or usefulness of any information, apparatus, product, or
|
|
9
|
+
process disclosed, or represents that its use would not infringe privately owned
|
|
10
|
+
rights. Reference herein to any specific commercial product, process, or service
|
|
11
|
+
by trade name, trademark, manufacturer, or otherwise does not necessarily
|
|
12
|
+
constitute or imply its endorsement, recommendation, or favoring by the United
|
|
13
|
+
States Government or Lawrence Livermore National Security, LLC. The views and
|
|
14
|
+
opinions of authors expressed herein do not necessarily state or reflect those
|
|
15
|
+
of the United States Government or Lawrence Livermore National Security, LLC,
|
|
16
|
+
and shall not be used for advertising or product endorsement purposes.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
proteus
|