--- 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 #shogun | 02:53 | |
shogun-buildbot | build #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 #shogun | 09:06 | |
sanuj | don't we have something to visualize the neural nets? | 09:07 |
-!- PirosB3 [~pirosb3@95.238.225.218] has joined #shogun | 10:19 | |
-!- besser82 [~besser82@fedora/besser82] has joined #shogun | 10:24 | |
-!- mode/#shogun [+o besser82] by ChanServ | 10:24 | |
-!- HeikoS [~heiko@host-78-151-165-3.as13285.net] has joined #shogun | 10:49 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 10: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 #shogun | 11:52 | |
-!- mode/#shogun [+o besser82] by ChanServ | 11:52 | |
sanuj | i want example.cpp to compile with the new build generated from my local repository instead of what is installed in /usr/local. | 12:30 |
sanuj | I'm using the following command | 12:30 |
sanuj | g++ example.cpp -L/home/sanuj/git-reps/shogun/build/ -lshogun | 12:31 |
sanuj | but the linker is linking to /usr/local version instead of my new build | 12: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 #shogun | 12:35 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 12:35 | |
sanuj | HeikoS, besser82 : Do you know how this can be solved? | 12:38 |
@HeikoS | sanuj: yes update your LD_LIBRARY_PATH variable | 12:38 |
@HeikoS | I think -L appends | 12:39 |
@HeikoS | doesnt prepend | 12:39 |
sanuj | if i append it then it gives me some this error "error: ld returned 1 exit status | 12:39 |
sanuj | " | 12:39 |
sanuj | i'll try adding it to LD_LIBRARY_PATH | 12:40 |
@besser82 | sanuj, HeikoS is right LD_LIBRARY_PATH is appended to system path, -L is taken after system path | 12:40 |
sanuj | alright i'll try that | 12:40 |
sanuj | HeikoS, I did "export LD_LIBRARY_PATH=/home/sanuj/git-reps/shogun/build/src/shogun/" | 12:55 |
sanuj | and then | 12:55 |
sanuj | g++ -L/home/sanuj/git-reps/shogun/build/src/shogun/ -lshogun example.cpp | 12:55 |
sanuj | not compiling | 12:55 |
sanuj | my LD_LIBRARY_PATH was empty before doing the export. | 12:57 |
sanuj | i did sudo ldconfig as well | 12:58 |
sanuj | still the same errors | 12:58 |
@HeikoS | I dont know then | 13:00 |
@HeikoS | sanuj: depends a lot on your local system | 13:00 |
@HeikoS | what about hiding the /local ones | 13:00 |
sanuj | alright, i'll try something | 13:01 |
sanuj | besser82, any clue about what might be wrong? | 13:02 |
sanuj | I changed my LD_LIBRARY_PATH as stated above. | 13:02 |
@besser82 | sanuj, then temporarily remove the symlinks to libshogun.so.* in /usr/local ;) | 13:04 |
sanuj | ok, i'll do that | 13: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 #shogun | 13: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 #shogun | 14:07 | |
-!- sanuj [~sanuj@117.196.236.254] has quit [Quit: Leaving] | 14:15 | |
-!- sanuj [~sanuj@117.196.236.254] has joined #shogun | 14:25 | |
-!- sanuj [~sanuj@117.196.236.254] has quit [Ping timeout: 265 seconds] | 15:03 | |
@wiking | yo | 15:25 |
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has joined #shogun | 15:48 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 15:48 | |
-!- nszceta [~nszceta@5ED062E5.cm-7-1b.dynamic.ziggo.nl] has joined #shogun | 15: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 #shogun | 16:24 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 16:24 | |
-!- sanuj [~sanuj@59.91.120.92] has joined #shogun | 16:38 | |
lisitsyn | HeikoS: heya | 16:51 |
@wiking | yo | 16:53 |
lisitsyn | wiking: hey | 17:00 |
lisitsyn | wiking: what's the matter with that gitter? ;) | 17:00 |
@wiking | why? | 17:04 |
@wiking | not good? | 17:04 |
lisitsyn | wiking: no just interested | 17:06 |
lisitsyn | you see it replacing irc or? | 17:06 |
sanuj | lisitsyn, hello! | 17:15 |
lisitsyn | sanuj: hey | 17:15 |
sanuj | i have been trying to compile a neural net example with a fresh shogun build without success. | 17:16 |
lisitsyn | hmm why? | 17:16 |
sanuj | i haven't installed the build in /usr/local/lib | 17:17 |
sanuj | so i've added the path of the new build to LD_LIBRARY_PATH | 17:17 |
sanuj | when i do export $LD_LIBRARY_PATH | 17:17 |
sanuj | it says: /home/sanuj/git-reps/shogun/build/src/shogun | 17:18 |
sanuj | i.e. the location where the .a and .so files are | 17:18 |
lisitsyn | alright | 17:18 |
sanuj | i was using "g++ -L/home/sanuj/git-reps/shogun/build/src/shogun example.cpp -lshogun" to compile the example | 17:19 |
sanuj | it was giving me some ld error | 17:19 |
lisitsyn | what error? | 17:19 |
sanuj | so 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 |
lisitsyn | you miss -I/path/to/shogun/headers | 17:21 |
sanuj | before it was giving this error - error ld returned 1 exit status | 17:22 |
lisitsyn | probably -I/home/sanuj/git-reps/shogun/src/shogun | 17:22 |
sanuj | yeah i tried that too | 17:22 |
sanuj | g++ -I/home/sanuj/git-reps/shogun/src/shogun -L/home/sanuj/git-reps/shogun/build/src/shogun example.cpp -lshogun | 17:22 |
lisitsyn | no such file should be solved then | 17:22 |
sanuj | i am on ubuntu 14.04 | 17:22 |
lisitsyn | if path is correct :) | 17:22 |
sanuj | hold on, i'll check | 17:23 |
sanuj | this time i used: -I/home/sanuj/git-reps/shogun/src | 17:25 |
-!- Yorkerlin [b8af2f1e@gateway/web/freenode/ip.184.175.47.30] has joined #shogun | 17:25 | |
sanuj | no such file is solved :) | 17:25 |
lisitsyn | ah yeah | 17:25 |
sanuj | but it now says | 17:26 |
sanuj | error: expected unqualified-id before ‘using’ template <typename ST> using container_type = SGVector<ST>; | 17:26 |
sanuj | i'll try using the c++11 flag | 17:26 |
Yorkerlin | @HeikoS any feedback on https://github.com/shogun-toolbox/shogun/issues/2838 | 17:26 |
sanuj | oh yeah, it compiled finally :) | 17:27 |
sanuj | so basically my -I path was incorrect and i was missing -std=c++11 | 17:28 |
sanuj | thanks lisitsyn | 17:28 |
lisitsyn | sanuj: oh cool it compiles now | 17: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 #shogun | 17: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 | |
sanuj | lisitsyn, there? | 18:33 |
lisitsyn | sanuj: yeap | 18:35 |
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has joined #shogun | 18:36 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 18: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 #shogun | 18:37 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 18:37 | |
sanuj | I 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 example | 18:38 |
sanuj | https://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/neuralnets/NeuralNetwork.cpp#L336 | 18:38 |
sanuj | it's strange | 18:38 |
-!- HeikoS [~heiko@host-92-11-38-86.as43234.net] has quit [Client Quit] | 18:38 | |
sanuj | when i built it, NeuralNetwork.cpp was the only file that was compiled again so the build is getting generated without any issues | 18:39 |
sanuj | i 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 |
sanuj | am i missing something here? | 18:42 |
lisitsyn | sanuj: probably you are using different library | 18:47 |
lisitsyn | not the one you modified | 18:47 |
sanuj | hmm, yeah that's what i thought | 18:47 |
sanuj | shall i try building a fresh build? | 18:48 |
lisitsyn | just be sure you are linking and running the new one | 18:48 |
sanuj | okay | 18:50 |
sanuj | lisitsyn, the place where i am linking | 18:51 |
sanuj | it has libshogun.a, libshogun.so, libshogun.so.17, libshogun.so.17.1 | 18:51 |
sanuj | and libshogun.so and libshogun.so.17 has arrows on their icons so i guess these are links | 18:52 |
sanuj | is this how it is supposed to be? | 18:52 |
sanuj | all of their modified time matches the time i built it (just now) | 18:53 |
lisitsyn | sanuj: yes they are just links | 19:04 |
sanuj | links to what? | 19:04 |
-!- HeikoS [~heiko@0544f0d5.skybroadband.com] has joined #shogun | 19:10 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 19: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 #shogun | 20:08 | |
sanuj | lisitsyn, I'm sure that i'm linking and running the new library | 20:13 |
sanuj | i also searched my computer, those are the only .a and .so files for libshogun | 20:13 |
sanuj | and the path is also correct | 20:14 |
lisitsyn | sanuj: ok I am back | 20:14 |
lisitsyn | sanuj: still the same? | 20:14 |
sanuj | i don't think deleting the build directory and making a new one will help | 20:14 |
sanuj | sadly yes | 20:15 |
sanuj | g++ -std=c++11 example.cpp -I/home/sanuj/git-reps/shogun/src -L/home/sanuj/git-reps/shogun/build/src/shogun -lshogun -o example | 20:16 |
sanuj | i'm using this to compile | 20:16 |
sanuj | it's compiling fine but no changes reflected in the new build | 20:16 |
sanuj | Also have a look at this PR whenever you get time. | 20:17 |
sanuj | https://github.com/shogun-toolbox/shogun/pull/2797 | 20:17 |
lisitsyn | okay another guess | 20:20 |
lisitsyn | sanuj: do you have libshogun installed anywhere? | 20:20 |
lisitsyn | and what's LD_LIBRARY_PATH when you run 'example'? | 20:20 |
sanuj | i had it installed in usr/local/lib but i deleted the files | 20:21 |
sanuj | LD_LIBRARY_PATH=/home/sanuj/git-reps/shogun/build/src/shogun/ | 20:21 |
lisitsyn | ok I see | 20:21 |
lisitsyn | it's all pretty strange then.. | 20:22 |
sanuj | yeah | 20:22 |
lisitsyn | try to build from scratch maybe | 20:22 |
lisitsyn | if it stays the same you're definitely using some other code but not the one you compiled | 20:22 |
sanuj | alright | 20:23 |
sanuj | if i delete the build folder then it won't compile which shows that i am not using some other code | 20:24 |
sanuj | i'll build from scratch and see what happens | 20:24 |
-!- yorkerlin [b8af2f1e@gateway/web/freenode/ip.184.175.47.30] has joined #shogun | 20:33 | |
yorkerlin | anyone here? I have some question about the hash used in SGObject. | 20:35 |
yorkerlin | there may be a bug in SGObject. | 20:36 |
sanuj | lisitsyn, I just rebuilt it from scratch | 20:36 |
yorkerlin | If 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 |
sanuj | still the same | 20:37 |
sanuj | although it built quickly for a new build from scratch | 20:37 |
sanuj | i just deleted the build folder | 20:37 |
sanuj | made a new one | 20:37 |
sanuj | and ran cmake.. and make | 20:37 |
sanuj | do i need to do anything else? | 20:37 |
yorkerlin | it 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 | |
lisitsyn | sanuj: no that should be enough | 20:46 |
sanuj | so what to do now | 20:46 |
sanuj | i am lost :P | 20:46 |
lisitsyn | sanuj: maybe you can make some other change to check whether anything changes | 20:48 |
sanuj | hmm | 20:48 |
lisitsyn | if not then I guess some other library is loaded with some magic | 20:48 |
sanuj | i'll have a look at it tomorrow | 20:49 |
sanuj | time to sleep | 20:49 |
lisitsyn | ok | 20:49 |
sanuj | let me know if something strikes you | 20:49 |
sanuj | goodnight | 20:49 |
lisitsyn | gnite | 20:49 |
lisitsyn | see you tomorrow | 20:49 |
sanuj | :) | 20:50 |
-!- sanuj [~sanuj@59.91.126.15] has quit [Quit: Leaving] | 20:50 | |
-!- PirosB3 [~pirosb3@95.238.225.218] has joined #shogun | 22:05 | |
-!- PirosB3 [~pirosb3@95.238.225.218] has quit [Quit: PirosB3] | 22:51 | |
-!- PirosB3 [~pirosb3@95.238.225.218] has joined #shogun | 23: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!