Closed ryan-david-murphy closed 2 months ago
It looks like you're mixing up steps for installing the legacy version of pyrol (using ROL1.0) with pyrol2.0, which is what you're actually trying to get up and running. The older setup won’t work because pyrol2.0 uses a different version of roltrilinos (very close to upstream roltrilinos) that's tailored for it, including some neat serialization features for checkpointing.
The good news is, installing PyROL 2.0 is straightforward. You just need to use the master branch which points to the write roltrilinos repository in its setup, so just the following command:
python3 -m pip install --force-reinstall git+https://github.com/angus-g/pyrol.git
One you do that it should install fine!
Thank you @sghelichkhani -- this fixed the issue!
Description I have attempted to install the pyrol on an M1 macOS 14.1 using Python 3.11. However, the installation failed during the build process, particularly when building the wheel for pyroltrilinos. The errors seem to be related to serialisation functions for std::vector with cereal and some warnings about unqualified calls to std::forward.
Steps to Reproduce
Error snippet:
Could you please provide any guidance on how to resolve these build errors or if there are any workarounds or fixes available? I have attached the output log.
Thank you for your assistance.
output.txt