Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.18 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.18 KB

GridTools

Build Status Static Badge

Installation

Setup python virtual environment

Development installation

export GRIDTOOLS_JL_PATH="..."
export GT4PY_PATH="..."
# create python virtual environemnt
#  make sure to use a python version that is compatible with GT4Py
python -m venv venv
# activate virtual env
#  this command has be run everytime GridTools.jl is used
source venv/bin/activate
# clone gt4py
git clone --branch fix_python_interp_path_in_cmake [email protected]:tehrengruber/gt4py.git
#git clone [email protected]:GridTools/gt4py.git $GT4PY_PATH
pip install -r $GT4PY_PATH/requirements-dev.txt
pip install -e $GT4PY_PATH
# 

Troubleshooting

undefined symbol: PyObject_Vectorcall

Make sure to run everything in the same environment that you have build PyCall with. A common reason is you have built PyCall in a virtual environement and then didn't load it when executing stencils.