IRC logs of #shogun for Tuesday, 2015-05-05

--- Log opened Tue May 05 00:00:12 2015
-!- PirosB3 [~pirosb3@95.238.225.218] has quit [Quit: PirosB3]02:24
-!- pickle27 [~pickle27@192-0-134-235.cpe.teksavvy.com] has joined #shogun02:53
shogun-buildbotbuild #1008 of nightly_default is complete: Failure [failed notebooks]  Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_default/builds/1008  blamelist: Viktor Gal <viktor.gal@maeth.com>03:16
-!- pickle27 [~pickle27@192-0-134-235.cpe.teksavvy.com] has quit [Remote host closed the connection]05:08
-!- sanuj [~sanuj@117.196.236.254] has joined #shogun09:06
sanujdon't we have something to visualize the neural nets?09:07
-!- PirosB3 [~pirosb3@95.238.225.218] has joined #shogun10:19
-!- besser82 [~besser82@fedora/besser82] has joined #shogun10:24
-!- mode/#shogun [+o besser82] by ChanServ10:24
-!- HeikoS [~heiko@host-78-151-165-3.as13285.net] has joined #shogun10:49
-!- mode/#shogun [+o HeikoS] by ChanServ10:49
-!- PirosB3 [~pirosb3@95.238.225.218] has quit [Quit: PirosB3]11:08
-!- besser82 [~besser82@fedora/besser82] has quit [Read error: Permission denied]11:51
-!- besser82 [~besser82@fedora/besser82] has joined #shogun11:52
-!- mode/#shogun [+o besser82] by ChanServ11:52
sanuji want example.cpp to compile with the new build generated from my local repository instead of what is installed in /usr/local.12:30
sanujI'm using the following command12:30
sanujg++ example.cpp -L/home/sanuj/git-reps/shogun/build/ -lshogun12:31
sanujbut the linker is linking to /usr/local version instead of my new build12:31
-!- HeikoS [~heiko@host-78-151-165-3.as13285.net] has quit [Ping timeout: 272 seconds]12:32
-!- HeikoS [~heiko@dab-yat1-h-1-2.dab.02.net] has joined #shogun12:35
-!- mode/#shogun [+o HeikoS] by ChanServ12:35
sanujHeikoS, besser82 : Do you know how this can be solved?12:38
@HeikoSsanuj: yes update your LD_LIBRARY_PATH variable12:38
@HeikoSI think -L appends12:39
@HeikoSdoesnt prepend12:39
sanujif i append it then it gives me some this error "error: ld returned 1 exit status12:39
sanuj"12:39
sanuji'll try adding it to LD_LIBRARY_PATH12:40
@besser82sanuj, HeikoS is right  LD_LIBRARY_PATH is appended to system path, -L is taken after system path12:40
sanujalright i'll try that12:40
sanujHeikoS, I did "export LD_LIBRARY_PATH=/home/sanuj/git-reps/shogun/build/src/shogun/"12:55
sanujand then12:55
sanujg++ -L/home/sanuj/git-reps/shogun/build/src/shogun/ -lshogun example.cpp12:55
sanujnot compiling12:55
sanujmy LD_LIBRARY_PATH was empty before doing the export.12:57
sanuji did sudo ldconfig as well12:58
sanujstill the same errors12:58
@HeikoSI dont know then13:00
@HeikoSsanuj: depends a lot on your local system13:00
@HeikoSwhat about hiding the /local ones13:00
sanujalright, i'll try something13:01
sanujbesser82, any clue about what might be wrong?13:02
sanujI changed my LD_LIBRARY_PATH as stated above.13:02
@besser82sanuj, then temporarily remove the symlinks to libshogun.so.* in /usr/local  ;)13:04
sanujok, i'll do that13:04
-!- sanuj [~sanuj@117.196.236.254] has quit [Read error: Connection reset by peer]13:08
-!- sanuj [~sanuj@117.196.236.254] has joined #shogun13:09
-!- HeikoS [~heiko@dab-yat1-h-1-2.dab.02.net] has quit [Ping timeout: 240 seconds]13:37
-!- sanuj [~sanuj@117.196.236.254] has quit [Ping timeout: 255 seconds]14:06
-!- sanuj [~sanuj@117.196.236.254] has joined #shogun14:07
-!- sanuj [~sanuj@117.196.236.254] has quit [Quit: Leaving]14:15
-!- sanuj [~sanuj@117.196.236.254] has joined #shogun14:25
-!- sanuj [~sanuj@117.196.236.254] has quit [Ping timeout: 265 seconds]15:03
@wikingyo15:25
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has joined #shogun15:48
-!- mode/#shogun [+o HeikoS] by ChanServ15:48
-!- nszceta [~nszceta@5ED062E5.cm-7-1b.dynamic.ziggo.nl] has joined #shogun15:52
-!- nszceta [~nszceta@5ED062E5.cm-7-1b.dynamic.ziggo.nl] has quit [Client Quit]15:54
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has quit [Quit: Leaving.]16:21
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has joined #shogun16:24
-!- mode/#shogun [+o HeikoS] by ChanServ16:24
-!- sanuj [~sanuj@59.91.120.92] has joined #shogun16:38
lisitsynHeikoS: heya16:51
@wikingyo16:53
lisitsynwiking: hey17:00
lisitsynwiking: what's the matter with that gitter? ;)17:00
@wikingwhy?17:04
@wikingnot good?17:04
lisitsynwiking: no just interested17:06
lisitsynyou see it replacing irc or?17:06
sanujlisitsyn, hello!17:15
lisitsynsanuj: hey17:15
sanuji have been trying to compile a neural net example with a fresh shogun build without success.17:16
lisitsynhmm why?17:16
sanuji haven't installed the build in /usr/local/lib17:17
sanujso i've added the path of the new build to LD_LIBRARY_PATH17:17
sanujwhen i do export $LD_LIBRARY_PATH17:17
sanujit says: /home/sanuj/git-reps/shogun/build/src/shogun17:18
sanuji.e. the location where the .a and .so files are17:18
lisitsynalright17:18
sanuji was using "g++ -L/home/sanuj/git-reps/shogun/build/src/shogun example.cpp -lshogun" to compile the example17:19
sanujit was giving me some ld error17:19
lisitsynwhat error?17:19
sanujso then i deleted the old shogun install from my /usr/local/lib as heiko, besser82 suggested, so now it says "fatal error: shogun/base/init.h: No such file or directory"17:20
lisitsynyou miss -I/path/to/shogun/headers17:21
sanujbefore it was giving this error - error ld returned 1 exit status17:22
lisitsynprobably -I/home/sanuj/git-reps/shogun/src/shogun17:22
sanujyeah i tried that too17:22
sanuj g++ -I/home/sanuj/git-reps/shogun/src/shogun -L/home/sanuj/git-reps/shogun/build/src/shogun example.cpp -lshogun17:22
lisitsynno such file should be solved then17:22
sanuji am on ubuntu 14.0417:22
lisitsynif path is correct :)17:22
sanujhold on, i'll check17:23
sanujthis time i used: -I/home/sanuj/git-reps/shogun/src17:25
-!- Yorkerlin [b8af2f1e@gateway/web/freenode/ip.184.175.47.30] has joined #shogun17:25
sanujno such file is solved :)17:25
lisitsynah yeah17:25
sanujbut it now says17:26
sanujerror: expected unqualified-id before ‘using’  template <typename ST> using container_type = SGVector<ST>;17:26
sanuji'll try using the c++11 flag17:26
Yorkerlin@HeikoS any feedback on https://github.com/shogun-toolbox/shogun/issues/283817:26
sanujoh yeah, it compiled finally :)17:27
sanujso basically my -I path was incorrect and i was missing -std=c++1117:28
sanujthanks lisitsyn17:28
lisitsynsanuj: oh cool it compiles now17:35
-!- Yorkerlin [b8af2f1e@gateway/web/freenode/ip.184.175.47.30] has quit [Ping timeout: 246 seconds]17:52
-!- Yorkerlin [b8af2f1e@gateway/web/freenode/ip.184.175.47.30] has joined #shogun17:53
-!- Yorkerlin [b8af2f1e@gateway/web/freenode/ip.184.175.47.30] has quit [Ping timeout: 246 seconds]17:57
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has quit [Quit: Leaving.]18:21
sanujlisitsyn, there?18:33
lisitsynsanuj: yeap18:35
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has joined #shogun18:36
-!- mode/#shogun [+o HeikoS] by ChanServ18:36
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has quit [Client Quit]18:36
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has joined #shogun18:37
-!- mode/#shogun [+o HeikoS] by ChanServ18:37
sanujI tried to comment out this line just to check if it is working or not but i am still seeing the epoch info when i run the example18:38
sanujhttps://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/neuralnets/NeuralNetwork.cpp#L33618:38
sanujit's strange18:38
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has quit [Client Quit]18:38
sanujwhen i built it, NeuralNetwork.cpp was the only file that was compiled again so the build is getting generated without any issues18:39
sanuji also added a few SG_INFO in NeuralNetwork.cpp but they are not showing up when i run the example with the new build. inface nothing is changing.18:42
sanujam i missing something here?18:42
lisitsynsanuj: probably you are using different library18:47
lisitsynnot the one you modified18:47
sanujhmm, yeah that's what i thought18:47
sanujshall i try building a fresh build?18:48
lisitsynjust be sure you are linking and running the new one18:48
sanujokay18:50
sanujlisitsyn, the place where i am linking18:51
sanujit has libshogun.a, libshogun.so, libshogun.so.17, libshogun.so.17.118:51
sanujand libshogun.so and libshogun.so.17 has arrows on their icons so i guess these are links18:52
sanujis this how it is supposed to be?18:52
sanujall of their modified time matches the time i built it (just now)18:53
lisitsynsanuj: yes they are just links19:04
sanujlinks to what?19:04
-!- HeikoS [~heiko@0544f0d5.skybroadband.com] has joined #shogun19:10
-!- mode/#shogun [+o HeikoS] by ChanServ19:10
-!- HeikoS [~heiko@0544f0d5.skybroadband.com] has quit [Quit: Leaving.]19:27
-!- sanuj [~sanuj@59.91.120.92] has quit [Ping timeout: 256 seconds]19:55
-!- sanuj [~sanuj@59.91.126.15] has joined #shogun20:08
sanujlisitsyn, I'm sure that i'm linking and running the new library20:13
sanuji also searched my computer, those are the only .a and .so files for libshogun20:13
sanujand the path is also correct20:14
lisitsynsanuj: ok I am back20:14
lisitsynsanuj: still the same?20:14
sanuji don't think deleting the build directory and making a new one will help20:14
sanujsadly yes20:15
sanujg++ -std=c++11 example.cpp -I/home/sanuj/git-reps/shogun/src -L/home/sanuj/git-reps/shogun/build/src/shogun -lshogun -o example20:16
sanuji'm using this to compile20:16
sanujit's compiling fine but no changes reflected in the new build20:16
sanujAlso have a look at this PR whenever you get time.20:17
sanujhttps://github.com/shogun-toolbox/shogun/pull/279720:17
lisitsynokay another guess20:20
lisitsynsanuj: do you have libshogun installed anywhere?20:20
lisitsynand what's LD_LIBRARY_PATH when you run 'example'?20:20
sanuji had it installed in usr/local/lib but i deleted the files20:21
sanujLD_LIBRARY_PATH=/home/sanuj/git-reps/shogun/build/src/shogun/20:21
lisitsynok I see20:21
lisitsynit's all pretty strange then..20:22
sanujyeah20:22
lisitsyntry to build from scratch maybe20:22
lisitsynif it stays the same you're definitely using some other code but not the one you compiled20:22
sanujalright20:23
sanujif i delete the build folder then it won't compile which shows that i am not using some other code20:24
sanuji'll build from scratch and see what happens20:24
-!- yorkerlin [b8af2f1e@gateway/web/freenode/ip.184.175.47.30] has joined #shogun20:33
yorkerlinanyone here? I have some question about the hash used in SGObject.20:35
yorkerlinthere may be a bug in SGObject.20:36
sanujlisitsyn, I just rebuilt it from scratch20:36
yorkerlinIf CSGObject::update_parameter_hash() is called more than once, CSGObject::parameter_hash_changed() always returns true even when values of variable remain unchanged.20:36
sanujstill the same20:37
sanujalthough it built quickly for a new build from scratch20:37
sanuji just deleted the build folder20:37
sanujmade a new one20:37
sanujand ran cmake.. and make20:37
sanujdo i need to do anything else?20:37
yorkerlinit seems no one is live. I will directly send a PR to address this.20:44
-!- yorkerlin [b8af2f1e@gateway/web/freenode/ip.184.175.47.30] has quit [Quit: Page closed]20:44
lisitsynsanuj: no that should be enough20:46
sanujso what to do now20:46
sanuji am lost :P20:46
lisitsynsanuj: maybe you can make some other change to check whether anything changes20:48
sanujhmm20:48
lisitsynif not then I guess some other library is loaded with some magic20:48
sanuji'll have a look at it tomorrow20:49
sanujtime to sleep20:49
lisitsynok20:49
sanujlet me know if something strikes you20:49
sanujgoodnight20:49
lisitsyngnite20:49
lisitsynsee you tomorrow20:49
sanuj:)20:50
-!- sanuj [~sanuj@59.91.126.15] has quit [Quit: Leaving]20:50
-!- PirosB3 [~pirosb3@95.238.225.218] has joined #shogun22:05
-!- PirosB3 [~pirosb3@95.238.225.218] has quit [Quit: PirosB3]22:51
-!- PirosB3 [~pirosb3@95.238.225.218] has joined #shogun23:05
--- Log closed Wed May 06 00:00:13 2015

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