-
Notifications
You must be signed in to change notification settings - Fork 11
Con2Prim
For our testing case we need a relativistic con2prim. Initially we will use Reprimand.
There are build instructions its repository's README file.
RePrimand comes with an ExternalLibrary like thorn: https://github.com/wokast/RePrimAnd/tree/public/ET_interface/thorns/RePrimAnd/src that can build the library for the ET. It requires meson and ninja to be installed.
TODO: flesh this out
We installed and tested the library on a Linux laptop (Linux Mint 19.3 Tricia). The process was straightforward from this instructions, but here are some comments that might be useful:
- While the Meson build system can be installed with the Advanced Package Tool (apt), you might get an older version that won't work. We suggest installing through
pip3 install --upgrade meson
-
While many uses of the Boost library do not require compilation, we need the compiled libraries for building RePrimAnd. Follow this instructions, up to Section 5.2.1.
-
Notice that, when compiling the example
RePrimAnd/example/minimal.cc
, you might need to include the library after the source:
g++ minimal.cc -lRePrimAnd