IRC logs of #shogun for Tuesday, 2015-09-01

--- Log opened Tue Sep 01 00:00:00 2015
-!- PirosB3 [~pirosb3@host95-110-dynamic.252-95-r.retail.telecomitalia.it] has joined #shogun01:10
-!- PirosB3 [~pirosb3@host95-110-dynamic.252-95-r.retail.telecomitalia.it] has quit [Quit: PirosB3]02:04
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun02:12
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds]02:17
shogun-buildbotbuild #923 of nightly_none is complete: Success [build successful]  Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_none/builds/92303:02
shogun-buildbotbuild #1044 of nightly_default is complete: Success [build successful]  Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_default/builds/104404:10
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun07:27
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds]07:31
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun08:25
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds]08:30
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun15:37
-!- Arnei [83ad216a@gateway/web/freenode/ip.131.173.33.106] has joined #shogun15:42
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 256 seconds]15:42
-!- cgo [864c368c@gateway/web/freenode/ip.134.76.54.140] has joined #shogun15:42
-!- cgo [864c368c@gateway/web/freenode/ip.134.76.54.140] has quit [Client Quit]15:43
ArneiAnybody around who might help me out? I think i managed to install shogun as well as the modular python interface under ubuntu 14, but i can't get python to find the shogun modules.16:02
lisitsynhey16:05
lisitsynArnei: install like with 'make install'?16:05
Arneiexactly that16:06
ArneiLots of people suggest setting PYTHONPATH in the .bashrc file, but that does not seem change anything16:11
lisitsynArnei: sorry back16:20
lisitsynArnei: what happens when you do 'import modshogun'?16:21
Arneiit tells me that there is "no module named modshogun"16:22
lisitsynokie16:22
lisitsynArnei: what did you do to compile python_modular interface?16:22
ArneiI cloned the shogun-toolbox from github, build it via cmake with the command "cmake -DPythonModular=On -DCMAKE_INSTALL_PREFIX="$HOME/shogun-install".." and then ran "make install". That's roughly it.16:24
@wikingPYTHONPATH + LD_LIBRARY_PATH is your friend16:31
Arneii tried setting that in the .bashrc, but to no avail16:34
Arneito be more precise: export LD_LIBRARY_PATH="$HOME/shogun-install/lib:$LD_LIBRARY_PATH"16:34
Arneiexport PYTHONPATH=$HOME/shogun-install/lib/python2.7/dist-packages:$HOME/shogun/examples/undocumented/python_modular:$PYTHONPATH16:34
lisitsynshogun-install or shoguninstall?16:37
lisitsynLD_LIBRARY_PATH is the second step16:38
lisitsynfirst you need to make it detectable by python16:38
lisitsynthis is done via PYTHONPATH16:38
lisitsynI guess your path is not yet correct16:38
Arneiaaah, i'm stumbling over the obvious again. Thanks, i'll see if correcting the paths will sort it out16:46
ArneiOkay, i copy&pasted the paths from the filemanager, they should be correct now. But there still is "no module named modshogun"16:52
lisitsynArnei: if you're setting .bashrc it could be that you didn't update it yet16:55
lisitsynif you haven't restarted bash, do 'source ~/.bashrc'16:55
ArneiI've done that, but it changed nothing. Is 'source ~/.bashrc' supposed to give any feedback?16:58
@besser82Arnei, source ~/.bashrc ; echo $?   ---->  returns 0 if no error...16:59
ArneiSorry, i'm pretty new to Linux in general. At least i'm getting a 0.17:00
lisitsynArnei: did that help?17:15
lisitsynwiking: besser82: guys?17:15
ArneiNope, still nothing17:15
lisitsynArnei: is modshogun.so in the directory you pointed?17:16
ArneiYes, it is17:17
lisitsynArnei: what if you do PYTHONPATH=this/directory/we/are/talking/about python -c 'import modshogun'?17:18
ArneiPYTHONPATH=$HOME/arwilken/shogun-install../lib/python2.7/dist-packages python -c 'import modshogun'17:20
ArneiImportError: No module named modshogun17:20
lisitsynand ls "$HOME/arwilken/shogun-install../lib/python2.7/dist-packages" shows you modshogun.so?17:21
Arneiit ... actually doesn't. wired, that is the location i found via the filemanager. and that is precisely the path it gave me.17:23
Arnei*weird, not wired^^17:24
Arneioh wait, it does. nevermind17:25
Arneialthough it shows me "_modshogun.so", but i suppose that is what you meant17:26
@wikingmijauuuuu17:33
-!- rajul [~rajul@node-41i.pool-101-108.dynamic.totbb.net] has joined #shogun17:34
ArneiOkay, somehow exchanging "$HOME" with "/home" did the trick. Looks like the imports work now.17:37
ArneiThanks a lot for your help and your patience :)17:38
-!- Arnei [83ad216a@gateway/web/freenode/ip.131.173.33.106] has quit [Quit: Page closed]17:44
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun18:39
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds]18:44
@wikinganybody knows a good distributed cache for c/c++20:00
-!- rajul [~rajul@node-41i.pool-101-108.dynamic.totbb.net] has quit [Quit: Leaving]20:35
-!- rajul [~rajul@node-41i.pool-101-108.dynamic.totbb.net] has joined #shogun20:36
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun21:02
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds]21:06
-!- rajul [~rajul@node-41i.pool-101-108.dynamic.totbb.net] has quit [Ping timeout: 252 seconds]22:06
-!- rajul [~rajul@node-xho.pool-125-24.dynamic.totbb.net] has joined #shogun22:19
--- Log closed Wed Sep 02 00:00:02 2015

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!