Closed carmeloevoli closed 6 days ago
Hi @carmeloevoli Thanks for providing your detailed installation instructions. The Galactic lenses are indeed a problem, not only on MacOS. We are working on a new version of the lenses that also include the latest Galactic magnetic field models.
Ciao,
I want to share my experience in installing CRPropa on macOS, specifically tailored for systems where the setup may differ from the official documentation.
Note: The only bottleneck was installing
GALACTICMAGNETICLENS
due to a conflict with theEigen3
library. I recommend keeping this library out of the package and having it external and optional. My installation works using the-DENABLE_GALACTICMAGNETICLENS=FALSE
option.System Information:
Installation Steps
1. Use Homebrew to install all necessary packages:
2. Create the relevant aliases for Python and LLVM paths:
3. Download the CRPropa source code and create a virtual environment directory:
4. Create and activate a virtual environment for the installation:
5. Run the
cmake
command with the specified options to prepare the installation:6. Check the configuration using
ccmake
: