Skip to content

lorenzovarese/GridTools.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Experimental bridge to GT4Py in Julia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%