Last active
September 21, 2022 01:31
-
-
Save multimeric/47a4893c97eeb881a34381ceb146c950 to your computer and use it in GitHub Desktop.
Installs Relion (https://github.com/3dem/relion) on MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update this according to the GCC version you have from brew | |
GCC_VERSION=12 | |
# You may update this to a later release from https://github.com/3dem/relion/releases | |
RELION_VERSION=3.1.3 | |
brew install cmake gcc openmpi fltk fftw libx11 libtiff | |
export CXX=g++-$GCC_VERSION | |
export CC=gcc-$GCC_VERSION | |
export OMPI_CXX=g++-$GCC_VERSION | |
export OMPI_CC=gcc-$GCC_VERSION | |
git clone --branch $RELION_VERSION https://github.com/3dem/relion.git | |
cd relion | |
mkdir -p build | |
cd build | |
cmake .. | |
make -j 6 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment