Skip to content

Instantly share code, notes, and snippets.

@multimeric
Last active September 21, 2022 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save multimeric/47a4893c97eeb881a34381ceb146c950 to your computer and use it in GitHub Desktop.
Save multimeric/47a4893c97eeb881a34381ceb146c950 to your computer and use it in GitHub Desktop.
Installs Relion (https://github.com/3dem/relion) on MacOS
# 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