@@ -6,21 +6,21 @@ Configuration and Dependencies
66
77.. tip ::
88
9- pressio is header-only, so it does not need to be precompiled and linked to.
9+ pressio-rom is header-only, so it does not need to be precompiled and linked to.
1010
1111.. warning ::
1212
13- To use pressio, you need at least a C++17 compiler.
13+ To use pressio-rom , you need at least a C++17 compiler.
1414
1515Dependencies
1616------------
1717
18- Some parts of ``pressio `` contain code and implementations
18+ Some parts of ``pressio-rom `` contain code and implementations
1919that are specific to third-party libraries (TPLs).
2020The main reason for doing this is that we aim, where possible,
21- to alleviate the user from writing custom operations and allow ``pressio `` to decide when and how to leverage
21+ to alleviate the user from writing custom operations and allow ``pressio-rom `` to decide when and how to leverage
2222the native libraries' operations to obtain the best performance.
23- This should facilitate the integration and use of ``pressio `` by existing applications.
23+ This should facilitate the integration and use of ``pressio-rom `` by existing applications.
2424This is a growing capability and we currently only
2525provide built-in support to some external HPC libraries (see below).
2626Obviously, these TPLs-specific specializations need to be guarded with
@@ -70,16 +70,18 @@ default choice for instantiating the ROM data structures
7070and solving the (dense) ROM problem.
7171
7272In practice, what are the steps to get and use Pressio?
73- ----------------------------------------------------------------
73+ -------------------------------------------------------
7474
75- 1. Clone `pressio <https://github.com/Pressio/pressio >`_ (defaults to the main branch),
76- or you can pick a `release version <https://github.com/Pressio/pressio/releases >`_
75+ .. TODO: Add spack instructions once merged
76+
77+ 1. Clone `pressio-rom <https://github.com/Pressio/pressio-rom >`_ (defaults to the main branch),
78+ or you can pick a `release version <https://github.com/Pressio/pressio-rom/releases >`_
7779
78802. Clone `pressio-ops <https://github.com/Pressio/pressio-ops >`_ and, optionally, `pressio-log <https://github.com/Pressio/pressio-log >`_
7981
80- 3. Add the ``pressio/include ``, ``pressio-ops/include ``, and (optionally) ``pressio-log/include `` to your project's include directories.
82+ 3. Add the ``pressio-rom /include ``, ``pressio-ops/include ``, and (optionally) ``pressio-log/include `` to your project's include directories.
8183
82- 4. Use the Pressio library
84+ 4. Use the Pressio ecosystem
8385
8486Before including any Pressio files, be sure to identify any third-party dependencies as discussed above.
8587You can define macros to enable or disable code related to these dependencies.
@@ -114,7 +116,7 @@ Testing
114116
115117The following steps explain how to build and runs the Pressio tests.
116118
117- 1. Begin by cloning `pressio <https://github.com/Pressio/pressio >`_.
119+ 1. Begin by cloning `pressio-rom <https://github.com/Pressio/pressio-rom >`_.
118120
119121.. tip ::
120122
@@ -128,41 +130,39 @@ The following steps explain how to build and runs the Pressio tests.
128130
129131.. code-block :: bash
130132
131- cd < where-you-cloned-pressio>
133+ cd < where-you-cloned-pressio-rom >
132134 mkdir build && mkdir install
133135
134- 3. Use cmake to configure by passing to the command line the target list of CMake variables to define.
136+ 3. Use CMake to configure by passing to the command line the target list of CMake variables to define.
135137
136138For example, suppose we want to enable support for Trilinos and the logger. We would do:
137139
138140.. code-block :: bash
139141
140- export PRESSIO_SRC =< where-you-cloned-pressio>
141- cd < where-you-cloned-pressio > /build
142+ export PRESSIO_ROM_SRC =< where-you-cloned-pressio-rom >
143+ cd ${PRESSIO_ROM_SRC} /build
142144
143145 cmake -D PRESSIO_ENABLE_TPL_TRILINOS=ON \
144146 -D PRESSIO_ENABLE_LOGGING=ON \
145147 -D PRESSIO_ENABLE_TESTS=ON \
146- ${PRESSIO_SRC }
148+ ${PRESSIO_ROM_SRC }
147149
148150 make # tests are built
149151
150- Note that this step **only builds tests ** because ``pressio `` is header-only.
151- If you want, inspect the file ``<where-you-cloned-pressio>/install/pressio_cmake_config.h ``
152- which contains the CMake variables configuration.
152+ Note that this step **only builds tests ** because ``pressio-rom `` is header-only.
153153
154154By default, this step will also clone and link to the ``Pressio/pressio-ops `` library,
155- which contains essential operations for ``pressio ``.
155+ which contains essential operations for ``pressio-ROM ``.
156156
157157.. tip ::
158158
159- Since the tests assume the role of an application using pressio, they will need
159+ Since the tests assume the role of an application using pressio-rom , they will need
160160 to link against any TPLs that you enable. To specify the location of a library,
161161 use the following CMake variable: ``-D <tpl>_DIR=/path/to/tpl/install ``.
162162
1631634. Run the tests
164164
165165.. code-block :: bash
166166
167- cd < where-you-cloned-pressio> /build
167+ cd < where-you-cloned-pressio-rom > /build
168168 ctest -j < np>
0 commit comments