Skip to content

Instantly share code, notes, and snippets.

@diminish7
Created February 12, 2014 00:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diminish7/8947190 to your computer and use it in GitHub Desktop.
Save diminish7/8947190 to your computer and use it in GitHub Desktop.
NMatrix Compilation Output
deploy@web:~/nmatrix$ bundle exec rake compile
Your Gemfile lists the gem pry (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem rspec-longrun (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
mkdir -p tmp/x86_64-linux/nmatrix/2.1.0
cd tmp/x86_64-linux/nmatrix/2.1.0
/usr/local/rvm/rubies/ruby-2.1.0/bin/ruby -I. ../../../../ext/nmatrix/extconf.rb
using C++ standard... c++0x
g++ reports version... 4.4.3-4ubuntu5.1)
checking for main() in -lclapack... no
checking for main() in -llapack... no
checking for main() in -lcblas... yes
checking for main() in -latlas... yes
checking for atlas/cblas.h... no
checking for cblas.h... yes
checking for clapack.h... yes
checking for clapack_dgetrf() in cblas.h,clapack.h... no
checking for clapack_dgetri() in cblas.h,clapack.h... no
checking for dgesvd_() in clapack.h... no
checking for cblas_dgemm() in cblas.h... yes
creating nmatrix_config.h
creating Makefile
cd -
cd tmp/x86_64-linux/nmatrix/2.1.0
make
compiling ../../../../ext/nmatrix/nmatrix.cpp
In file included from ../../../../ext/nmatrix/nmatrix.cpp:297:
../../../../ext/nmatrix/ruby_nmatrix.c: In function 'SLICE* get_slice(size_t, int, VALUE*, size_t*)':
../../../../ext/nmatrix/ruby_nmatrix.c:2564: warning: comparison between signed and unsigned integer expressions
../../../../ext/nmatrix/ruby_nmatrix.c: In function 'VALUE nm_init_new_version(int, VALUE*, VALUE)':
../../../../ext/nmatrix/ruby_nmatrix.c:1051: warning: 'init' may be used uninitialized in this function
compiling ../../../../ext/nmatrix/ruby_constants.cpp
compiling ../../../../ext/nmatrix/data/data.cpp
compiling ../../../../ext/nmatrix/util/io.cpp
../../../../ext/nmatrix/util/io.cpp: In function 'VALUE nm_rbstring_merge(VALUE, VALUE, VALUE, VALUE)':
../../../../ext/nmatrix/util/io.cpp:254: warning: comparison between signed and unsigned integer expressions
compiling ../../../../ext/nmatrix/math.cpp
In file included from ../../../../ext/nmatrix/math.cpp:124:
../../../../ext/nmatrix/math/swap.h:52:3: warning: "/*" within comment
In file included from ../../../../ext/nmatrix/math.cpp:140:
../../../../ext/nmatrix/math/rot.h: In function 'void nm::math::rot(int, DType*, int, DType*, int, CSDType, CSDType) [with DType = nm::Complex64, CSDType = float]':
../../../../ext/nmatrix/math/rot.h:123: error: 'cblas_csrot' was not declared in this scope
../../../../ext/nmatrix/math/rot.h: In function 'void nm::math::rot(int, DType*, int, DType*, int, CSDType, CSDType) [with DType = nm::Complex128, CSDType = double]':
../../../../ext/nmatrix/math/rot.h:128: error: 'cblas_zdrot' was not declared in this scope
In file included from ../../../../ext/nmatrix/math.cpp:141:
../../../../ext/nmatrix/math/rotg.h: In function 'void nm::math::rotg(DType*, DType*, DType*, DType*) [with DType = nm::Complex64]':
../../../../ext/nmatrix/math/rotg.h:99: error: 'cblas_crotg' was not declared in this scope
../../../../ext/nmatrix/math/rotg.h: In function 'void nm::math::rotg(DType*, DType*, DType*, DType*) [with DType = nm::Complex128]':
../../../../ext/nmatrix/math/rotg.h:104: error: 'cblas_zrotg' was not declared in this scope
make: *** [math.o] Error 1
rake aborted!
Command failed with status (2): [make...]
/usr/local/rvm/gems/ruby-2.1.0@rails3.2/gems/rake-compiler-0.8.3/lib/rake/extensiontask.rb:112:in `block (2 levels) in define_compile_tasks'
/usr/local/rvm/gems/ruby-2.1.0@rails3.2/gems/rake-compiler-0.8.3/lib/rake/extensiontask.rb:111:in `block in define_compile_tasks'
/usr/local/rvm/gems/ruby-2.1.0@rails3.2/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.0@rails3.2/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => compile => compile:x86_64-linux => compile:nmatrix:x86_64-linux => copy:nmatrix:x86_64-linux:2.1.0 => tmp/x86_64-linux/nmatrix/2.1.0/nmatrix.so
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment