mlpack IRC logs, 2018-02-09

Logs for the day 2018-02-09 (starts at 0:00 UTC) are shown below.

February 2018
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
 
 
 
1
2
3
4
5
6
7
8
9
--- Log opened Fri Feb 09 00:00:04 2018
01:44 -!- govg [~govg@unaffiliated/govg] has quit [Ping timeout: 260 seconds]
01:46 -!- govg [~govg@unaffiliated/govg] has joined #mlpack
01:51 -!- govg [~govg@unaffiliated/govg] has quit [Ping timeout: 264 seconds]
01:51 -!- govg [~govg@unaffiliated/govg] has joined #mlpack
01:56 -!- govg [~govg@unaffiliated/govg] has quit [Ping timeout: 240 seconds]
02:08 -!- witness [uid10044@gateway/web/irccloud.com/x-vtjaiunahhborlaw] has joined #mlpack
03:31 -!- govg [~govg@unaffiliated/govg] has joined #mlpack
03:39 -!- vivekp [~vivek@unaffiliated/vivekp] has quit [Ping timeout: 255 seconds]
03:41 -!- vivekp [~vivek@unaffiliated/vivekp] has joined #mlpack
05:23 -!- daivik [7d10a738@gateway/web/cgi-irc/kiwiirc.com/ip.125.16.167.56] has joined #mlpack
07:13 -!- vivekp [~vivek@unaffiliated/vivekp] has quit [Ping timeout: 260 seconds]
07:16 -!- vivekp [~vivek@unaffiliated/vivekp] has joined #mlpack
08:04 -!- daivik [7d10a738@gateway/web/cgi-irc/kiwiirc.com/ip.125.16.167.56] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
08:06 -!- kaushik_ [uid193796@gateway/web/irccloud.com/x-ohsxtskvkmumqjfo] has joined #mlpack
09:16 -!- Harpreet [73fe6002@gateway/web/freenode/ip.115.254.96.2] has joined #mlpack
09:44 -!- daivik [7d10a738@gateway/web/cgi-irc/kiwiirc.com/ip.125.16.167.56] has joined #mlpack
09:45 -!- daivik [7d10a738@gateway/web/cgi-irc/kiwiirc.com/ip.125.16.167.56] has quit [Client Quit]
09:46 -!- daivik [7d10a738@gateway/web/cgi-irc/kiwiirc.com/ip.125.16.167.56] has joined #mlpack
11:49 -!- shengsu [01a1edb8@gateway/web/freenode/ip.1.161.237.184] has joined #mlpack
11:58 -!- daivik [7d10a738@gateway/web/cgi-irc/kiwiirc.com/ip.125.16.167.56] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
12:28 -!- daivik [7d10a738@gateway/web/cgi-irc/kiwiirc.com/ip.125.16.167.56] has joined #mlpack
12:30 -!- petris [sid19918@gateway/web/irccloud.com/x-pphizvekeifopjzn] has quit []
12:30 -!- petris [sid19918@gateway/web/irccloud.com/x-dcfpbmoumxcxsrrw] has joined #mlpack
12:36 -!- vivekp [~vivek@unaffiliated/vivekp] has quit [Ping timeout: 255 seconds]
12:36 -!- vivekp [~vivek@unaffiliated/vivekp] has joined #mlpack
12:39 -!- shengsu [01a1edb8@gateway/web/freenode/ip.1.161.237.184] has quit [Ping timeout: 260 seconds]
12:40 -!- vivekp [~vivek@unaffiliated/vivekp] has quit [Ping timeout: 252 seconds]
12:41 -!- vivekp [~vivek@unaffiliated/vivekp] has joined #mlpack
12:58 -!- hacsheng [01a1edb8@gateway/web/freenode/ip.1.161.237.184] has joined #mlpack
13:05 -!- hacsheng_ [01a1edb8@gateway/web/freenode/ip.1.161.237.184] has joined #mlpack
13:05 -!- hacsheng [01a1edb8@gateway/web/freenode/ip.1.161.237.184] has quit [Quit: Page closed]
13:08 < hacsheng_> I have a problem with building the mlpack Python bindings. I can use mlpack on CLI. When I open python and import mlpack, it shows no mlpack module.
13:08 < hacsheng_> I use mac (10.11.6)
13:09 < hacsheng_> I use .sh file to install mlpack
13:09 < hacsheng_> this is my .sh below
13:09 < hacsheng_> brew install armadillo #cd .. curl -O http://netcologne.dl.sourceforge.net/project/boost/boost/1.60.0/boost_1_60_0.tar.gz tar zxvf boost_1_60_0.tar.gz cd boost_1_60_0 sh bootstrap.sh ./b2 ./b2 install cd .. git clone https://github.com/mlpack/mlpack cd mlpack mkdir build cd build #cmake .. cmake -D DEBUG=ON -D PROFILE=ON -D BUILD_CLI_EXECUTABLES=ON -D BUILD_PYTHON_BINDINGS=ON ../ make make install
13:10 < hacsheng_> Does anyone encounter this problem before?
13:16 < rcurtin> are the Python bindings available on your PYTHONPATH?
13:16 < rcurtin> I would imagine they installed into /usr/local/lib/python.../ (or somewhere like this)
13:41 -!- djhoulihan [~djhouliha@static-71-167-121-80.nycmny.fios.verizon.net] has quit [Quit: A deep and dreamless slumber.]
13:42 < hacsheng_> I thought if I set "BUILD_PYTHON_BINDINGS=ON" before I make, Python bindings will be available...
13:45 < rcurtin> yes
13:45 < rcurtin> and if you build and install the Python bindings
13:45 < rcurtin> you need to ensure that your PYTHONPATH includes the directory they were installed to
13:46 < rcurtin> the first check would be to find the directory that the Python bindings installed to; you could search for mlpack/__init__.py somewhere on your system
13:51 -!- djhoulihan [~djhouliha@static-71-167-121-80.nycmny.fios.verizon.net] has joined #mlpack
13:54 -!- govg [~govg@unaffiliated/govg] has quit [Ping timeout: 255 seconds]
13:55 -!- govg [~govg@unaffiliated/govg] has joined #mlpack
14:10 -!- kaushik_ [uid193796@gateway/web/irccloud.com/x-ohsxtskvkmumqjfo] has quit [Quit: Connection closed for inactivity]
14:13 -!- kaushik_ [uid193796@gateway/web/irccloud.com/x-anemzzypauyqcgtr] has joined #mlpack
14:29 < daivik> rcurtin: Upgrading to boost 1.62 solved the problem. You were right, it was a version issue.
14:30 < rcurtin> daivik: ok, that is good to know
14:31 < daivik> also with v1.58, I can see 3 tests failing when i run mlpack_test -- and all are related to serialization
14:31 < rcurtin> hmm, ok
14:31 < rcurtin> so, if you are feeling up to it, you can test if this patch helps on boost 1.58:
14:31 < rcurtin> https://github.com/mlpack/mlpack/pull/1229
14:31 < rcurtin> unfortunately I can't dig in too deep, because the system with which I'd test boost 1.58 is about to go down for the weekend...
14:32 < rcurtin> but anyway, the serialization issues I mentioned yesterday might be affecting some of those tests... but I am not sure. I'm kind of doubtful it will help your exact case
14:32 < rcurtin> in any case, if you want to keep digging feel free; if not, definitely we should open a github issue at this point so that we can continue to track down the issue
14:34 < daivik> Sure, I've got two docker containers set up now -- one with each boost version. I'll give it a go.
14:36 < rcurtin> thanks, I'll be interested to see what you find
14:36 < rcurtin> boost serialization is really nice but when something goes wrong it's a disaster ...
14:45 -!- daivik [7d10a738@gateway/web/cgi-irc/kiwiirc.com/ip.125.16.167.56] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
15:07 -!- clion [0e8b5206@gateway/web/freenode/ip.14.139.82.6] has joined #mlpack
15:22 -!- hacsheng_ [01a1edb8@gateway/web/freenode/ip.1.161.237.184] has quit [Ping timeout: 260 seconds]
15:24 -!- Harpreet [73fe6002@gateway/web/freenode/ip.115.254.96.2] has quit [Ping timeout: 260 seconds]
15:45 -!- ImQ009 [~ImQ009@unaffiliated/imq009] has joined #mlpack
16:16 -!- jenkins-mlpack [~PircBotx@198-0-35-49-static.hfc.comcastbusiness.net] has quit []
16:19 < rcurtin> ok, hopefully jenkins-mlpack will come back someday... :)
16:34 -!- clion [0e8b5206@gateway/web/freenode/ip.14.139.82.6] has quit [Ping timeout: 260 seconds]
16:40 -!- kaushik_ [uid193796@gateway/web/irccloud.com/x-anemzzypauyqcgtr] has quit [Quit: Connection closed for inactivity]
17:12 -!- sshekhar [6a33f2f5@gateway/web/freenode/ip.106.51.242.245] has joined #mlpack
17:47 -!- sshekhar [6a33f2f5@gateway/web/freenode/ip.106.51.242.245] has quit [Ping timeout: 260 seconds]
19:08 -!- hacsheng [01a1edb8@gateway/web/freenode/ip.1.161.237.184] has joined #mlpack
19:08 < hacsheng> question again: c++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -Wl,-F. build/temp.macosx-10.11-intel-2.7/Users/shengsu/Downloads/c++mlpack/mlpack/build/src/mlpack/bindings/python/mlpack/kmeans.o -L/Users/shengsu/Downloads/c++mlpack/mlpack/build/lib/ -lmlpack -lboost_serialization -o build/lib.macosx-10.11-intel-2.7/mlpack/kmeans.so NOTFOUND clang: error: no such file or directory: 'NOTFOUND' error: command 'c++' faile
19:09 < hacsheng> Is it possible for compiler problem?
19:10 < hacsheng> I use mac (clang)
19:26 < rcurtin> huh, looks like one of the libraries was not found...
19:26 < rcurtin> can you tell me the output of 'grep NOTFOUND CMakeCache.txt'
19:27 < hacsheng> Boost_DIR:PATH=Boost_DIR-NOTFOUND CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND OpenMP_CXX_FLAGS:STRING=NOTFOUND OpenMP_CXX_LIB_NAMES:STRING=NOTFOUND OpenMP_C_FLAGS:STRING=NOTFOUND OpenMP_C_LIB_NAMES:STRING=NOTFOUND PKG_CONFIG_EXECUTABLE:FILEPATH=PKG_CONFIG_EXECUTABLE-NOTFOUND TXT2MAN:FILEPATH=TXT2MAN-NOTFOUND
19:34 < rcurtin> ok, so it looks like boost was not found...
19:34 < rcurtin> what was the CMake output?
19:35 < rcurtin> ah, sorry, I think maybe I am incorrect, I think maybe OpenMP wasn't found
19:35 < rcurtin> what is the compiler version?
19:39 < hacsheng> Apple LLVM version 8.0.0 (clang-800.0.42.1)
19:49 < hacsheng> It did work and install successfully 12 hours ago... I try again
19:54 < rcurtin> I thought about it, that version of the compiler has OpenMP support
19:54 < rcurtin> so I am not quite sure what is happening
19:54 < rcurtin> you could remove the full build directory and try again, that may be the right way to go
20:24 -!- hacsheng [01a1edb8@gateway/web/freenode/ip.1.161.237.184] has quit [Ping timeout: 260 seconds]
22:27 -!- ImQ009 [~ImQ009@unaffiliated/imq009] has quit [Quit: Leaving]
23:47 -!- witness [uid10044@gateway/web/irccloud.com/x-vtjaiunahhborlaw] has quit [Quit: Connection closed for inactivity]
--- Log closed Sat Feb 10 00:00:05 2018