Installation#
Below is an example of how you can set up pyathena. It assumes that you have already installed miniconda or anaconda on your system.
Clone the pyathena repo
git clone git@github.com:jeonggyukim/pyathena.git
Create an environment from the env.yml file
cd pyathena/ conda env create -f env.yml
Activate the pyathena environment
conda activate pyathena
Add pyathena directory to your python startup file (optional but recommended).
MPI setup for stellar Princeton cluster#
After setting up the environment as above,
# installing mpi4py on stellar
# https://researchcomputing.princeton.edu/support/knowledge-base/mpi4py
module load openmpi/gcc/4.1.0
export MPICC=$(which mpicc)
pip install mpi4py