Python feature: config file to present Arbor's support on mpi, gpu and version (#708)
Fixes #700 Usage in python as: ``` >>>import arbor >>>arbor.config() {'mpi': True, 'mpi4py': True, 'gpu': False, 'version': '0.1.1-dev'} >>>d = arbor.config() >>>arbor.print_config(d) Arbor's configuration: mpi : True mpi4py : True gpu : False version: 0.1.1-dev ```
Showing
- python/CMakeLists.txt 1 addition, 0 deletionspython/CMakeLists.txt
- python/config.cpp 12 additions, 0 deletionspython/config.cpp
- python/config.hpp 47 additions, 0 deletionspython/config.hpp
- python/pyarb.cpp 2 additions, 1 deletionpython/pyarb.cpp
- python/strings.cpp 12 additions, 11 deletionspython/strings.cpp
Please register or sign in to comment