Skip to content

Install

Yuichi Motoyama edited this page Apr 22, 2020 · 5 revisions

Before installing abICS

Please make sure that Cython and one of the MPI implementation (e.g., Open MPI) are installed before installing abICS.

$ pip3 install cython

# in the case of using homebrew on macOS, for example
$ brew install open-mpi

Install registered abICS

The following command

$ pip3 install abics

installs abICS library and command abics.

If you want to install abICS locally because, for example, you have no permission to write files, the following command

$ pip3 install --user abics

installs files into your home directory, ~/.local.

Install from local source files

download

With Git (recommended)

$ git clone https://github.com/issp-center-dev/abics

Without Git

$ wget https://github.com/issp-center-dev/abics/archive/master.zip
$ unzip master.zip

With pip

Make a wheel file by

$ ./make_wheel.sh

install

$ pip3 install --user dist/abics-*.whl

update

$ pip3 install --user --no-deps --force-reinstall dist/abics-*.whl 

Without pip

$ export PYTHONPATH=$Path_To_abics:$PYTHONPATH