knelli2 / spectre

SpECTRE is a code for multi-scale, multi-physics problems in astrophysics and gravitational physics.
https://spectre-code.org/
Other
0 stars 1 forks source link

Installation #5

Open knelli2 opened 3 years ago

knelli2 commented 3 years ago

If you use one of the containers, then compiling spectre is (mostly) a breeze. One thing I've found with singularity is that you have to use python2 inside the container, otherwise git hooks get messed up. It's a simple fix of -D Python_EXECUTABLE=/usr/bin/python2, but it should be noted down somewhere.

Now if you're trying to install everything from source, then things get a bit harder. It'd be nice if spectre had instructions for how to install everything because it can be kind of overwhelming to do everything by yourself. I've compiled a list of software and instructions needed for spectre in the wiki of a different repo (https://github.com/knelli2/environment_setup/wiki, specifically the SpECTRE section).

The required version of blaze is the wrong version on the docs. It should be v3.8 now.

Make sure to use single_include for Catch2, otherwise you get errors.