forked from HongjianFang/PyVoroTomo
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Malcolm White edited this page Aug 12, 2020
·
4 revisions
PyVoroTomo depends on a few external packages:
Package | Version |
---|---|
cython | >= 0.29.14 |
h5py | >= 2.10.0 |
KDEpy | >= 1.0.3 |
mpi4py | == 3.0.3 |
numpy | >= 1.18.1 |
pandas | >= 1.0.3 |
pykonal | >= 0.2.3 |
pytables | >= 3.6.1 |
scipy | >= 1.4.1 |
bash-4.4$ conda create --name=pyvorotomo python=3.8
bash-4.4$ conda activate pyvorotomo
mpi4py comes with its own implementation of OpenMPI when installed using conda, but you want to use the system-wide installation of MPI that should be available on your cluster. To link mpi4py with the MPI implementation available on your system, you need to use pip, but first you need to initialize your environment to make the mpicc wrapper available:
(pyvorotomo) bash-4.4$ source /path/to/system/mpi/setup.sh
(pyvorotomo) bash-4.4$ export MPICC=$(which mpicc)
Note: On discovery.usc.edu I also executed
(pyvorotomo) bash-4.4$ export CC=$(which mpicc)
Now you can install mpi4py using pip:
(pyvorotomo) bash-4.4$ pip install mpi4py
(pyvorotomo) bash-4.4$ conda install cython h5py numpy pandas pytables scipy
(pyvorotomo) bash-4.4$ pip install KDEpy
(pyvorotomo) bash-4.4$ git clone [email protected]:malcolmw/pykonal.git
(pyvorotomo) bash-4.4$ cd pykonal
(pyvorotomo) bash-4.4$ pip install .
(pyvorotomo) bash-4.4$ git clone [email protected]:malcolmw/PyVoroTomo.git
(pyvorotomo) bash-4.4$ cd PyVoroTomo
(pyvorotomo) bash-4.4$ pip install .
bash-4.4$ conda create --name=pyvorotomo python=3.8 cython h5py mpi4py numpy pandas pytables scipy
bash-4.4$ conda activate pyvorotomo
(pyvorotomo) bash-4.4$ pip install KDEpy
(pyvorotomo) bash-4.4$ git clone [email protected]:malcolmw/pykonal.git
(pyvorotomo) bash-4.4$ cd pykonal
(pyvorotomo) bash-4.4$ pip install .
(pyvorotomo) bash-4.4$ git clone [email protected]:malcolmw/PyVoroTomo.git
(pyvorotomo) bash-4.4$ cd PyVoroTomo
(pyvorotomo) bash-4.4$ pip install .