You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
numpy '2.0.0.dev-26aa3cf'
scipy '0.10.0.dev'
I installed LLVM, llvm-py and numba as explained in the readme. On running the example script, I get this error:
Assertion failed: ((i >= FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType()) && "Calling a function with a bad signature!"), function init, file Instructions.cpp, line 274.
Abort trap: 6
This is most likely an issue with LLVM and llvm-py. I saw this exact problem using LLVM version 3.2svn (from the head of the development repository), and it was caused by the intrinsic codes in LLVM mismatching with those in llvm-py's _intrinsic_ids.py. Fixed by regenerating these codes in llvm-py.
You can verify this for yourself by doing a comparison of the output of ".../llvm-py/tools/intrgen.py llvm-config --includedir/llvm/Intrisics.gen" with the codes in ".../llvm-py/llvm/_intrinsic_ids.py". Note that you might have multiple installations of LLVM, so check the output of llvm-config --version against the LLVM version you built.
(Sorry about the crappy misuse of the markdown, hopefully this is parse-able.)
Activity
aterrel commentedon Mar 13, 2012
I'm getting the same error on examples/numexpr_compare.py but examples/example.py works. @bayerj do you get this error for examples/example.py
bayerj commentedon Mar 13, 2012
This is my output for example.py, seems valid:
jriehl commentedon May 8, 2012
This is most likely an issue with LLVM and llvm-py. I saw this exact problem using LLVM version 3.2svn (from the head of the development repository), and it was caused by the intrinsic codes in LLVM mismatching with those in llvm-py's _intrinsic_ids.py. Fixed by regenerating these codes in llvm-py.
You can verify this for yourself by doing a comparison of the output of ".../llvm-py/tools/intrgen.py
llvm-config --includedir/llvm/Intrisics.gen" with the codes in ".../llvm-py/llvm/_intrinsic_ids.py". Note that you might have multiple installations of LLVM, so check the output ofllvm-config --versionagainst the LLVM version you built.(Sorry about the crappy misuse of the markdown, hopefully this is parse-able.)
Merge pull request #442 from pitrou/devel
Merge pull request #2 from stuartarchibald/pr_4472
Merge pull request #2 from numba/master
Fix GUFunc schedule computation for more complex broadcasting
Applying review comments numba#2
Merge pull request numba#2 from IntelPython/mlir-lowerer-plier-rebased
Merge pull request #2 from numba/master
Pass null pointer args through as is
fix sigabrt in parfors tests
Fix @Stencil serial-path crash on kernel reuse for non-constant modes