HomCloud is now available on Linux, MacOS X, and Windows.
We recommend that apt and pip tools to install on Ubuntu and Debian. We do not recommend Anaconda with HomCloud. Please use 16.04 LTS or newer for Ubuntu, or Debian 9 (stretch) or newer for Debian. Too old distributions are not supported.
First, you should install python3 and some other packages.
Please type as follows:
sudo apt-get install libcgal-dev libpython3-dev python3-matplotlib python3-numpy python3-scipy python3-pip python3-pyqt5 python3-msgpack openmpi-bin libopenmpi-dev cmake paraview
cmake ., and create Makefile
maketo build dipha
Type as follows to install scikit-learn, imageio, and forwardable:
pip3 install --user scikit-learn imageio forwardable
Alternative way is as follows:
python3.6 -m pip install --user scikit-learn imageio forwardable
Please note that you should reinstall scikit-learn if python is major upgraded since scikit-learn is installed under the version-dependent directory.
Download the file
z depend on the version.
Go to the downloaded directory, and type as follows:
pip3 install --user --no-deps homcloud-x.y.z.tar.gz
If you do not want to install the homcloud globally, please use virtualenv or venv.
On MacOS X, we recommend homebrew to install python and some other libraries. We do not recommend Anaconda with HomCloud on OSX.
You should install following three softwares.
First, you should install Xcode. You can install Xcode from App Store. If Xcode is 6.1 or later, Xcode commandline tools is also installed at the same time. If you want to install from terminal, please type as follows:
After installing Xcode, type as follows to install homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
When you request root password, please type properly.
You can easily install various software from commandline interface.
You can install a package whose name is
PKG, please type as follows:
brew install PKG
After installing python3, you can use
pip3 command to maintain
the python package system. Please following packages by
Type as follows to install:
pip3 install numpy scipy matplotlib scikit-learn msgpack-python Pillow forwardable imageio
You can download dipha by Git. Install Git by homebrew, download dipha by git, and build it as follows:
brew install git git clone https://github.com/DIPHA/dipha.git cd dipha/ cmake make
dipha executable file to a directory in
PATH environment variable.
# EXAMPLE cp dipha /usr/local/bin/
You can find
PATH directories by:
z is latest version.
After downloading, open your terminal, and type as follows to go to the download
directory, and install HomCloud by
cd Downloads/ pip3 install homcloud-x.y.z.tar.gz