# 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