Skip to content

Installing Xmipp on Ubuntu 20.04

David Strelak edited this page Oct 5, 2021 · 5 revisions

Installing Xmipp on Ubuntu 20.04

Required dependencies

Compiler (when using CUDA 10.2)

sudo apt install gcc-8 g++-8
sudo update-alternatives --remove-all gcc
sudo update-alternatives --remove-all g++
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 50
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50

Compiler (for CUDA 11.2 or without CUDA) sudo apt install gcc g++

Other dependencies

sudo apt install -y scons libfftw3-dev libopenmpi-dev libhdf5-dev python3-numpy python3-dev libtiff5-dev libsqlite3-dev default-jdk git cmake

Optional dependencies

CUDA Follow official install instructions

OpenCV OpenCV is currently not properly supported. See https://github.com/I2PC/xmipp/issues/436 for details.

Installation

git clone https://github.com/I2PC/xmipp.git && cd xmipp && ./xmipp