Closed iamrajiv closed 4 years ago
Did you follow the instructions on the README? as this output is not showing compilation successful or error in compilation.
@Uditgulati Yes, I have. It works fine till bundle install
command but when I do rake compile
it shows this
$ numruby git:(master) rake compile
mkdir -p tmp/universal.x86_64-darwin18/nmatrix/2.3.7
cd tmp/universal.x86_64-darwin18/nmatrix/2.3.7
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -I. ../../../../ext/extconf.rb
using C++ standard... c++0x
g++ reports version... version
checking for rb_array_const_ptr() in ruby.h... yes
checking for FIX_CONST_VALUE_PTR in ruby.h... yes
checking for RARRAY_CONST_PTR in ruby.h... yes
checking for RARRAY_AREF in ruby.h... yes
checking for main() in -lblas... yes
checking for main() in -llapacke... yes
creating nmatrix_config.h
creating Makefile
cd -
cd tmp/universal.x86_64-darwin18/nmatrix/2.3.7
/usr/bin/make
compiling ../../../../ext/ruby_nmatrix.c
../../../../ext/ruby_nmatrix.c:102:14: warning: implicit conversion from enumeration type 'nm_stype' (aka 'enum nm_stype') to different enumeration type 'nm_dtype'
(aka 'enum nm_dtype') [-Wenum-conversion]
return (nm_stype)index;
~~~~~~ ^~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:734:33: warning: implicit conversion from enumeration type 'nm_dtype' (aka 'enum nm_dtype') to different enumeration type 'nm_stype'
(aka 'enum nm_stype') [-Wenum-conversion]
mat->stype = (argc > 3) ? nm_stype_from_rbsymbol(argv[3]) : nm_dense;
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:738:33: warning: implicit conversion from enumeration type 'nm_dtype' (aka 'enum nm_dtype') to different enumeration type 'nm_stype'
(aka 'enum nm_stype') [-Wenum-conversion]
mat->stype = (argc > 4) ? nm_stype_from_rbsymbol(argv[5]) : nm_dense;
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:808:16: warning: 5 enumeration values not handled in switch: 'nm_bool', 'nm_int', 'nm_float32'... [-Wswitch]
switch(mat->dtype){
^
../../../../ext/ruby_nmatrix.c:808:16: note: add missing switch cases
switch(mat->dtype){
^
../../../../ext/ruby_nmatrix.c:930:14: warning: 5 enumeration values not handled in switch: 'nm_bool', 'nm_int', 'nm_float32'... [-Wswitch]
switch(input->dtype){
^
../../../../ext/ruby_nmatrix.c:930:14: note: add missing switch cases
switch(input->dtype){
^
../../../../ext/ruby_nmatrix.c:1056:14: warning: 5 enumeration values not handled in switch: 'nm_bool', 'nm_int', 'nm_float32'... [-Wswitch]
switch(input->dtype){
^
../../../../ext/ruby_nmatrix.c:1056:14: note: add missing switch cases
switch(input->dtype){
^
../../../../ext/ruby_nmatrix.c:1196:14: warning: 5 enumeration values not handled in switch: 'nm_bool', 'nm_int', 'nm_float32'... [-Wswitch]
switch(input->dtype){
^
../../../../ext/ruby_nmatrix.c:1196:14: note: add missing switch cases
switch(input->dtype){
^
../../../../ext/ruby_nmatrix.c:1969:10: warning: unused variable 'broadcast_dims' [-Wunused-variable]
size_t broadcast_dims = max(ndims1, ndims2);
^
../../../../ext/ruby_nmatrix.c:2252:34: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
result_elements[index] = sin(input_elements[index]);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2392:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(cos, cos)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2393:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(tan, tan)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2394:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(asin, asin)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2395:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(acos, acos)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2396:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(atan, atan)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2397:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(sinh, sinh)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2398:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(cosh, cosh)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2399:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(tanh, tanh)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2400:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(asinh, asinh)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2401:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(acosh, acosh)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2402:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(atanh, atanh)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2403:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(exp, exp)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2404:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(log10, log10)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2404:1: warning: implicit declaration of function 'clog10' is invalid in C99 [-Wimplicit-function-declaration]
DEF_UNARY_RUBY_ACCESSOR(log10, log10)
^
../../../../ext/ruby_nmatrix.c:2373:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = c##oper(input_elements[index]); \
^
<scratch space>:179:1: note: expanded from here
clog10
^
../../../../ext/ruby_nmatrix.c:2404:1: warning: implicit declaration of function 'clog10' is invalid in C99 [-Wimplicit-function-declaration]
../../../../ext/ruby_nmatrix.c:2383:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = c##oper(input_elements[index]); \
^
<scratch space>:180:1: note: expanded from here
clog10
^
../../../../ext/ruby_nmatrix.c:2405:25: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR(sqrt, sqrt)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2333:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2475:37: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX(log2, log2)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2428:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2476:37: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX(log1p, log1p)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2428:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2477:37: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX(erf, erf)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
../../../../ext/ruby_nmatrix.c:2428:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2478:37: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX(erfc, erfc)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2428:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2479:37: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX(cbrt, cbrt)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2428:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2480:37: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX(lgamma, lgamma)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2428:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2481:37: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX(tgamma, tgamma)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2428:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2482:37: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX(floor, floor)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2428:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2483:37: warning: implicit conversion turns floating-point number into bool: 'double' to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX(ceil, ceil)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2428:34: note: expanded from macro 'DEF_UNARY_RUBY_ACCESSOR_NON_COMPLEX'
result_elements[index] = oper(input_elements[index]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/ruby_nmatrix.c:2985:14: warning: 5 enumeration values not handled in switch: 'nm_bool', 'nm_int', 'nm_float32'... [-Wswitch]
switch(nmat->dtype){
^
../../../../ext/ruby_nmatrix.c:2985:14: note: add missing switch cases
switch(nmat->dtype){
^
../../../../ext/ruby_nmatrix.c:3084:14: warning: 5 enumeration values not handled in switch: 'nm_bool', 'nm_int', 'nm_float32'... [-Wswitch]
switch(nmat->dtype){
^
../../../../ext/ruby_nmatrix.c:3084:14: note: add missing switch cases
switch(nmat->dtype){
^
In file included from ../../../../ext/ruby_nmatrix.c:3138:
../../../../ext/lapack.c:301:7: warning: unused variable 'm' [-Wunused-variable]
int m = matrix->shape[0]; //no. of rows
^
../../../../ext/lapack.c:384:7: warning: unused variable 'm_b' [-Wunused-variable]
int m_b = matrix_b->shape[0]; //no. of rows
^
../../../../ext/lapack.c:377:7: warning: unused variable 'm_a' [-Wunused-variable]
int m_a = matrix_a->shape[0]; //no. of rows
^
../../../../ext/lapack.c:522:15: warning: unused variable 'elements' [-Wunused-variable]
double* elements = (double*)matrix->elements;
^
../../../../ext/lapack.c:523:15: warning: unused variable 'elements_s' [-Wunused-variable]
double* elements_s;
^
../../../../ext/lapack.c:524:15: warning: unused variable 'elements_u' [-Wunused-variable]
double* elements_u;
^
../../../../ext/lapack.c:486:7: warning: unused variable 'm' [-Wunused-variable]
int m = matrix->shape[0]; //no. of rows
^
../../../../ext/lapack.c:488:7: warning: unused variable 'lda' [-Wunused-variable]
int lda = n, info = -1;
^
../../../../ext/lapack.c:488:16: warning: unused variable 'info' [-Wunused-variable]
int lda = n, info = -1;
^
../../../../ext/lapack.c:499:12: warning: unused variable 'result' [-Wunused-variable]
nmatrix* result = nmatrix_new(matrix->dtype, matrix->stype, 2, matrix->count, matrix->shape, NULL);
^
../../../../ext/lapack.c:580:14: warning: incompatible pointer types initializing 'float *' with an expression of type 'int *' [-Wincompatible-pointer-types]
float* ipiv_elements = ALLOC_N(int, min(m, n));
^ ~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/lapack.c:581:68: warning: incompatible pointer types passing 'float *' to parameter of type 'int *' [-Wincompatible-pointer-types]
info = LAPACKE_sgetrf(LAPACK_ROW_MAJOR, m, n, elements, lda, ipiv_elements);
^~~~~~~~~~~~~
/usr/local/opt/openblas/include/lapacke.h:1140:66: note: passing argument to parameter 'ipiv' here
float* a, lapack_int lda, lapack_int* ipiv );
^
In file included from ../../../../ext/ruby_nmatrix.c:3138:
../../../../ext/lapack.c:595:15: warning: incompatible pointer types initializing 'double *' with an expression of type 'int *' [-Wincompatible-pointer-types]
double* ipiv_elements = ALLOC_N(int, min(m, n));
^ ~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/lapack.c:596:68: warning: incompatible pointer types passing 'double *' to parameter of type 'int *' [-Wincompatible-pointer-types]
info = LAPACKE_dgetrf(LAPACK_ROW_MAJOR, m, n, elements, lda, ipiv_elements);
^~~~~~~~~~~~~
/usr/local/opt/openblas/include/lapacke.h:1142:67: note: passing argument to parameter 'ipiv' here
double* a, lapack_int lda, lapack_int* ipiv );
^
In file included from ../../../../ext/ruby_nmatrix.c:3138:
../../../../ext/lapack.c:610:22: warning: incompatible pointer types initializing '_Complex float *' with an expression of type 'int *' [-Wincompatible-pointer-types]
float complex* ipiv_elements = ALLOC_N(int, min(m, n));
^ ~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/lapack.c:611:68: warning: incompatible pointer types passing '_Complex float *' to parameter of type 'int *' [-Wincompatible-pointer-types]
info = LAPACKE_cgetrf(LAPACK_ROW_MAJOR, m, n, elements, lda, ipiv_elements);
^~~~~~~~~~~~~
/usr/local/opt/openblas/include/lapacke.h:1145:40: note: passing argument to parameter 'ipiv' here
lapack_int* ipiv );
^
In file included from ../../../../ext/ruby_nmatrix.c:3138:
../../../../ext/lapack.c:625:23: warning: incompatible pointer types initializing '_Complex double *' with an expression of type 'int *' [-Wincompatible-pointer-types]
double complex* ipiv_elements = ALLOC_N(int, min(m, n));
^ ~~~~~~~~~~~~~~~~~~~~~~~
../../../../ext/lapack.c:626:68: warning: incompatible pointer types passing '_Complex double *' to parameter of type 'int *' [-Wincompatible-pointer-types]
info = LAPACKE_zgetrf(LAPACK_ROW_MAJOR, m, n, elements, lda, ipiv_elements);
^~~~~~~~~~~~~
/usr/local/opt/openblas/include/lapacke.h:1148:40: note: passing argument to parameter 'ipiv' here
lapack_int* ipiv );
^
In file included from ../../../../ext/ruby_nmatrix.c:3138:
../../../../ext/lapack.c:661:7: warning: unused variable 'm_b' [-Wunused-variable]
int m_b = matrix_b->shape[0]; //no. of rows
^
../../../../ext/lapack.c:651:7: warning: unused variable 'm_a' [-Wunused-variable]
int m_a = matrix_a->shape[0]; //no. of rows
^
../../../../ext/lapack.c:756:7: warning: unused variable 'm' [-Wunused-variable]
int m = matrix_lu->shape[0]; //no. of rows
^
../../../../ext/lapack.c:870:7: warning: unused variable 'm_a' [-Wunused-variable]
int m_a = matrix_a->shape[0]; //no. of rows
^
../../../../ext/lapack.c:877:7: warning: unused variable 'm_b' [-Wunused-variable]
int m_b = matrix_b->shape[0]; //no. of rows
^
../../../../ext/lapack.c:983:7: warning: unused variable 'm_a' [-Wunused-variable]
int m_a = matrix_a->shape[0]; //no. of rows
^
../../../../ext/lapack.c:990:7: warning: unused variable 'm_b' [-Wunused-variable]
int m_b = matrix_b->shape[0]; //no. of rows
^
../../../../ext/lapack.c:1287:11: warning: 4 enumeration values not handled in switch: 'nm_bool', 'nm_int', 'nm_complex32'... [-Wswitch]
switch (matrix->dtype) {
^
../../../../ext/lapack.c:1287:11: note: add missing switch cases
switch (matrix->dtype) {
^
../../../../ext/lapack.c:1361:11: warning: 4 enumeration values not handled in switch: 'nm_bool', 'nm_int', 'nm_complex32'... [-Wswitch]
switch (lhs->dtype) {
^
../../../../ext/lapack.c:1361:11: note: add missing switch cases
switch (lhs->dtype) {
^
In file included from ../../../../ext/ruby_nmatrix.c:3139:
../../../../ext/sparse.c:656:13: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
const const int* data = data_t;
^
../../../../ext/sparse.c:946:19: warning: expression result unused [-Wunused-value]
data[index];//TODO: fix this
~~~~ ~~~~~^
../../../../ext/sparse.c:958:19: warning: expression result unused [-Wunused-value]
data[index];//TODO: fix this
~~~~ ~~~~~^
../../../../ext/sparse.c:970:19: warning: expression result unused [-Wunused-value]
data[index];//TODO: fix this
~~~~ ~~~~~^
../../../../ext/sparse.c:982:19: warning: expression result unused [-Wunused-value]
data[index];//TODO: fix this
~~~~ ~~~~~^
../../../../ext/sparse.c:994:19: warning: expression result unused [-Wunused-value]
data[index];//TODO: fix this
~~~~ ~~~~~^
../../../../ext/sparse.c:1006:19: warning: expression result unused [-Wunused-value]
data[index];//TODO: fix this
~~~~ ~~~~~^
70 warnings generated.
linking shared-object nmatrix.bundle
ld: warning: directory not found for option '-L/opt/local/lib'
cd -
mkdir -p tmp/universal.x86_64-darwin18/stage/lib/
install -c tmp/universal.x86_64-darwin18/nmatrix/2.3.7/nmatrix.bundle lib//nmatrix.bundle
cp tmp/universal.x86_64-darwin18/nmatrix/2.3.7/nmatrix.bundle tmp/universal.x86_64-darwin18/stage/lib//nmatrix.bundle
Now run ‘rake test’
@Uditgulati When I do rake test
it shows this
➜ numruby git:(master) ✗ rake test
Run options: --seed 32581
# Running:
S..................../Users/rajiv/Desktop/numruby/test/nmatrix_test.rb:60: [BUG] Segmentation fault at 0x0000009a00000018
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
Don't forget to include the above Crash Report log file in bug reports.
-- Control frame information -----------------------------------------------
c:0024 p:---- s:0108 e:000107 CFUNC :[]
c:0023 p:0037 s:0102 e:000100 METHOD /Users/rajiv/Desktop/numruby/test/nmatrix_test.rb:60
c:0022 p:0029 s:0098 e:000097 BLOCK /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:98
c:0021 p:0006 s:0096 e:000095 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:195
c:0020 p:0009 s:0092 e:000091 BLOCK /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:95
c:0019 p:0020 s:0090 e:000089 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:270
c:0018 p:0009 s:0086 e:000085 BLOCK /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:94
c:0017 p:0037 s:0084 E:000080 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:365
c:0016 p:0052 s:0077 E:0026f8 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:211
c:0015 p:0009 s:0071 E:002670 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:93
c:0014 p:0014 s:0068 e:000067 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:1026
c:0013 p:0032 s:0062 e:000060 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:339
c:0012 p:0014 s:0055 e:000054 BLOCK /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:326 [FINISH]
c:0011 p:---- s:0052 e:000051 CFUNC :each
c:0010 p:0010 s:0049 e:000048 BLOCK /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:325
c:0009 p:0037 s:0047 E:002550 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:365
c:0008 p:0035 s:0040 E:0024b8 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:352
c:0007 p:0145 s:0034 E:002428 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:324
c:0006 p:0013 s:0026 e:000025 BLOCK /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:164 [FINISH]
c:0005 p:---- s:0023 e:000022 CFUNC :map
c:0004 p:0046 s:0020 e:000019 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:164
c:0003 p:0180 s:0012 e:000011 METHOD /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:141
c:0002 p:0085 s:0006 E:0020d0 BLOCK /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:68 [FINISH]
c:0001 p:0000 s:0002 E:000300 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:68:in `block in autorun'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:141:in `run'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:164:in `__run'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:164:in `map'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:164:in `block in __run'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:324:in `run'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:352:in `with_info_handler'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:365:in `on_signal'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:325:in `block in run'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:325:in `each'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:326:in `block (2 levels) in run'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:339:in `run_one_method'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:1026:in `run_one_method'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:93:in `run'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:211:in `with_info_handler'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:365:in `on_signal'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:94:in `block in run'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb:270:in `time_it'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:95:in `block (2 levels) in run'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:195:in `capture_exceptions'
/Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb:98:in `block (3 levels) in run'
/Users/rajiv/Desktop/numruby/test/nmatrix_test.rb:60:in `test_slicing'
/Users/rajiv/Desktop/numruby/test/nmatrix_test.rb:60:in `[]'
-- Machine register context ------------------------------------------------
rax: 0x0000009a00000010 rbx: 0x0000009a00000018 rcx: 0x00007fb713da73a0
rdx: 0x0000000000000003 rdi: 0x0000009a00000018 rsi: 0x0000000000000000
rbp: 0x00007ffeeeaddbd0 rsp: 0x00007ffeeeaddba0 r8: 0x00000000fffffffd
r9: 0x00004c0020000002 r10: 0x0000000000000002 r11: 0x0000000000000018
r12: 0x00007fb713eb6fb0 r13: 0x00007fb713eb3990 r14: 0x0000000000000000
r15: 0x00007fb713eb86c0 rip: 0x00007fff40a00f6d rfl: 0x0000000000010202
-- C level backtrace information -------------------------------------------
0 libruby.2.3.0.dylib 0x00007fff40ac5102 rb_print_backtrace + 29
1 libruby.2.3.0.dylib 0x00007fff40ac52d1 rb_vm_bugreport + 355
2 libruby.2.3.0.dylib 0x00007fff409c0711 rb_bug_context + 206
3 libruby.2.3.0.dylib 0x00007fff40a5b94c Init_signal + 3247
4 libsystem_platform.dylib 0x00007fff61db8b5d _sigtramp + 29
5 libruby.2.3.0.dylib 0x00007fff40a00f6d rb_num2ulong + 82
6 nmatrix.bundle 0x00000001012b4017 get_slice + 1319
7 nmatrix.bundle 0x00000001012b2b83 nm_accessor_get + 723
8 libruby.2.3.0.dylib 0x00007fff40abd236 rb_vm_fstring_table + 4981
9 libruby.2.3.0.dylib 0x00007fff40aae1cd rb_vm_get_insns_address_table + 8278
10 libruby.2.3.0.dylib 0x00007fff40ab9915 rb_iseq_eval + 451
11 libruby.2.3.0.dylib 0x00007fff40ab6768 rb_yield_1 + 75
12 libruby.2.3.0.dylib 0x00007fff40993976 rb_ary_each + 52
13 libruby.2.3.0.dylib 0x00007fff40abd236 rb_vm_fstring_table + 4981
14 libruby.2.3.0.dylib 0x00007fff40aadfe9 rb_vm_get_insns_address_table + 7794
15 libruby.2.3.0.dylib 0x00007fff40ab9915 rb_iseq_eval + 451
16 libruby.2.3.0.dylib 0x00007fff40ab6768 rb_yield_1 + 75
17 libruby.2.3.0.dylib 0x00007fff40997aeb Init_Array + 8615
18 libruby.2.3.0.dylib 0x00007fff40abd236 rb_vm_fstring_table + 4981
19 libruby.2.3.0.dylib 0x00007fff40aadfe9 rb_vm_get_insns_address_table + 7794
20 libruby.2.3.0.dylib 0x00007fff40ab9915 rb_iseq_eval + 451
21 libruby.2.3.0.dylib 0x00007fff40ab8dc7 rb_vm_invoke_proc + 272
22 libruby.2.3.0.dylib 0x00007fff409c9da9 rb_proc_call + 82
23 libruby.2.3.0.dylib 0x00007fff409c46d2 rb_exec_end_proc + 375
24 libruby.2.3.0.dylib 0x00007fff409c4633 rb_exec_end_proc + 216
25 libruby.2.3.0.dylib 0x00007fff409c4bef ruby_finalize + 189
26 libruby.2.3.0.dylib 0x00007fff409c4daa ruby_cleanup + 420
27 ruby 0x00000001011211be main + 98
-- Other runtime information -----------------------------------------------
* Loaded script: /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/enc/encdb.bundle
5 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/enc/trans/transdb.bundle
6 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/unicode_normalize.rb
7 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/rbconfig.rb
8 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/compatibility.rb
9 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/defaults.rb
10 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/deprecate.rb
11 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/errors.rb
12 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/version.rb
13 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/requirement.rb
14 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/platform.rb
15 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/basic_specification.rb
16 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/stub_specification.rb
17 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/util/list.rb
18 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/stringio.bundle
19 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/rfc2396_parser.rb
20 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb
21 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/common.rb
22 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/generic.rb
23 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/ftp.rb
24 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/http.rb
25 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/https.rb
26 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/ldap.rb
27 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/ldaps.rb
28 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri/mailto.rb
29 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/uri.rb
30 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb
31 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/exceptions.rb
32 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb
33 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb
34 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb
35 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb
36 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems.rb
37 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/path_support.rb
38 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/version.rb
39 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/core_ext/name_error.rb
40 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/levenshtein.rb
41 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/jaro_winkler.rb
42 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkable.rb
43 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/delegate.rb
44 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
45 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
46 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
47 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
48 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/null_checker.rb
49 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/formatter.rb
50 /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean.rb
51 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/version.rb
52 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/etc.bundle
53 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/fileutils.rb
54 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/singleton.rb
55 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/optparse.rb
56 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/ostruct.rb
57 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/ext/module.rb
58 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/ext/core.rb
59 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/ext/string.rb
60 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/early_time.rb
61 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/late_time.rb
62 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/ext/time.rb
63 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/alt_system.rb
64 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/win32.rb
65 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/linked_list.rb
66 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/cpu_counter.rb
67 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/scope.rb
68 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/task_argument_error.rb
69 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb
70 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/shellwords.rb
71 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/task_manager.rb
72 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/cloneable.rb
73 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/file_utils.rb
74 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/file_utils_ext.rb
75 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/pathmap.rb
76 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/file_list.rb
77 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/set.rb
78 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/promise.rb
79 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/thread_pool.rb
80 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/private_reader.rb
81 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/thread_history_display.rb
82 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/trace_output.rb
83 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb
84 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/rake_module.rb
85 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/pseudo_status.rb
86 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/task_arguments.rb
87 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/invocation_chain.rb
88 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb
89 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/task.rb
90 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/file_task.rb
91 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/file_creation_task.rb
92 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/multi_task.rb
93 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/dsl_definition.rb
94 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/default_loader.rb
95 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/name_space.rb
96 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake/backtrace.rb
97 /Library/Ruby/Gems/2.3.0/gems/rake-10.5.0/lib/rake.rb
98 /Users/rajiv/Desktop/numruby/lib/nmatrix/numruby.rb
99 /Users/rajiv/Desktop/numruby/lib/nmatrix/nmatrix.rb
100 /Users/rajiv/Desktop/numruby/lib/nmatrix/lapack.rb
101 /Users/rajiv/Desktop/numruby/lib/nmatrix/blas.rb
102 /Users/rajiv/Desktop/numruby/lib/nmatrix.bundle
103 /Users/rajiv/Desktop/numruby/lib/nmatrix.rb
104 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/mutex_m.rb
105 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/parallel.rb
106 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/tmpdir.rb
107 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/tempfile.rb
108 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/assertions.rb
109 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/unit.rb
110 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/test.rb
111 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest.rb
112 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/expectations.rb
113 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/spec.rb
114 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/mock.rb
115 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/autorun.rb
116 /Users/rajiv/Desktop/numruby/test/test_helper.rb
117 /Users/rajiv/Desktop/numruby/test/blas_test.rb
118 /Users/rajiv/Desktop/numruby/test/elementwise_test.rb
119 /Users/rajiv/Desktop/numruby/test/lapack_test.rb
120 /Users/rajiv/Desktop/numruby/test/nmatrix_test.rb
121 /Users/rajiv/Desktop/numruby/test/numruby_test.rb
122 /Users/rajiv/Desktop/numruby/test/statistics_test.rb
123 /Library/Ruby/Gems/2.3.0/gems/minitest-5.14.0/lib/minitest/pride_plugin.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
rake aborted!
SignalException: SIGABRT
Tasks: TOP => test
(See full trace by running task with --trace)
@iamrajiv These logs show failing tests. This is because tests are actually failing. It'll be fixed soon. Your build is as expected. If you don't have any other issues with the build then we can close the issue.
I am getting error in building the library when I use
rake compile
commandI am using