Skip to content
/ farray Public

Experimental Python array class implemented on top of Fortran arrays

License

Notifications You must be signed in to change notification settings

ivan-pi/farray

Repository files navigation

farray

Experimental Python array class implemented on top of Fortran arrays

The goal is to cover a decent subset of the Python array API standard.

Prerequisites:

  • gfortran (Fortran 2018 support is needed)
  • Python interpreter
  • HPy
  • make

To install HPy use:

python3 -m pip install hpy

To start experimenting with the array class, type

make
python scripts/demo.py

The default make target builds the extension module.

To use the extension module you may need to add the current folder to the Python path, i.e.

export PYTHONPATH=`pwd`

About

Experimental Python array class implemented on top of Fortran arrays

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published