-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3c5252
commit 9f54690
Showing
9 changed files
with
316 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,32 @@ | ||
# GridTools | ||
|
||
[![Build Status](https://github.com/jeffzwe/GridTools.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/jeffzwe/GridTools.jl/actions/workflows/CI.yml?query=branch%3Amain) [![Static Badge](https://img.shields.io/badge/docs-stable-blue.svg)](https://jeffzwe.github.io/GridTools.jl/dev) | ||
[![Build Status](https://github.com/jeffzwe/GridTools.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/jeffzwe/GridTools.jl/actions/workflows/CI.yml?query=branch%3Amain) [![Static Badge](https://img.shields.io/badge/docs-stable-blue.svg)](https://jeffzwe.github.io/GridTools.jl/dev) | ||
|
||
## Installation | ||
|
||
### Setup python virtual environment | ||
|
||
|
||
### Development installation | ||
|
||
```bash | ||
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 [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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.