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
utensilsong@vm-1:~/projects/DavidRagazzi$ git clone https://github.com/DavidRagazzi/nupic.git
utensilsong@vm-1:~/projects/DavidRagazzi$ cd nupic
utensilsong@vm-1:~/projects/DavidRagazzi/nupic$ export REPOSITORY=`pwd`
Stage CMake
utensilsong@vm-1:~/projects/DavidRagazzi/nupic$ mkdir $REPOSITORY/build_system
utensilsong@vm-1:~/projects/DavidRagazzi/nupic$ cd $REPOSITORY/build_system
utensilsong@vm-1:~/projects/DavidRagazzi/nupic/build_system$
utensilsong@vm-1:~/projects/DavidRagazzi/nupic/build_system$ cmake $REPOSITORY
...omitting lots of output...
-- Environment variables:
-- PATH = /home/utensilsong/projects/DavidRagazzi/nupic/build/release/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-- PYTHONPATH = /home/utensilsong/projects/DavidRagazzi/nupic/build/release/lib/python2.7/site-packages
-- NUPIC = /home/utensilsong/projects/DavidRagazzi/nupic
-- LD_LIBRARY_PATH = /home/utensilsong/projects/DavidRagazzi/nupic/build/temp/lib:
-- DYLD_LIBRARY_PATH = /home/utensilsong/projects/DavidRagazzi/nupic/build/release/lib:
-- NTA = /home/utensilsong/projects/DavidRagazzi/nupic/build/release
-- NTA_ROOTDIR = /home/utensilsong/projects/DavidRagazzi/nupic/build/release
-- NTA_DATA_PATH = /home/utensilsong/projects/DavidRagazzi/nupic/build/release/share/prediction/data
-- NTAX_DEVELOPER_BUILD =
...omitting lots of output...
[ 63%] Built target nupic_core
Scanning dependencies of target htmtest
[ 63%] Scanning dependencies of target testeverything
Building CXX object CMakeFiles/htmtest.dir/test/htmtest/htmtest.cpp.o
...omitting lots of output...
-- Build files have been written to: /home/utensilsong/projects/DavidRagazzi/nupic/build_system
Stage make
utensilsong@vm-1:~/projects/DavidRagazzi/nupic/build_system$ cd $REPOSITORY/build_system
utensilsong@vm-1:~/projects/DavidRagazzi/nupic/build_system$
utensilsong@vm-1:~/projects/DavidRagazzi/nupic/build_system$ make -j3
...omitting lots of output...
[100%] Building CXX object CMakeFiles/htmtest.dir/tests/htmtest/htmtest.cpp.o
Linking CXX executable ../build/release/bin/htmtest
[100%] Built target htmtest
utensilsong@vm-1:~/projects/DavidRagazzi/nupic/build_system$ cd $NTA/bin
utensilsong@vm-1:~/projects/DavidRagazzi/nupic/build/release/bin$ ./htmtest
Creating network...
Region count is 0
Adding a PyNode region...
ERROR: Unable to find the pynode dynamic library because neither NTA_ROOTDIR nor PYTHONPATH is set [/home/utensilsong/projects/DavidRagazzi/nupic/nta/src/main/engine/RegionImplFactory.cpp line 80
]
Exception: Unable to find the pynode dynamic library because neither NTA_ROOTDIR nor PYTHONPATH is set at: /home/utensilsong/projects/DavidRagazzi/nupic/nta/src/main/engine/RegionImplFactory.cpp:8
0
Stage testeverything
utensilsong@vm-1:~/projects/DavidRagazzi/nupic/build/release/bin$ ./testeverything
bash: ./testeverything: No such file or directory
Stage run_test.sh
utensilsong@vm-1:~/projects/DavidRagazzi/nupic$ $NUPIC/run_tests.sh --all
/home/utensilsong/projects/DavidRagazzi/nupic/run_tests.sh: 2: /home/utensilsong/projects/DavidRagazzi/nupic/run_tests.sh: actual_dir: not found
======================================================================================= test session starts ========================================================================================
platform linux2 -- Python 2.7.4 -- pytest-2.4.2 -- /usr/bin/python
plugins: cov, xdist
collecting 3 items / 1 errors
============================================================================================== ERRORS ==============================================================================================
__________________________________________________________ ERROR collecting tests/integration/py2/nupic/algorithms/tp_likelihood_test.py ___________________________________________________________
tests/integration/py2/nupic/algorithms/tp_likelihood_test.py:52: in <module>
> from nupic.research.TP import TP
E ImportError: No module named nupic.research.TP
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================================== 1 error in 1.27 seconds ======================================================================================
utensilsong@vm-1:~/projects/DavidRagazzi/nupic$
mkdir $REPOSITORY/build_system
cd $REPOSITORY/build_system
cmake $REPOSITORY
Now cmake runs fine.
Make output
utensilsong@vm-1:~/projects/nupic/build_system$ make -j3
Scanning dependencies of target support
[ 6%] [ 12%] [ 18%] Building CXX object CMakeFiles/support.dir/lang/py/support/NumpyVector.cpp.o
Building CXX object CMakeFiles/support.dir/lang/py/support/PythonStream.cpp.o
Building CXX object CMakeFiles/support.dir/lang/py/support/PyArray.cpp.o
In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:15,
from /home/utensilsong/projects/nupic/lang/py/support/NumpyVector.cpp:33:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_
VERSION" [-Wcpp]In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:15,
from /home/utensilsong/projects/nupic/lang/py/support/PyArray.cpp:33:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_
VERSION" [-Wcpp]
[ 25%] Building CXX object CMakeFiles/support.dir/lang/py/support/PyHelpers.cpp.o
Linking CXX static library ../build/temp/lib/libsupport.a
[ 25%] Built target support
[ 31%] Swig source
[ 37%] Building CXX object CMakeFiles/_algorithms.dir/build/temp/py/bindings/algorithms/algorithms_pyPYTHON_wrap.cxx.o
In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:15,
from /home/utensilsong/projects/nupic/build/temp/py/bindings/algorithms/algorithms_pyPYTHON_wrap.cxx:3777:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_
VERSION" [-Wcpp]
Linking CXX shared module ../build/release/lib/python2.7/site-packages/nupic/bindings/_algorithms.so
[ 37%] Built target _algorithms
[ 43%] Swig source
[ 50%] Building CXX object CMakeFiles/_engine_internal.dir/build/temp/lang/py/bindings/engine_internal/engine_internal_pyPYTHON_wrap.cxx.o
In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:15,
from /home/utensilsong/projects/nupic/build/temp/lang/py/bindings/engine_internal/engine_internal_pyPYTHON_wrap.cxx:4774:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_
VERSION" [-Wcpp]
Linking CXX shared module ../build/release/lib/python2.7/site-packages/nupic/bindings/_engine_internal.so
[ 50%] Built target _engine_internal
[ 56%] Swig source
[ 62%] Building CXX object CMakeFiles/_iorange.dir/build/temp/py/bindings/iorange/iorange_pyPYTHON_wrap.cxx.o
In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:15,
from /home/utensilsong/projects/nupic/build/temp/py/bindings/iorange/iorange_pyPYTHON_wrap.cxx:2716:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_
VERSION" [-Wcpp]
Linking CXX shared module ../build/release/lib/python2.7/site-packages/nupic/bindings/_iorange.so
[ 62%] Built target _iorange
[ 68%] Swig source
Scanning dependencies of target _math
[ 68%] Swig source
[ 75%] Building CXX object CMakeFiles/_math.dir/build/temp/py/bindings/math/math_pyPYTHON_wrap.cxx.o
In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:15,
from /home/utensilsong/projects/nupic/build/temp/py/bindings/math/math_pyPYTHON_wrap.cxx:2749:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_
VERSION" [-Wcpp]
[ 81%] Building CXX object CMakeFiles/_math.dir/py/bindings/math/PySparseTensor.cpp.o
In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:15,
from /home/utensilsong/projects/nupic/lang/py/support/NumpyVector.hpp:34,
from /home/utensilsong/projects/nupic/py/bindings/math/PySparseTensor.cpp:28:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_
VERSION" [-Wcpp]
Linking CXX shared module ../build/release/lib/python2.7/site-packages/nupic/bindings/_math.so
[ 81%] Built target _math
Linking CXX shared library ../build/release/lib/libcpp_region.so
[ 93%] Built target cpp_region
Scanning dependencies of target htmtest
[100%] Building CXX object CMakeFiles/htmtest.dir/tests/htmtest/htmtest.cpp.o
/home/utensilsong/projects/nupic/tests/htmtest/htmtest.cpp: In function ‘int realmain(bool)’:
/home/utensilsong/projects/nupic/tests/htmtest/htmtest.cpp:496:9: warning: unused variable ‘val’ [-Wunused-variable]
Linking CXX executable ../build/release/bin/htmtest
[100%] Built target htmtest