pypr / pysph

A framework for Smoothed Particle Hydrodynamics in Python
http://pysph.readthedocs.io
Other
460 stars 138 forks source link

ERROR: Failed building wheel for PySph #384

Open CulfateBurner opened 1 year ago

CulfateBurner commented 1 year ago

May I ask how to solve the error message when using 'pip install PySph' to download the library: “ERROR: Failed building wheel for PySph Running setup.py clean for PySph Failed to build PySph ERROR: Could not build wheels for PySph, which is required to install pyproject.toml-based projects” image

nauaneed commented 1 year ago

Please try

pip install https://github.com/pypr/pysph/zipball/master

or Please try

git clone https://github.com/pypr/pysph
cd pysph
pip install -r requirements.txt -r requirements-test.txt
python setup.py develop
DTP587 commented 10 months ago

First off, thanks guys, great package! Unfortuntaly I think some dependencies may be a little out for the pypl version, and it doesnt like installing via pip.

Trying to install pysph from source, I've done a bit of testing and have experienced some issues with newer versions of python (doesn't like numpy>=1.20). I installed with python 3.6, and could get dam_break_2d.py to run for a few timesteps before segmentation fault (unsure why). I've pasted the cli output below... not sure what the dependecy issues are, but would be useful to get this all to work.

(pysph) teaq $ git clone https://github.com/pypr/pysph.git
Cloning into 'pysph'...
remote: Enumerating objects: 21061, done.
remote: Counting objects: 100% (822/822), done.
remote: Compressing objects: 100% (359/359), done.
remote: Total 21061 (delta 529), reused 651 (delta 444), pack-reused 20239
Receiving objects: 100% (21061/21061), 7.18 MiB | 3.74 MiB/s, done.
Resolving deltas: 100% (15914/15914), done.
(pysph) teaq $ cd pysph
(pysph) teaq $ pip install -r requirements.txt -r requirements-test.txt
Collecting numpy
  Using cached numpy-1.19.5-cp36-cp36m-macosx_10_9_x86_64.whl (15.6 MB)
Requirement already satisfied: setuptools>=42.0.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements.txt (line 2)) (58.0.4)
Collecting Cython<3.0
  Using cached Cython-0.29.37-py2.py3-none-any.whl (989 kB)
Collecting cyarray
  Using cached cyarray-1.1.tar.gz (27 kB)
Collecting compyle>=0.8
  Using cached compyle-0.8.1.tar.gz (125 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting mako
  Using cached Mako-1.1.6-py2.py3-none-any.whl (75 kB)
Collecting pytools
  Using cached pytools-2022.1.12-py2.py3-none-any.whl
Collecting Beaker
  Using cached Beaker-1.12.1.tar.gz (67 kB)
Collecting pytest>=3.0
  Downloading pytest-7.0.1-py3-none-any.whl (296 kB)
     |████████████████████████████████| 296 kB 3.6 MB/s 
Collecting mock>=1.0
  Using cached mock-5.1.0-py3-none-any.whl (30 kB)
Collecting h5py
  Using cached h5py-3.1.0-cp36-cp36m-macosx_10_9_x86_64.whl (2.9 MB)
Collecting vtk
  Downloading vtk-9.3.0-cp36-cp36m-macosx_10_10_x86_64.whl (76.5 MB)
     |████████████████████████████████| 76.5 MB 4.5 MB/s 
Collecting MarkupSafe>=0.9.2
  Using cached MarkupSafe-2.0.1-cp36-cp36m-macosx_10_9_x86_64.whl (13 kB)
Collecting platformdirs>=2.2.0
  Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting dataclasses>=0.7
  Using cached dataclasses-0.8-py3-none-any.whl (19 kB)
Collecting typing-extensions>=4.0
  Using cached typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Collecting attrs>=19.2.0
  Downloading attrs-22.2.0-py3-none-any.whl (60 kB)
     |████████████████████████████████| 60 kB 4.0 MB/s 
Collecting pluggy<2.0,>=0.12
  Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting packaging
  Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting py>=1.8.2
  Downloading py-1.11.0-py2.py3-none-any.whl (98 kB)
     |████████████████████████████████| 98 kB 4.0 MB/s 
Collecting importlib-metadata>=0.12
  Using cached importlib_metadata-4.8.3-py3-none-any.whl (17 kB)
Collecting iniconfig
  Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting tomli>=1.0.0
  Using cached tomli-1.2.3-py3-none-any.whl (12 kB)
Collecting cached-property
  Downloading cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting matplotlib>=2.0.0
  Using cached matplotlib-3.3.4-cp36-cp36m-macosx_10_9_x86_64.whl (8.5 MB)
Collecting zipp>=0.5
  Using cached zipp-3.6.0-py3-none-any.whl (5.3 kB)
Collecting pillow>=6.2.0
  Using cached Pillow-8.4.0-cp36-cp36m-macosx_10_10_x86_64.whl (3.0 MB)
Collecting cycler>=0.10
  Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
  Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.3.1-cp36-cp36m-macosx_10_9_x86_64.whl (61 kB)
Collecting python-dateutil>=2.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting six>=1.5
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: cyarray, compyle, Beaker
  Building wheel for cyarray (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/teaq/opt/anaconda3/envs/pysph/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xj/gypfyj395cd_l8wflb6tf1pm0000gn/T/pip-install-b5gxtd7q/cyarray_77fe992a40cd418b970f7c0fd44e8bfd/setup.py'"'"'; __file__='"'"'/private/var/folders/xj/gypfyj395cd_l8wflb6tf1pm0000gn/T/pip-install-b5gxtd7q/cyarray_77fe992a40cd418b970f7c0fd44e8bfd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/xj/gypfyj395cd_l8wflb6tf1pm0000gn/T/pip-wheel-m9byseb7
       cwd: /private/var/folders/xj/gypfyj395cd_l8wflb6tf1pm0000gn/T/pip-install-b5gxtd7q/cyarray_77fe992a40cd418b970f7c0fd44e8bfd/
  Complete output (7 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/xj/gypfyj395cd_l8wflb6tf1pm0000gn/T/pip-install-b5gxtd7q/cyarray_77fe992a40cd418b970f7c0fd44e8bfd/setup.py", line 160, in <module>
      setup_package()
    File "/private/var/folders/xj/gypfyj395cd_l8wflb6tf1pm0000gn/T/pip-install-b5gxtd7q/cyarray_77fe992a40cd418b970f7c0fd44e8bfd/setup.py", line 78, in setup_package
      from Cython.Distutils import build_ext
  ModuleNotFoundError: No module named 'Cython'
  ----------------------------------------
  ERROR: Failed building wheel for cyarray
  Running setup.py clean for cyarray
  Building wheel for compyle (PEP 517) ... done
  Created wheel for compyle: filename=compyle-0.8.1-cp36-cp36m-macosx_10_9_x86_64.whl size=122270 sha256=eae758ec42003ee7d2fb80b4066f83936fb41a4ecf6af459cf560961b47799d8
  Stored in directory: /Users/teaq/Library/Caches/pip/wheels/27/d5/b4/a6ea82f877b6682afc07589f2cb4c646c07191bcb2550c6c2d
  Building wheel for Beaker (setup.py) ... done
  Created wheel for Beaker: filename=Beaker-1.12.1-py3-none-any.whl size=51655 sha256=cc4b6abd87fcc6ab41b5a8abd26f55bb0aeef7a3213d03b8babdf50cf7278413
  Stored in directory: /Users/teaq/Library/Caches/pip/wheels/5a/e8/00/109dfab0f67aaf7d9ade99f06e128173cd5db4031d87c2b3d0
Successfully built compyle Beaker
Failed to build cyarray
Installing collected packages: zipp, typing-extensions, six, python-dateutil, pyparsing, platformdirs, pillow, numpy, MarkupSafe, kiwisolver, importlib-metadata, dataclasses, cycler, tomli, pytools, py, pluggy, packaging, matplotlib, mako, iniconfig, Cython, cached-property, attrs, vtk, pytest, mock, h5py, cyarray, compyle, Beaker
    Running setup.py install for cyarray ... done
  DEPRECATION: cyarray was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
Successfully installed Beaker-1.12.1 Cython-0.29.37 MarkupSafe-2.0.1 attrs-22.2.0 cached-property-1.5.2 compyle-0.8.1 cyarray-1.1 cycler-0.11.0 dataclasses-0.8 h5py-3.1.0 importlib-metadata-4.8.3 iniconfig-1.1.1 kiwisolver-1.3.1 mako-1.1.6 matplotlib-3.3.4 mock-5.1.0 numpy-1.19.5 packaging-21.3 pillow-8.4.0 platformdirs-2.4.0 pluggy-1.0.0 py-1.11.0 pyparsing-3.1.1 pytest-7.0.1 python-dateutil-2.8.2 pytools-2022.1.12 six-1.16.0 tomli-1.2.3 typing-extensions-4.1.1 vtk-9.3.0 zipp-3.6.0
(pysph) teaq $ pip install -r requirements.txt -r requirements-test.txt
Requirement already satisfied: numpy in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements.txt (line 1)) (1.19.5)
Requirement already satisfied: setuptools>=42.0.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements.txt (line 2)) (58.0.4)
Requirement already satisfied: Cython<3.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements.txt (line 3)) (0.29.37)
Requirement already satisfied: cyarray in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements.txt (line 4)) (1.1)
Requirement already satisfied: compyle>=0.8 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements.txt (line 5)) (0.8.1)
Requirement already satisfied: mako in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements.txt (line 6)) (1.1.6)
Requirement already satisfied: pytools in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements.txt (line 7)) (2022.1.12)
Requirement already satisfied: Beaker in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements.txt (line 8)) (1.12.1)
Requirement already satisfied: pytest>=3.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements-test.txt (line 1)) (7.0.1)
Requirement already satisfied: mock>=1.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements-test.txt (line 2)) (5.1.0)
Requirement already satisfied: h5py in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements-test.txt (line 3)) (3.1.0)
Requirement already satisfied: vtk in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from -r requirements-test.txt (line 4)) (9.3.0)
Requirement already satisfied: MarkupSafe>=0.9.2 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from mako->-r requirements.txt (line 6)) (2.0.1)
Requirement already satisfied: dataclasses>=0.7 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytools->-r requirements.txt (line 7)) (0.8)
Requirement already satisfied: platformdirs>=2.2.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytools->-r requirements.txt (line 7)) (2.4.0)
Requirement already satisfied: typing-extensions>=4.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytools->-r requirements.txt (line 7)) (4.1.1)
Requirement already satisfied: packaging in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytest>=3.0->-r requirements-test.txt (line 1)) (21.3)
Requirement already satisfied: iniconfig in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytest>=3.0->-r requirements-test.txt (line 1)) (1.1.1)
Requirement already satisfied: pluggy<2.0,>=0.12 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytest>=3.0->-r requirements-test.txt (line 1)) (1.0.0)
Requirement already satisfied: importlib-metadata>=0.12 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytest>=3.0->-r requirements-test.txt (line 1)) (4.8.3)
Requirement already satisfied: attrs>=19.2.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytest>=3.0->-r requirements-test.txt (line 1)) (22.2.0)
Requirement already satisfied: tomli>=1.0.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytest>=3.0->-r requirements-test.txt (line 1)) (1.2.3)
Requirement already satisfied: py>=1.8.2 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from pytest>=3.0->-r requirements-test.txt (line 1)) (1.11.0)
Requirement already satisfied: cached-property in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from h5py->-r requirements-test.txt (line 3)) (1.5.2)
Requirement already satisfied: matplotlib>=2.0.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from vtk->-r requirements-test.txt (line 4)) (3.3.4)
Requirement already satisfied: zipp>=0.5 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from importlib-metadata>=0.12->pytest>=3.0->-r requirements-test.txt (line 1)) (3.6.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from matplotlib>=2.0.0->vtk->-r requirements-test.txt (line 4)) (1.3.1)
Requirement already satisfied: pillow>=6.2.0 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from matplotlib>=2.0.0->vtk->-r requirements-test.txt (line 4)) (8.4.0)
Requirement already satisfied: cycler>=0.10 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from matplotlib>=2.0.0->vtk->-r requirements-test.txt (line 4)) (0.11.0)
Requirement already satisfied: python-dateutil>=2.1 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from matplotlib>=2.0.0->vtk->-r requirements-test.txt (line 4)) (2.8.2)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from matplotlib>=2.0.0->vtk->-r requirements-test.txt (line 4)) (3.1.1)
Requirement already satisfied: six>=1.5 in /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages (from python-dateutil>=2.1->matplotlib>=2.0.0->vtk->-r requirements-test.txt (line 4)) (1.16.0)
(pysph) teaq $ python setup.py develop
generating file /Users/teaq/.github-packages/pysph/pysph/base/c_kernels.pyx from /Users/teaq/.github-packages/pysph/pysph/base/c_kernels.pyx.mako
generating file /Users/teaq/.github-packages/pysph/pysph/base/stratified_sfc_gpu_nnps from /Users/teaq/.github-packages/pysph/pysph/base/stratified_sfc_gpu_nnps.mako
generating file /Users/teaq/.github-packages/pysph/pysph/base/gpu_helper_functions from /Users/teaq/.github-packages/pysph/pysph/base/gpu_helper_functions.mako

/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /var/folders/xj/gypfyj395cd_l8wflb6tf1pm0000gn/T/tmp22i2amyq/check_omp.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
/var/folders/xj/gypfyj395cd_l8wflb6tf1pm0000gn/T/tmp22i2amyq/check_omp.c:750:10: fatal error: 'omp.h' file not found
#include <omp.h>
         ^~~~~~~
1 error generated.
**********************************************************************
Unable to compile OpenMP code. Not using OpenMP.
**********************************************************************
Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
Compiling pysph/base/particle_array.pyx because it changed.
Compiling pysph/base/point.pyx because it changed.
Compiling pysph/base/nnps_base.pyx because it changed.
Compiling pysph/base/linked_list_nnps.pyx because it changed.
Compiling pysph/base/box_sort_nnps.pyx because it changed.
Compiling pysph/base/spatial_hash_nnps.pyx because it changed.
Compiling pysph/base/cell_indexing_nnps.pyx because it changed.
Compiling pysph/base/z_order_nnps.pyx because it changed.
Compiling pysph/base/stratified_hash_nnps.pyx because it changed.
Compiling pysph/base/stratified_sfc_nnps.pyx because it changed.
Compiling pysph/base/octree.pyx because it changed.
Compiling pysph/base/octree_nnps.pyx because it changed.
Compiling pysph/base/c_kernels.pyx because it changed.
Compiling pysph/base/linalg3.pyx because it changed.
Compiling pysph/tools/mesh_tools.pyx because it changed.
Compiling pysph/base/gpu_nnps_base.pyx because it changed.
Compiling pysph/base/z_order_gpu_nnps.pyx because it changed.
Compiling pysph/base/stratified_sfc_gpu_nnps.pyx because it changed.
Compiling pysph/base/octree_gpu_nnps.pyx because it changed.
[ 1/19] Cythonizing pysph/base/box_sort_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
[ 2/19] Cythonizing pysph/base/c_kernels.pyx
[ 3/19] Cythonizing pysph/base/cell_indexing_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
[ 4/19] Cythonizing pysph/base/gpu_nnps_base.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
warning: pysph/base/gpu_nnps_base.pxd:31:22: 'UINT_MAX' redeclared 
warning: pysph/base/gpu_nnps_base.pxd:32:13: 'INT_MAX' redeclared 
[ 5/19] Cythonizing pysph/base/linalg3.pyx
[ 6/19] Cythonizing pysph/base/linked_list_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
warning: pysph/base/linked_list_nnps.pyx:309:12: Unreachable code
warning: pysph/base/linked_list_nnps.pyx:339:12: Unreachable code
[ 7/19] Cythonizing pysph/base/nnps_base.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
[ 8/19] Cythonizing pysph/base/octree.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
[ 9/19] Cythonizing pysph/base/octree_gpu_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
warning: pysph/base/gpu_nnps_base.pxd:31:22: 'UINT_MAX' redeclared 
warning: pysph/base/gpu_nnps_base.pxd:32:13: 'INT_MAX' redeclared 
[10/19] Cythonizing pysph/base/octree_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
[11/19] Cythonizing pysph/base/particle_array.pyx
[12/19] Cythonizing pysph/base/point.pyx
[13/19] Cythonizing pysph/base/spatial_hash_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
[14/19] Cythonizing pysph/base/stratified_hash_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
[15/19] Cythonizing pysph/base/stratified_sfc_gpu_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
warning: pysph/base/gpu_nnps_base.pxd:31:22: 'UINT_MAX' redeclared 
warning: pysph/base/gpu_nnps_base.pxd:32:13: 'INT_MAX' redeclared 
[16/19] Cythonizing pysph/base/stratified_sfc_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
warning: pysph/base/stratified_sfc_nnps.pxd:24:27: Declarations should not be declared inline.
[17/19] Cythonizing pysph/base/z_order_gpu_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
warning: pysph/base/gpu_nnps_base.pxd:31:22: 'UINT_MAX' redeclared 
warning: pysph/base/gpu_nnps_base.pxd:32:13: 'INT_MAX' redeclared 
[18/19] Cythonizing pysph/base/z_order_nnps.pyx
warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared 
warning: pysph/base/z_order_nnps.pxd:14:27: Declarations should not be declared inline.
[19/19] Cythonizing pysph/tools/mesh_tools.pyx
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/teaq/.github-packages/pysph/pysph/tools/mesh_tools.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
running develop
running egg_info
creating PySPH.egg-info
writing PySPH.egg-info/PKG-INFO
writing dependency_links to PySPH.egg-info/dependency_links.txt
writing entry points to PySPH.egg-info/entry_points.txt
writing requirements to PySPH.egg-info/requires.txt
writing top-level names to PySPH.egg-info/top_level.txt
writing manifest file 'PySPH.egg-info/SOURCES.txt'
reading manifest file 'PySPH.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.bat'
warning: no files found matching '*.sh'
warning: no files found matching '*.yml'
warning: no files found matching '*.txt.gz' under directory 'pysph'
adding license file 'LICENSE.txt'
writing manifest file 'PySPH.egg-info/SOURCES.txt'
running build_ext
building 'pysph.base.particle_array' extension
creating build
creating build/temp.macosx-10.9-x86_64-3.6
creating build/temp.macosx-10.9-x86_64-3.6/pysph
creating build/temp.macosx-10.9-x86_64-3.6/pysph/base
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/particle_array.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/particle_array.o
In file included from pysph/base/particle_array.cpp:787:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/particle_array.cpp:25912:52: warning: code will never be executed [-Wunreachable-code]
        } else if (PY_VERSION_HEX >= 0x030700A0 && flag == (METH_FASTCALL | METH_KEYWORDS)) {
                                                   ^~~~
pysph/base/particle_array.cpp:25912:38: note: silence by adding parentheses to mark code as explicitly dead
        } else if (PY_VERSION_HEX >= 0x030700A0 && flag == (METH_FASTCALL | METH_KEYWORDS)) {
                                     ^
                                     /* DISABLES CODE */ ( )
2 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/particle_array.o -o /Users/teaq/.github-packages/pysph/pysph/base/particle_array.cpython-36m-darwin.so
building 'pysph.base.point' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/point.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/point.o
In file included from pysph/base/point.cpp:787:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/point.o -o /Users/teaq/.github-packages/pysph/pysph/base/point.cpython-36m-darwin.so
building 'pysph.base.nnps_base' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/nnps_base.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/nnps_base.o
In file included from pysph/base/nnps_base.cpp:791:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/nnps_base.cpp:21803:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
  for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/nnps_base.cpp:21888:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_8; __pyx_t_7+=1) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/nnps_base.cpp:22479:31: warning: code will never be executed [-Wunreachable-code]
                if ((1 == 0)) abort();
                              ^~~~~
pysph/base/nnps_base.cpp:22479:22: note: silence by adding parentheses to mark code as explicitly dead
                if ((1 == 0)) abort();
                     ^
                     /* DISABLES CODE */ ( )
pysph/base/nnps_base.cpp:22799:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
  for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/nnps_base.cpp:22848:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_9; __pyx_t_8+=1) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/nnps_base.cpp:28899:35: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/nnps_base.cpp:28930:35: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/nnps_base.cpp:28983:35: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/nnps_base.cpp:29041:35: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/nnps_base.cpp:42683:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/base/nnps_base.cpp:370:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
pysph/base/nnps_base.cpp:42694:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/base/nnps_base.cpp:370:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
pysph/base/nnps_base.cpp:43194:52: warning: code will never be executed [-Wunreachable-code]
        } else if (PY_VERSION_HEX >= 0x030700A0 && flag == (METH_FASTCALL | METH_KEYWORDS)) {
                                                   ^~~~
pysph/base/nnps_base.cpp:43194:38: note: silence by adding parentheses to mark code as explicitly dead
        } else if (PY_VERSION_HEX >= 0x030700A0 && flag == (METH_FASTCALL | METH_KEYWORDS)) {
                                     ^
                                     /* DISABLES CODE */ ( )
13 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/nnps_base.o -o /Users/teaq/.github-packages/pysph/pysph/base/nnps_base.cpython-36m-darwin.so
building 'pysph.base.linked_list_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/linked_list_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/linked_list_nnps.o
In file included from pysph/base/linked_list_nnps.cpp:808:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/linked_list_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/linked_list_nnps.cpython-36m-darwin.so
building 'pysph.base.box_sort_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/box_sort_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/box_sort_nnps.o
In file included from pysph/base/box_sort_nnps.cpp:809:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/box_sort_nnps.cpp:5964:43: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
          for (__pyx_t_19 = 0; __pyx_t_19 < __pyx_t_18; __pyx_t_19+=1) {
                               ~~~~~~~~~~ ^ ~~~~~~~~~~
2 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/box_sort_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/box_sort_nnps.cpython-36m-darwin.so
building 'pysph.base.spatial_hash_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -Ipysph/base -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/spatial_hash_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/spatial_hash_nnps.o
In file included from pysph/base/spatial_hash_nnps.cpp:796:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/spatial_hash_nnps.cpp:4672:33: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/spatial_hash_nnps.cpp:4737:35: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_6; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/spatial_hash_nnps.cpp:5403:33: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_6; __pyx_v_i++) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/spatial_hash_nnps.cpp:7171:33: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/spatial_hash_nnps.cpp:7236:35: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_6; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/spatial_hash_nnps.cpp:8414:33: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_6; __pyx_v_i++) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
7 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/spatial_hash_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/spatial_hash_nnps.cpython-36m-darwin.so
building 'pysph.base.cell_indexing_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/cell_indexing_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/cell_indexing_nnps.o
In file included from pysph/base/cell_indexing_nnps.cpp:807:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/cell_indexing_nnps.cpp:4787:35: warning: comparison of integers of different signs: 'int' and '__pyx_t_5pysph_4base_18cell_indexing_nnps_u_int' (aka 'unsigned int') [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_7; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
2 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/cell_indexing_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/cell_indexing_nnps.cpython-36m-darwin.so
building 'pysph.base.z_order_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -Ipysph/base -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/z_order_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/z_order_nnps.o
In file included from pysph/base/z_order_nnps.cpp:809:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/z_order_nnps.cpp:7918:35: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/z_order_nnps.cpp:7938:35: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/z_order_nnps.cpp:8769:35: warning: comparison of integers of different signs: 'int' and 'uint64_t' (aka 'unsigned long long') [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_8; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/z_order_nnps.cpp:11112:35: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/z_order_nnps.cpp:11132:35: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/z_order_nnps.cpp:11878:35: warning: comparison of integers of different signs: 'int' and 'uint64_t' (aka 'unsigned long long') [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_8; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
7 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/z_order_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/z_order_nnps.cpython-36m-darwin.so
building 'pysph.base.stratified_hash_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -Ipysph/base -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/stratified_hash_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/stratified_hash_nnps.o
In file included from pysph/base/stratified_hash_nnps.cpp:796:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/stratified_hash_nnps.cpp:5218:33: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/stratified_hash_nnps.cpp:5346:35: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_6; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/stratified_hash_nnps.cpp:5411:37: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
      for (__pyx_v_k = 0; __pyx_v_k < __pyx_t_7; __pyx_v_k++) {
                          ~~~~~~~~~ ^ ~~~~~~~~~
4 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/stratified_hash_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/stratified_hash_nnps.cpython-36m-darwin.so
building 'pysph.base.stratified_sfc_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -Ipysph/base -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/stratified_sfc_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/stratified_sfc_nnps.o
In file included from pysph/base/stratified_sfc_nnps.cpp:812:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/stratified_sfc_nnps.cpp:5958:49: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
  for (__pyx_v_i = __pyx_v_start_idx; __pyx_v_i < __pyx_t_6; __pyx_v_i++) {
                                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/stratified_sfc_nnps.cpp:6291:86: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long long') and 'int' [-Wsign-compare]
    __pyx_t_10 = ((((__pyx_v_current_keys[__pyx_v_i]) >> __pyx_v_self->max_num_bits) != __pyx_v_level) != 0);
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^  ~~~~~~~~~~~~~
pysph/base/stratified_sfc_nnps.cpp:9549:35: warning: comparison of integers of different signs: 'int' and 'uint64_t' (aka 'unsigned long long') [-Wsign-compare]
    for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
4 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/stratified_sfc_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/stratified_sfc_nnps.cpython-36m-darwin.so
building 'pysph.base.octree' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/octree.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/octree.o
In file included from pysph/base/octree.cpp:789:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/octree.cpp:7149:41: warning: comparison of integers of different signs: 'std::vector<unsigned int>::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare]
  __pyx_t_3 = ((__pyx_v_indices->size() < __pyx_v_self->leaf_max_particles) != 0);
                ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pysph/base/octree.cpp:8385:31: warning: code will never be executed [-Wunreachable-code]
                if ((1 == 0)) abort();
                              ^~~~~
pysph/base/octree.cpp:8385:22: note: silence by adding parentheses to mark code as explicitly dead
                if ((1 == 0)) abort();
                     ^
                     /* DISABLES CODE */ ( )
pysph/base/octree.cpp:7918:31: warning: code will never be executed [-Wunreachable-code]
                if ((1 == 0)) abort();
                              ^~~~~
pysph/base/octree.cpp:7918:22: note: silence by adding parentheses to mark code as explicitly dead
                if ((1 == 0)) abort();
                     ^
                     /* DISABLES CODE */ ( )
pysph/base/octree.cpp:9065:49: warning: comparison of integers of different signs: 'int' and 'std::vector<__pyx_t_5pysph_4base_6octree_node_ptr>::size_type' (aka 'unsigned long') [-Wsign-compare]
                  for (__pyx_v_n = 0; __pyx_v_n < __pyx_t_10; __pyx_v_n++) {
                                      ~~~~~~~~~ ^ ~~~~~~~~~~
pysph/base/octree.cpp:9179:63: warning: comparison of integers of different signs: '__pyx_t_5pysph_4base_6octree_u_int' (aka 'unsigned int') and 'int' [-Wsign-compare]
                    for (__pyx_v_p = __pyx_v_start; __pyx_v_p < __pyx_t_3; __pyx_v_p++) {
                                                    ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/octree.cpp:9739:55: warning: comparison of integers of different signs: 'int' and 'std::vector<__pyx_t_5pysph_4base_6octree_node_ptr>::size_type' (aka 'unsigned long') [-Wsign-compare]
                    for (__pyx_v_jid = 0; __pyx_v_jid < __pyx_t_10; __pyx_v_jid++) {
                                          ~~~~~~~~~~~ ^ ~~~~~~~~~~
pysph/base/octree.cpp:11454:35: warning: comparison of integers of different signs: 'int' and 'std::vector<struct __pyx_t_5pysph_4base_6octree_cOctreeNode *>::size_type' (aka 'unsigned long') [-Wsign-compare]
    for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/octree.cpp:11473:33: warning: comparison of integers of different signs: 'int' and 'std::vector<struct __pyx_t_5pysph_4base_6octree_cOctreeNode *>::size_type' (aka 'unsigned long') [-Wsign-compare]
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_5; __pyx_v_i++) {
                      ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/octree.cpp:12978:41: warning: comparison of integers of different signs: 'std::vector<unsigned int>::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare]
  __pyx_t_3 = ((__pyx_v_indices->size() < __pyx_v_self->__pyx_base.leaf_max_particles) != 0);
                ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pysph/base/octree.cpp:14778:31: warning: code will never be executed [-Wunreachable-code]
                if ((1 == 0)) abort();
                              ^~~~~
pysph/base/octree.cpp:14778:22: note: silence by adding parentheses to mark code as explicitly dead
                if ((1 == 0)) abort();
                     ^
                     /* DISABLES CODE */ ( )
pysph/base/octree.cpp:14183:31: warning: code will never be executed [-Wunreachable-code]
                if ((1 == 0)) abort();
                              ^~~~~
pysph/base/octree.cpp:14183:22: note: silence by adding parentheses to mark code as explicitly dead
                if ((1 == 0)) abort();
                     ^
                     /* DISABLES CODE */ ( )
pysph/base/octree.cpp:15529:49: warning: comparison of integers of different signs: 'int' and 'std::vector<__pyx_t_5pysph_4base_6octree_node_ptr>::size_type' (aka 'unsigned long') [-Wsign-compare]
                  for (__pyx_v_n = 0; __pyx_v_n < __pyx_t_11; __pyx_v_n++) {
                                      ~~~~~~~~~ ^ ~~~~~~~~~~
pysph/base/octree.cpp:15672:63: warning: comparison of integers of different signs: '__pyx_t_5pysph_4base_6octree_u_int' (aka 'unsigned int') and 'int' [-Wsign-compare]
                    for (__pyx_v_p = __pyx_v_start; __pyx_v_p < __pyx_t_3; __pyx_v_p++) {
                                                    ~~~~~~~~~ ^ ~~~~~~~~~
pysph/base/octree.cpp:16315:55: warning: comparison of integers of different signs: 'int' and 'std::vector<__pyx_t_5pysph_4base_6octree_node_ptr>::size_type' (aka 'unsigned long') [-Wsign-compare]
                    for (__pyx_v_jid = 0; __pyx_v_jid < __pyx_t_11; __pyx_v_jid++) {
                                          ~~~~~~~~~~~ ^ ~~~~~~~~~~
15 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/octree.o -o /Users/teaq/.github-packages/pysph/pysph/base/octree.cpython-36m-darwin.so
building 'pysph.base.octree_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/octree_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/octree_nnps.o
In file included from pysph/base/octree_nnps.cpp:791:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/octree_nnps.cpp:4901:35: warning: comparison of integers of different signs: '__pyx_t_5pysph_4base_11octree_nnps_u_int' (aka 'unsigned int') and 'int' [-Wsign-compare]
    for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_3; __pyx_v_i++) {
                        ~~~~~~~~~ ^ ~~~~~~~~~
2 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/octree_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/octree_nnps.cpython-36m-darwin.so
building 'pysph.base.c_kernels' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/c_kernels.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/c_kernels.o
pysph/base/c_kernels.cpp:3907:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:4028:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:3807:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:5004:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:5120:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim)));
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:4904:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:5518:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:5607:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:5418:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:8195:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:8270:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:8095:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:9246:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:9320:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim)));
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:9146:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:9718:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:9774:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:9618:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:12361:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:12427:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:12262:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:13402:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:13467:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim)));
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:13303:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:16501:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:16696:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:16399:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:17674:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:17900:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim)));
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:17572:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:18300:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:18463:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:18198:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:21051:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:21126:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:20951:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:22166:7: warning: variable '__pyx_v_fac' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  if (__pyx_t_2) {
      ^~~~~~~~~
pysph/base/c_kernels.cpp:22240:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * __pyx_v_val);
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:22166:3: note: remove the 'if' if its condition is always true
  if (__pyx_t_2) {
  ^~~~~~~~~~~~~~~
pysph/base/c_kernels.cpp:22054:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:25282:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:25357:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:25182:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:26333:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:26407:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim)));
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:26233:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:26805:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:26861:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:26705:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:29449:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:29524:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:29349:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:30500:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:30574:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim)));
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:30400:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:30972:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:31028:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:30872:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:33616:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:33691:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:33516:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:34667:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:34741:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim)));
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:34567:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:35139:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:35195:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:35039:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:37783:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:37858:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:37683:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:38834:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:38908:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim)));
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:38734:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:39306:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:39362:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:39206:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:41950:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:42025:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:41850:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:43001:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:43075:17: note: uninitialized use occurs here
  __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim)));
                ^~~~~~~~~~~
pysph/base/c_kernels.cpp:42901:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:43473:5: warning: variable '__pyx_v_fac' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    default: break;
    ^~~~~~~
pysph/base/c_kernels.cpp:43529:28: note: uninitialized use occurs here
  __pyx_r = (__pyx_v_val * __pyx_v_fac);
                           ^~~~~~~~~~~
pysph/base/c_kernels.cpp:43373:21: note: initialize the variable '__pyx_v_fac' to silence this warning
  double __pyx_v_fac;
                    ^
                     = 0.0
pysph/base/c_kernels.cpp:75919:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/base/c_kernels.cpp:363:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
pysph/base/c_kernels.cpp:75930:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/base/c_kernels.cpp:363:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
30 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/c_kernels.o -o /Users/teaq/.github-packages/pysph/pysph/base/c_kernels.cpython-36m-darwin.so
building 'pysph.base.linalg3' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/linalg3.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/linalg3.o
In file included from pysph/base/linalg3.cpp:788:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/linalg3.cpp:25979:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/base/linalg3.cpp:366:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
pysph/base/linalg3.cpp:25990:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/base/linalg3.cpp:366:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
3 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/linalg3.o -o /Users/teaq/.github-packages/pysph/pysph/base/linalg3.cpython-36m-darwin.so
building 'pysph.tools.mesh_tools' extension
creating build/temp.macosx-10.9-x86_64-3.6/pysph/tools
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/tools/mesh_tools.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/tools/mesh_tools.o
In file included from pysph/tools/mesh_tools.cpp:787:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/tools/mesh_tools.cpp:28281:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/tools/mesh_tools.cpp:366:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
pysph/tools/mesh_tools.cpp:28292:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/tools/mesh_tools.cpp:366:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
3 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/tools/mesh_tools.o -o /Users/teaq/.github-packages/pysph/pysph/tools/mesh_tools.cpython-36m-darwin.so
building 'pysph.base.gpu_nnps_base' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/gpu_nnps_base.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/gpu_nnps_base.o
In file included from pysph/base/gpu_nnps_base.cpp:793:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/gpu_nnps_base.o -o /Users/teaq/.github-packages/pysph/pysph/base/gpu_nnps_base.cpython-36m-darwin.so
building 'pysph.base.z_order_gpu_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -Ipysph/base -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/z_order_gpu_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/z_order_gpu_nnps.o
In file included from pysph/base/z_order_gpu_nnps.cpp:809:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
pysph/base/z_order_gpu_nnps.cpp:18105:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/base/z_order_gpu_nnps.cpp:370:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
pysph/base/z_order_gpu_nnps.cpp:18116:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                    CYTHON_FALLTHROUGH;
                    ^
pysph/base/z_order_gpu_nnps.cpp:370:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                 ^
3 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/z_order_gpu_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/z_order_gpu_nnps.cpython-36m-darwin.so
building 'pysph.base.stratified_sfc_gpu_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/stratified_sfc_gpu_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/stratified_sfc_gpu_nnps.o
In file included from pysph/base/stratified_sfc_gpu_nnps.cpp:808:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/stratified_sfc_gpu_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/stratified_sfc_gpu_nnps.cpython-36m-darwin.so
building 'pysph.base.octree_gpu_nnps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/include -arch x86_64 -I/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include/ -I/Users/teaq/opt/anaconda3/envs/pysph/include/python3.6m -c pysph/base/octree_gpu_nnps.cpp -o build/temp.macosx-10.9-x86_64-3.6/pysph/base/octree_gpu_nnps.o
In file included from pysph/base/octree_gpu_nnps.cpp:789:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -L/Users/teaq/opt/anaconda3/envs/pysph/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/pysph/base/octree_gpu_nnps.o -o /Users/teaq/.github-packages/pysph/pysph/base/octree_gpu_nnps.cpython-36m-darwin.so
Creating /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages/PySPH.egg-link (link to .)
Adding PySPH 1.0b2.dev0 to easy-install.pth file
Installing pysph script to /Users/teaq/opt/anaconda3/envs/pysph/bin

Installed /Users/teaq/.github-packages/pysph
Processing dependencies for PySPH==1.0b2.dev0
Searching for Beaker==1.12.1
Best match: Beaker 1.12.1
Adding Beaker 1.12.1 to easy-install.pth file

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for pytools==2022.1.12
Best match: pytools 2022.1.12
Adding pytools 2022.1.12 to easy-install.pth file

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for setuptools==58.0.4
Best match: setuptools 58.0.4
Adding setuptools 58.0.4 to easy-install.pth file

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for Cython==0.29.37
Best match: Cython 0.29.37
Adding Cython 0.29.37 to easy-install.pth file
Installing cygdb script to /Users/teaq/opt/anaconda3/envs/pysph/bin
Installing cython script to /Users/teaq/opt/anaconda3/envs/pysph/bin
Installing cythonize script to /Users/teaq/opt/anaconda3/envs/pysph/bin

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for compyle==0.8.1
Best match: compyle 0.8.1
Adding compyle 0.8.1 to easy-install.pth file

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for cyarray==1.1
Best match: cyarray 1.1
Adding cyarray 1.1 to easy-install.pth file

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for Mako==1.1.6
Best match: Mako 1.1.6
Adding Mako 1.1.6 to easy-install.pth file
Installing mako-render script to /Users/teaq/opt/anaconda3/envs/pysph/bin

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for numpy==1.19.5
Best match: numpy 1.19.5
Adding numpy 1.19.5 to easy-install.pth file
Installing f2py script to /Users/teaq/opt/anaconda3/envs/pysph/bin
Installing f2py3 script to /Users/teaq/opt/anaconda3/envs/pysph/bin
Installing f2py3.6 script to /Users/teaq/opt/anaconda3/envs/pysph/bin

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for typing-extensions==4.1.1
Best match: typing-extensions 4.1.1
Adding typing-extensions 4.1.1 to easy-install.pth file

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for platformdirs==2.4.0
Best match: platformdirs 2.4.0
Adding platformdirs 2.4.0 to easy-install.pth file

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for dataclasses==0.8
Best match: dataclasses 0.8
Adding dataclasses 0.8 to easy-install.pth file

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Searching for MarkupSafe==2.0.1
Best match: MarkupSafe 2.0.1
Adding MarkupSafe 2.0.1 to easy-install.pth file

Using /Users/teaq/opt/anaconda3/envs/pysph/lib/python3.6/site-packages
Finished processing dependencies for PySPH==1.0b2.dev0
(pysph) teaq $ python
Python 3.6.13 |Anaconda, Inc.| (default, Feb 23 2021, 12:58:59) 
[GCC Clang 10.0.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import PySPH
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'PySPH'
>>> import pysph
>>> 

(pysph) teaq $ ls
CHANGES.rst           Makefile              build                 pyproject.toml        requirements.txt      starcluster
LICENSE.txt           PySPH.egg-info        docker                pysph                 setup.cfg             tox.ini
MANIFEST.in           README.rst            docs                  requirements-test.txt setup.py
(pysph) teaq $ ls py
pyproject.toml  pysph/          
(pysph) teaq $ ls pysph/examples/
__init__.py                  db_exp_data.py               hydrostatic_tank.py          sloshing                     tests
_db_geometry.py              elliptical_drop.py           lattice_cylinders.py         sloshing_tank_horizontal.py  tg_with_packed_particles.py
cavity.py                    elliptical_drop_no_scheme.py periodic_cylinders.py        solid_mech                   trivial_inlet_outlet.py
couette.py                   elliptical_drop_simple.py    poiseuille.py                spheric                      two_blocks.py
cube.py                      flow_past_cylinder_2d.py     rayleigh_taylor.py           sphysics
dam_break                    fpc_with_packed_cylinder.py  rigid_body                   st_exp_data.py
dam_break_2d.py              gas_dynamics                 run.py                       surface_tension
dam_break_3d.py              ghia_cavity_data.py          shallow_water                taylor_green.py
(pysph) teaq $ python pysph/examples/dam_break_2d.py
Using h = 0.039000
Generating output in /Users/teaq/.github-packages/pysph/dam_break_2d_output
----------------------------------------------------------------------
No of particles:
  fluid: 2278
  boundary: 1660
  Total: 3938
----------------------------------------------------------------------
Setup took: 8.28055 secs
 36%|███████▏            | 6.3kit | 9.1e-01s [00:40.3<01:10.9 | 0.006s/it]Segmentation fault: 11
nauaneed commented 10 months ago

Python 3.6 might be too old for now. Please try with Python 3.11. I skimmed your cli output and found that there are some openmp errors too. Please go through installation docs to learn more about the dependencies that you need to install using your distro's package manager, conda and pip.

The GitHub actions runner is configured to install and test PySPH every week. You can also refer to the github actions configuration to see how the dependencies are installed.

DTP587 commented 9 months ago

My bad I should have checked more thoroughly! Will try again at some point, but I appreciate the message. I did notice some tests were failing. Would that be an issue here?

nauaneed commented 9 months ago

I found that Segmentation fault can be avoided by increasing the artificial viscosity.

So, python pysph/examples/dam_break_2d.py --alpha 0.2 works.