-
Notifications
You must be signed in to change notification settings - Fork 15
Installing Xmipp on Ubuntu 22.04
Compiler
sudo apt install gcc-10 g++-10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 50
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 50
GCC-11 version compatible
GCC-11 is compatible with Xmipp but we have experienced some problems in the installation; if appear: undefined reference to `std::... Please follow those instructions: https://github.com/I2PC/xmipp/issues/583 or use gcc-10 or older
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
pip install scons numpy
CUDA
We recomend CUDA >=11.2. Older version of CUDA requires an older gcc (gcc-8 could be difficult to install and cause issues with the OS). Follow official install instructions. We recommend you to follow the guide for installation of CUDA 11.4 (deb (local))
OpenCV OpenCV is currently not properly supported. See https://github.com/I2PC/xmipp/issues/436 for details.
git clone https://github.com/I2PC/xmipp.git && cd xmipp && ./xmipp
Developed by xmipp team