--- Log opened Wed Jun 01 00:00:20 2016 | ||
@lambday_ | OXPHOS_: add destructor | 00:05 |
---|---|---|
@lambday_ | in GPUVector | 00:05 |
@lambday_ | that will do nothing | 00:05 |
@lambday_ | I mean, that does nothing | 00:05 |
OXPHOS_ | amazing | 00:06 |
@lambday_ | OXPHOS_: works? | 00:06 |
OXPHOS_ | lambday_: yes! | 00:06 |
@lambday_ | OXPHOS_: see the issue was, it didn't know how to delete that fucking thing, cause it was trying to rely on default destructor.. now that you have shown it how to delete it, it now works | 00:07 |
OXPHOS_ | lambday_: never thought it's the destructor.. | 00:07 |
OXPHOS_ | lambday_: thanks so much! | 00:07 |
@lambday_ | OXPHOS_: no worries :) | 00:08 |
@lambday_ | OXPHOS_: the error msg is very imp you see :) | 00:08 |
@lambday_ | although cryptic :D | 00:08 |
OXPHOS_ | lambday_: yes..very unfriendly :( | 00:09 |
@lambday_ | OXPHOS_: it will grow on you, give it time :) | 00:10 |
OXPHOS_ | OXPHOS_: I guess so. waiting to speak the mumbling language :) | 00:10 |
OXPHOS_ | lambday_: ^ | 00:10 |
OXPHOS_ | Im unconcious | 00:11 |
@lambday_ | OXPHOS_: haha | 00:11 |
@lambday_ | OXPHOS_: alright.. let me know when you update the PR.. | 00:12 |
@lambday_ | I'll probably sleep now zzzzzzzzzz | 00:12 |
OXPHOS_ | lambday_: sure. will ping you. thanks a lot! | 00:13 |
@lambday_ | OXPHOS_: nw... see you! | 00:13 |
OXPHOS_ | bye! | 00:13 |
-!- lambday_ [56a397da@gateway/web/freenode/ip.86.163.151.218] has quit [Ping timeout: 250 seconds] | 00:34 | |
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun | 00:55 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 00:55 | |
-!- sonne|osx [~sonne@x5ce5a1c4.dyn.telefonica.de] has quit [Quit: sonne|osx] | 01:03 | |
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Quit: Leaving.] | 01:11 | |
shogun-buildbot | build #2892 of bsd1 - libshogun is complete: Failure [failed configure] Build details are at http://buildbot.shogun-toolbox.org/builders/bsd1%20-%20libshogun/builds/2892 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com> | 01:16 |
shogun-buildbot | build #30 of xenial - libshogun is complete: Failure [failed compile] Build details are at http://buildbot.shogun-toolbox.org/builders/xenial%20-%20libshogun/builds/30 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com> | 01:19 |
-!- OXPHOS_ [9d8b1501@gateway/web/freenode/ip.157.139.21.1] has quit [Quit: Page closed] | 01:22 | |
shogun-buildbot | build #21 of FC23 - libshogun - aarch64 is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/FC23%20-%20libshogun%20-%20aarch64/builds/21 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com> | 02:27 |
shogun-buildbot | build #1013 of nightly_none is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_none/builds/1013 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, lambday <heavensdevil6909@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com>, OXPHOS <engelzora@gmail.com> | 03:05 |
shogun-buildbot | build #11 of clang - thread analysis is complete: Failure [failed compile] Build details are at http://buildbot.shogun-toolbox.org/builders/clang%20-%20thread%20analysis/builds/11 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, lambday <heavensdevil6909@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com>, OXPHOS <engelzora@gmail.com> | 03:43 |
shogun-buildbot | build #10 of clang - undefined behaviour analysis is complete: Failure [failed compile] Build details are at http://buildbot.shogun-toolbox.org/builders/clang%20-%20undefined%20behaviour%20analysis/builds/10 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, lambday <heavensdevil6909@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com>, OXPHOS <engelzora@gmail.com> | 03:47 |
-!- mizari [~mizari@95-174-213-100.nts.su] has joined #shogun | 05:07 | |
-!- mizari [~mizari@95-174-213-100.nts.su] has quit [Quit: Leaving] | 05:12 | |
-!- arianepaola [~ariane@unaffiliated/arianepaola] has quit [Read error: Connection reset by peer] | 05:32 | |
-!- arianepaola [~ariane@unaffiliated/arianepaola] has joined #shogun | 05:37 | |
shogun-buildbot | build #11 of memleak - valgrind is complete: Failure [failed memory check] Build details are at http://buildbot.shogun-toolbox.org/builders/memleak%20-%20valgrind/builds/11 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, lambday <heavensdevil6909@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com>, OXPHOS <engelzora@gmail.com> | 05:41 |
-!- sanuj [~sanuj@45.127.53.174] has joined #shogun | 05:43 | |
-!- sonne|osx [~sonne@x4db41800.dyn.telefonica.de] has joined #shogun | 06:07 | |
shogun-buildbot | build #1142 of nightly_default is complete: Failure [failed test notebooks] Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_default/builds/1142 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, lambday <heavensdevil6909@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com>, OXPHOS <engelzora@gmail.com> | 06:17 |
-!- sonne|osx [~sonne@x4db41800.dyn.telefonica.de] has quit [Quit: sonne|osx] | 06:18 | |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has joined #shogun | 09:17 | |
deepak_ | Hello everyone, I don't understand how to install shogun on my Ubuntu 15.04, I have used make install to create a shogun-install file in my home directory, but what do I do next? The minimal example always has an error | 09:23 |
deepak_ | fatal error: shogun/base/init.h: No such file or directory #include <shogun/base/init.h> | 09:26 |
deepak_ | This is what I'm asking | 09:27 |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has quit [Quit: Page closed] | 09:56 | |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has joined #shogun | 09:56 | |
sanuj | lisitsyn, hello | 10:05 |
deepak_ | Hey sanuj, can you help with my problem please? | 10:08 |
sanuj | deepak_, hi | 10:09 |
sanuj | did you build shogun? | 10:09 |
deepak_ | Yes I did, by building you mean creating a build folder and then using cmake and then make right? | 10:09 |
sanuj | deepak_, yeah | 10:10 |
sanuj | and you have installed it by doing "make install" in your home directory | 10:10 |
sanuj | is that correct? | 10:10 |
deepak_ | Yup | 10:10 |
sanuj | deepak_, did you specify the path while installing it? | 10:10 |
deepak_ | cmake -DCMAKE_INSTALL_PREFIX="$HOME/shogun-install" like this? | 10:12 |
sanuj | deepak_, yeah maybe | 10:13 |
sanuj | if you have installed it in your home | 10:13 |
deepak_ | Yes , I have installed it in my home | 10:13 |
sanuj | then you need to add the path to your installation to LD_LIBRARY_PATH | 10:14 |
sanuj | deepak_, you just want c++ or python also? | 10:14 |
deepak_ | Just C++ would do | 10:14 |
sanuj | okay | 10:14 |
sanuj | just add it to your LD_LIBRARY_PATH | 10:14 |
deepak_ | export LD_LIBRARY_PATH="$HOME/shogun-install/lib" something like this? | 10:15 |
sanuj | deepak_, yeah | 10:16 |
sanuj | check if it works | 10:16 |
deepak_ | No, I am getting the same error | 10:17 |
sanuj | deepak_, are you sure the path is correct | 10:18 |
deepak_ | The path to? | 10:18 |
sanuj | and how are you compiling the example | 10:18 |
deepak_ | g++ -lshogun minimal.cpp -o minimal like this? | 10:19 |
sanuj | deepak_, does your path point to the dir which has libshogun.so (or something like this) | 10:20 |
deepak_ | Yes, the contents of $HOME/shogun-install/lib are libshogun.so libshogun.so.17 libshogun.so.17.1 | 10:22 |
sanuj | deepak_, what does echo $LD_LIBRARY_PATH show | 10:23 |
sanuj | from the terminal you are compiling | 10:23 |
deepak_ | it shows /home/deepak/shogun-install/lib | 10:24 |
sanuj | deepak_, try this once - "g++ minimal.cpp -lshogun -o minimal" | 10:24 |
sanuj | deepak_, worked? | 10:25 |
deepak_ | a sec please | 10:25 |
deepak_ | No , the same error | 10:26 |
sanuj | deepak_, try running ldconfig | 10:26 |
deepak_ | ok | 10:26 |
sanuj | deepak_, you will need sudo | 10:27 |
sanuj | i guess | 10:27 |
deepak_ | Yes I did | 10:27 |
deepak_ | Now I compile again? | 10:27 |
sanuj | yeah | 10:27 |
deepak_ | Nope, same error | 10:27 |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun | 10:28 | |
deepak_ | So what shall I do? | 10:30 |
sanuj | deepak_, ask wiking if he is here | 10:31 |
sanuj | it should work | 10:31 |
sanuj | deepak_, most of the devs will be online in a few hours, then you can ask them | 10:32 |
deepak_ | He's not,I guess I'll have to wait , thanks for your time ;) | 10:32 |
deepak_ | Ok | 10:32 |
sanuj | no problem | 10:33 |
@wiking | deepak_: helo | 10:45 |
@wiking | what'sup? | 10:45 |
deepak_ | Hello wiking | 10:45 |
deepak_ | I am trying to install shogun | 10:45 |
deepak_ | And I got the aforementioned problems | 10:46 |
deepak_ | Shall I describe it again? | 10:46 |
@wiking | where is it? | 10:46 |
@wiking | here in logs? | 10:46 |
@wiking | i'll check | 10:46 |
@wiking | w8 couple of mins so that i can read it | 10:46 |
deepak_ | Thank you ;) | 10:46 |
deepak_ | @Wiking, any idea what the problem might be? | 10:59 |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has quit [Ping timeout: 250 seconds] | 11:03 | |
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun | 11:06 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 11:06 | |
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Quit: Leaving.] | 11:13 | |
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun | 11:14 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 11:14 | |
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Client Quit] | 11:15 | |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has joined #shogun | 11:19 | |
-!- sanuj [~sanuj@45.127.53.174] has quit [Ping timeout: 240 seconds] | 11:27 | |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has quit [Ping timeout: 250 seconds] | 11:28 | |
c4goldsw | wiking, are you there? | 11:36 |
-!- lambday [8028b10a@gateway/web/freenode/ip.128.40.177.10] has joined #shogun | 11:38 | |
-!- mode/#shogun [+o lambday] by ChanServ | 11:38 | |
c4goldsw | lambday, do you have a moment? | 11:39 |
@lambday | c4goldsw: sure | 11:39 |
c4goldsw | Great. I'm still learning C++ and I've come across some syntax that I've never seen in another language before. Lines 134 - 140 of this: https://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/mathematics/linalg/internal/implementation/ElementwiseSquare.h | 11:40 |
c4goldsw | lambday specifically, line 139 | 11:41 |
@lambday | c4goldsw: this would probably help - https://eigen.tuxfamily.org/dox/TopicTemplateKeyword.html | 11:42 |
lisitsyn | haha yeah that's a surprise | 11:43 |
lisitsyn | some syntax glitch haa | 11:43 |
@lambday | lisitsyn: the glorified template and typename keywords that bugs everyone | 11:43 |
c4goldsw | Thanks, I'll read that (the space is odd). | 11:43 |
@wiking | c4goldsw: yes | 11:44 |
@wiking | :> | 11:44 |
c4goldsw | wiking It's fine, had my question answered. | 11:44 |
c4goldsw | Thanks though. | 11:44 |
@lambday | c4goldsw: also, http://stackoverflow.com/questions/12676190/how-to-call-a-template-member-function | 11:44 |
c4goldsw | (y) | 11:45 |
c4goldsw | (Thanks) | 11:45 |
-!- sanuj [~sanuj@45.127.53.174] has joined #shogun | 11:45 | |
sanuj | lisitsyn, hey | 11:46 |
lisitsyn | sanuj: hey | 11:46 |
sanuj | lisitsyn, this is working https://github.com/shogun-toolbox/shogun/pull/3221/files#diff-8cfacc7a0d1355252c12528031d690b5R315 | 11:46 |
sanuj | can you review and tell what is missing | 11:47 |
@lambday | sanuj: I noticed the other day that HeikoS pronounces your name as "sanuyi".. maybe that's how 'j' plays a role in some languages (jojo = yoyo, jaja = haha).. weird.. | 11:47 |
-!- AndroUser [~androirc@101.222.229.223] has joined #shogun | 11:47 | |
@lambday | I will correct him :D | 11:47 |
sanuj | lambday, haha | 11:47 |
sanuj | it's saaanuj | 11:47 |
@lambday | yes and the most important part is, "j" is just j.. as in john :D | 11:48 |
sanuj | yeah | 11:48 |
sanuj | :) | 11:48 |
sanuj | lambday, my passport should come soon now | 11:48 |
@lambday | sanuj: cool! | 11:48 |
sanuj | went to the passport office here | 11:48 |
sanuj | will start applying for interns | 11:49 |
sanuj | lambday, is there a chance to get a funded intern in UCL? | 11:49 |
sanuj | :) | 11:49 |
@lambday | sanuj: great! | 11:49 |
@lambday | sanuj: I am not the right person to ask that ;) | 11:49 |
sanuj | okay | 11:50 |
@lambday | sanuj: I'll suggest - finish your gsoc, do the great work you have been doing, and most importantly, finish it.. then with that you apply.. | 11:50 |
@lambday | you'll have something measurable to show | 11:50 |
sanuj | lambday, yes, i was planning to start my next intern when gsoc ends | 11:51 |
lisitsyn | sanuj: looks good | 11:51 |
sanuj | but for that i need to apply in this month | 11:51 |
sanuj | lisitsyn, we need error handling | 11:51 |
sanuj | and a function to modify already set parameters | 11:51 |
@lambday | lisitsyn: sanuj: is it the same tag-ged parameter framework we discussed a while back? | 11:51 |
lisitsyn | lambday: yes | 11:51 |
@lambday | lisitsyn: uber cool! | 11:51 |
lisitsyn | sanuj: please add tests for all negative scenarios you can think of | 11:51 |
lisitsyn | get missing parameter | 11:52 |
lisitsyn | set missing parameter - works | 11:52 |
lisitsyn | etc | 11:52 |
lisitsyn | just be sure to separate them | 11:52 |
sanuj | lisitsyn, okay | 11:52 |
sanuj | lisitsyn, do we need a separate function to modify an already parameter | 11:53 |
lisitsyn | sanuj: no, why | 11:53 |
lisitsyn | sanuj: ah btw | 11:53 |
lisitsyn | make set return the old value | 11:53 |
lisitsyn | it should be easy | 11:53 |
sanuj | alright | 11:53 |
sanuj | lisitsyn, and do we need a function to print all parameters in an object | 11:53 |
sanuj | just for the user | 11:53 |
lisitsyn | sanuj: oh yes that would make a lot of sense | 11:54 |
lisitsyn | at least its names | 11:54 |
sanuj | okay | 11:54 |
lisitsyn | sanuj: not print, but return its list | 11:54 |
lisitsyn | like std::vector<std::string> parameters(); | 11:54 |
sanuj | this looks cool | 11:55 |
sanuj | lisitsyn, anything else to add in the api | 11:55 |
sanuj | ? | 11:55 |
lisitsyn | sanuj: maybe has(str::string) has(Tag<T>) | 11:55 |
lisitsyn | to check whether it has parameter | 11:55 |
sanuj | which returns bool | 11:55 |
lisitsyn | yes | 11:55 |
sanuj | okay | 11:55 |
sanuj | anything else? | 11:56 |
@lambday | lisitsyn: would this support string based setters/getters as well ? | 11:56 |
lisitsyn | lambday: yes | 11:56 |
AndroUser | Guys, it's Deepak from before | 11:56 |
@lambday | lisitsyn: awesome! | 11:56 |
lisitsyn | lambday: currently you need to specify type when you get it by string | 11:56 |
lisitsyn | get("something", Type<int>); | 11:56 |
@lambday | lisitsyn: from python? | 11:56 |
sanuj | lambday, look here https://github.com/shogun-toolbox/shogun/pull/3221/files#diff-8cfacc7a0d1355252c12528031d690b5R315 | 11:56 |
lisitsyn | in python it would be | 11:56 |
@lambday | get("something", TypeInt) | 11:56 |
lisitsyn | get("something", TypeInt) | 11:56 |
lisitsyn | ye | 11:56 |
lisitsyn | s | 11:56 |
lisitsyn | or maybe just sg.int | 11:57 |
sanuj | that looks better | 11:57 |
sanuj | sg.int | 11:57 |
-!- AndroUser is now known as deepak_ | 11:57 | |
lisitsyn | sanuj: agree | 11:57 |
@lambday | sanuj: cool man it already works! | 11:57 |
sanuj | lambday, yep :D | 11:58 |
deepak_ | Hi, I'm sorry for disturbing again, how do I get it to work? | 11:58 |
sanuj | lisitsyn, anything else for api? | 11:58 |
sanuj | otherwise i'll add the functions you suggested | 11:58 |
@lambday | deepak_: hey! what are you working on? | 11:58 |
sanuj | more unit tests | 11:58 |
sanuj | with error handling | 11:58 |
sanuj | lisitsyn, and then we can move on to swig interface? | 11:59 |
lisitsyn | sanuj: yeah probably | 11:59 |
deepak_ | @lambday hey, I'm not able to install shogun | 11:59 |
deepak_ | Sanuj tried to help, but it didn't seem to work | 12:00 |
sanuj | lambday, you need to check logs for this ^^ | 12:00 |
@lambday | deepak_: can you share the details? any gists/pastebin links? | 12:00 |
sanuj | lisitsyn, for the commit history in the pr | 12:01 |
sanuj | should i push small commits? | 12:02 |
lisitsyn | sanuj: yes it would help you | 12:02 |
sanuj | there are lots of changes in one commit right now | 12:02 |
-!- HeikoS [~heiko@nat-204-114.internal.eduroam.ucl.ac.uk] has joined #shogun | 12:06 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 12:06 | |
-!- deepak_ [~androirc@101.222.229.223] has quit [Read error: Connection reset by peer] | 12:06 | |
@HeikoS | Saurabh7: hi | 12:16 |
sanuj | lisitsyn, what shall i return if there is no previous set value? | 12:22 |
lisitsyn | sanuj: haha good question | 12:23 |
lisitsyn | no idea what would be reasonable | 12:23 |
sanuj | lisitsyn, we can't return null | 12:23 |
lisitsyn | yes | 12:23 |
lisitsyn | return new one | 12:23 |
sanuj | okay | 12:23 |
sanuj | lisitsyn, and do we need as.h | 12:23 |
sanuj | or shall i remove it? | 12:24 |
sanuj | it's derived from shared_ptr | 12:24 |
lisitsyn | sanuj: probably not needed anymore | 12:24 |
sanuj | okay | 12:25 |
-!- lisitsyn [~lisitsyn@37.139.2.75] has left #shogun [] | 12:27 | |
-!- deepak_ [~androirc@106.207.196.120] has joined #shogun | 12:37 | |
deepak_ | Sorry, my Internet is very bad | 12:39 |
deepak_ | The problem is that even after following the instructions to install shogun, the minimal example is not running, the compiler is not able to find the header files | 12:41 |
-!- lisitsyn [~lisitsyn@37.139.2.75] has joined #shogun | 12:43 | |
sanuj | lisitsyn, when i return a vector of string for parameters | 12:44 |
sanuj | it should have type also | 12:44 |
sanuj | otherwise if a user forgets about a parameter | 12:44 |
sanuj | there is no way to get it without it's name and type | 12:44 |
lisitsyn | just return a list of names of parameters | 12:44 |
-!- HeikoS [~heiko@nat-204-114.internal.eduroam.ucl.ac.uk] has quit [Quit: Leaving.] | 12:58 | |
-!- deepak_ [~androirc@106.207.196.120] has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )] | 13:02 | |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has joined #shogun | 13:03 | |
-!- HeikoS [~heiko@nat-204-114.internal.eduroam.ucl.ac.uk] has joined #shogun | 13:05 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 13:05 | |
-!- HeikoS [~heiko@nat-204-114.internal.eduroam.ucl.ac.uk] has quit [Client Quit] | 13:06 | |
arianepaola | hello everyone | 13:11 |
arianepaola | deepak_: please ask your question in the channel, so that more people can help you | 13:15 |
deepak_ | Well the thing is I've already asked too many questions and I thought it would be annoying for everyone | 13:15 |
deepak_ | Because it is something basic, while everyone is working on something much more important | 13:16 |
arianepaola | did you try to build shogun from git? | 13:17 |
deepak_ | No, I downloaded the tar.gz file from the site and installed it | 13:17 |
deepak_ | In the quickstart example chmod +x ./so_multiclass_BMRM && ./so_multiclass_BMRM is running properly , I think the library has installed properly but it's not linking in the c++ program | 13:19 |
arianepaola | Please try to use code from git https://github.com/shogun-toolbox/shogun and then follow https://github.com/shogun-toolbox/shogun/wiki/QUICKSTART | 13:21 |
arianepaola | There is a clone or download option on github, where you can download a zip of the current git code | 13:22 |
deepak_ | OK, give me a moment, I'll try and see if it works | 13:28 |
-!- HeikoS [~heiko@nat-204-114.internal.eduroam.ucl.ac.uk] has joined #shogun | 13:51 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 13:51 | |
-!- HeikoS [~heiko@nat-204-114.internal.eduroam.ucl.ac.uk] has quit [Client Quit] | 13:52 | |
deepak_ | arianepaola: I'm not able to install the code from git | 13:54 |
arianepaola | deepak_: it should work, did you follow the steps in the quickstart: Compile and install SHOGUN-TOOLBOX into home directory | 14:05 |
deepak_ | -- Configuring incomplete, errors occurred! this is what I get when i try to cmake the git code | 14:38 |
c4goldsw | Could you post the errors into a Gist and link it here, so that we can see the errors? | 14:39 |
c4goldsw | deepak_ ^ | 14:39 |
deepak_ | https://gist.github.com/deepakkandasamy/ed7e4684177f3121553cd00c26d9681a | 14:43 |
c4goldsw | Looking | 14:43 |
deepak_ | thanks :) | 14:44 |
c4goldsw | Actually, could you post the full output please of running "make install"? Also, what OS are you using? | 14:46 |
deepak_ | I have to use cmake before doing make install right? | 14:48 |
deepak_ | I'm on Ubuntu 15.04 | 14:48 |
c4goldsw | Yes, that's correct. Could I see the full output please? That is, all of the output after you run 'make install'. | 14:49 |
deepak_ | from the git code or the shogun-4.1.0 ? | 14:50 |
c4goldsw | From your command line :) | 14:51 |
c4goldsw | Hold on a sec. | 14:51 |
deepak_ | I am only able to cmake from the shogun-4.1.0 folder | 14:52 |
deepak_ | the git version gives the errors and I'm not able to create a make file | 14:52 |
c4goldsw | Then from the code you download from Git please. | 14:53 |
c4goldsw | (After running CMake) | 14:53 |
deepak_ | That was the Git errors I posted | 14:53 |
c4goldsw | Alright, I'll work with that then. | 14:54 |
deepak_ | Thank you :) | 14:55 |
c4goldsw | It appears as if you're missing CTags (line 19). I think that all you'll have to do is to just install it, by typing in "sudo apt-get install exuberant-ctags" | 14:56 |
c4goldsw | I just referred to this: https://packagecontrol.io/packages/CTags | 14:57 |
c4goldsw | Not all of the software needed to compile Shogun is included with it. | 14:57 |
c4goldsw | Run the command above, then trying making it again from the git source code. | 14:57 |
deepak_ | OK I'll try and get back ,thanks | 14:57 |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has quit [Ping timeout: 250 seconds] | 15:13 | |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] | 15:21 | |
-!- deepak__ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has joined #shogun | 15:51 | |
deepak__ | I'm still getting the same error after installing from the git source | 15:53 |
-!- c4g [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun | 16:07 | |
-!- c4g [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has left #shogun [] | 16:09 | |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun | 16:09 | |
c4goldsw | lambday Hey, are you around? | 16:09 |
arianepaola | deepak__: did you run cmake configuration once again after installing ctags? | 16:09 |
c4goldsw | wiking ping | 16:11 |
c4goldsw | lisitsyn ping | 16:11 |
lisitsyn | sup | 16:12 |
c4goldsw | Hey, would you have time to look over this? https://gist.github.com/c4goldsw/53279434ba08f16f3b2db0510b1063ce | 16:12 |
c4goldsw | It's some code that I want to submit in a PR in regards to a refactoring issue opened in late March. | 16:12 |
c4goldsw | I'd just like a little feed back if you can give some | 16:13 |
c4goldsw | lisitsyn this is the issue: https://github.com/shogun-toolbox/shogun/issues/3118 | 16:14 |
-!- OXPHOS [9d8b131c@gateway/web/freenode/ip.157.139.19.28] has joined #shogun | 16:15 | |
deepak__ | yes I did | 16:17 |
sanuj | lisitsyn, how to check for sg_error in unit-test? | 16:23 |
Saurabh7 | lambday: ping | 16:24 |
lisitsyn | EXPECT_THROW | 16:24 |
sanuj | okay | 16:29 |
deepak__ | \ping arianepaola | 16:35 |
deepak__ | Oops sorry | 16:36 |
arianepaola | ok | 16:36 |
deepak__ | So what do I do next? | 16:37 |
-!- HeikoS [~heiko@host109-149-24-157.range109-149.btcentralplus.com] has joined #shogun | 16:45 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 16:45 | |
-!- HeikoS [~heiko@host109-149-24-157.range109-149.btcentralplus.com] has quit [Client Quit] | 16:46 | |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] | 16:50 | |
@lambday | Saurabh7: hey | 16:50 |
@lambday | Saurabh7: sorry I was away | 16:50 |
@lambday | deepak__: hey | 16:50 |
Saurabh7 | lambday: hi | 16:50 |
deepak__ | Hi :) | 16:50 |
Saurabh7 | lambday: does parallel->get_num_cpus() work for you | 16:51 |
@lambday | Saurabh7: haven't checked that. what's the result in your machine? | 16:51 |
Saurabh7 | zero :) | 16:51 |
@lambday | Saurabh7: haha | 16:51 |
@lambday | Saurabh7: well, you can always set things | 16:52 |
@lambday | Saurabh7: but more important to know - why doesn't it work | 16:52 |
Saurabh7 | lambday: so the omp patch it sets num_threads? | 16:52 |
@lambday | Saurabh7: yeah so it is zero by default | 16:52 |
@lambday | Saurabh7: wait, but if it is zero, then how does the CKernel::compute work for you? | 16:53 |
@lambday | cause that uses the number of threads in pthreaded way | 16:53 |
@lambday | deepak__: got your problem solved? | 16:54 |
deepak__ | No, not really lambday | 16:54 |
@lambday | deepak__: what's the beef? | 16:54 |
deepak__ | I don't know, I used the instructions to install shogun, but I'm not able to compile the minima example | 16:56 |
deepak__ | minimal example | 16:56 |
@lambday | deepak__: does shogun compile itself? | 16:56 |
deepak__ | chmod +x ./so_multiclass_BMRM && ./so_multiclass_BMRM | 16:57 |
deepak__ | this works | 16:57 |
deepak__ | but idk what you mean by shogun compiling itself | 16:57 |
@lambday | deepak__: so what doesn't? | 16:57 |
@lambday | deepak__: I meant, have you been able to build shogun? | 16:57 |
deepak__ | the minimal example from https://github.com/shogun-toolbox/shogun/wiki/README_developer | 16:58 |
@lambday | if the examples compile and work, then any shogun code should work | 16:58 |
deepak__ | No, I get this error | 16:59 |
deepak__ | shogun/base/init.h: No such file or directory | 16:59 |
@lambday | deepak__: where did you install it? | 16:59 |
@lambday | install shogun I mean | 16:59 |
deepak__ | In my home directory | 16:59 |
@lambday | are you specifying the include path then? | 16:59 |
deepak__ | I did something of that sort, but I'm not sure if I did it right | 17:00 |
@lambday | deepak__: can you paste the cmd you're using for compiling your example? | 17:00 |
deepak__ | g++ minimal.cpp -lshogun -o minimal | 17:01 |
@lambday | deepak__: it doesn't specify the include path | 17:01 |
deepak__ | So what should it look like? | 17:01 |
@lambday | do something like g++ -I/path/to/your/shogun/install/dir minimal.cpp -lshogun -o minimal | 17:01 |
deepak__ | ah okay I'll get bsck to you in a sec | 17:01 |
deepak__ | back * | 17:01 |
@lambday | also, probably you have to add the path to libshogun.so as well.. either set LD_LIBRARY_PATH to specify that or "-L/path/to/your/shogun/install/dir/lib -lshogun" | 17:03 |
@lambday | Saurabh7: I'll check the result in my machine and let you know | 17:04 |
Saurabh7 | lambday: ok thanks | 17:05 |
Saurabh7 | just wanted to put it in a unit test so wanted to double check with someone | 17:05 |
@lambday | Saurabh7: in that case, let me check right now | 17:06 |
deepak__ | lamday: g++ -I$HOME/shogun-install1/include/shogun minimal.cpp -L$HOME/shogun-install1/lib -lshogun -o minimal | 17:06 |
deepak__ | this was my command | 17:06 |
deepak__ | I still get the same error | 17:07 |
deepak__ | lambday: * | 17:09 |
-!- HeikoS [~heiko@nat-173-49.internal.eduroam.ucl.ac.uk] has joined #shogun | 17:09 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 17:09 | |
@lambday | Saurabh7: here it gives 1 | 17:10 |
@lambday | deepak__: try this : g++ -I$HOME/shogun-install1/include minimal.cpp -L$HOME/shogun-install1/lib -lshogun -o minimal | 17:11 |
deepak__ | I'm getting new errors | 17:14 |
deepak__ | https://gist.github.com/deepakkandasamy/c34542e7fd0d27a862cf4732e52d6f6e | 17:14 |
@lambday | deepak__: it says libhdf5 is not found.. maybe try installing that/turn if off from cmake options | 17:17 |
Saurabh7 | lambday: ah yes wasnt using %d !! | 17:19 |
Saurabh7 | lambday: but should it be num of cores ? | 17:20 |
Saurabh7 | shouldnt | 17:20 |
Saurabh7 | HeikoS: hi | 17:20 |
@lambday | Saurabh7: dunno.. | 17:26 |
@lambday | mine should be 4 | 17:26 |
-!- deepak__ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has quit [Ping timeout: 250 seconds] | 17:27 | |
-!- sanuj [~sanuj@45.127.53.174] has quit [Ping timeout: 244 seconds] | 17:28 | |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has joined #shogun | 17:29 | |
deepak_ | lambday: after installing libhdf5 i get the same errors | 17:30 |
deepak_ | Should I be linking something? | 17:30 |
@lambday | deepak_: libhdf5-devel :P | 17:30 |
deepak_ | sudo apt-get install libhdf5-dev , this right? | 17:31 |
@lambday | deepak_: yes | 17:31 |
deepak_ | Yup, I still get those same old errors | 17:31 |
@lambday | deepak_: wait | 17:32 |
@lambday | you can turn it off from cmake | 17:32 |
@lambday | run ccmake .. | 17:32 |
@lambday | it will give you available options and their values that are set | 17:32 |
@lambday | just turn hdf5 off | 17:32 |
@lambday | I wonder why it didn't work even after installing hdf5 | 17:33 |
deepak_ | lambday: It says that the hdf5_dir is not found in ccmake | 17:35 |
deepak_ | Does that help? | 17:35 |
@lambday | deepak_: did you find any option that tells to turn this thing off altogether? | 17:36 |
@lambday | deepak_: actually it is a bug I think.. if cmake couldn't find hdf5 properly, it should turn this thing off and move on assuming it's not there | 17:37 |
@lambday | wiking: ^ | 17:37 |
@lambday | arianepaola: ^ | 17:37 |
deepak_ | It was turned on, I turned it off and configured ,generated and exited | 17:37 |
@lambday | deepak_: then run make | 17:38 |
arianepaola | lambday: probably a bug, with libhdf5-dev installed it was working for me | 17:40 |
@lambday | arianepaola: same here.. but deepak_ had a problem even with libhdf5-dev installed | 17:41 |
@lambday | dunno what it is | 17:41 |
arianepaola | lambday: I have all development libs installed on 14.04 and 16.04 and it is working | 17:42 |
arianepaola | maybe some strange corner case | 17:42 |
arianepaola | deepak_: it would be very helpful, if you could open an issue on github, mentioning the error and also your system configuration | 17:42 |
deepak_ | Sure, just a minute | 17:43 |
deepak_ | I'm confused on where to make actually | 17:43 |
arianepaola | https://github.com/shogun-toolbox/shogun/issues | 17:44 |
deepak_ | No, I get make: *** No rule to make target 'all'. Stop. if I give make -j5 all in the build folder | 17:46 |
@lambday | deepak_: just run "make -j5" | 17:47 |
deepak_ | make: *** No targets specified and no makefile found. Stop. | 17:47 |
deepak_ | This is what I get | 17:47 |
deepak_ | lambday : I went to the parent folder and ran make -j5 and I get | 17:50 |
deepak_ | https://gist.github.com/deepakkandasamy/12f85269a5e4073f634f8dfc91e38219 | 17:51 |
deepak_ | Damn I have been sitting with this install for 12 hours now xD | 17:52 |
@lambday | deepak_: why parent folder? your makefile is generated inside the build folder, right? | 17:55 |
deepak_ | It isn't | 17:56 |
@lambday | where did you run your cmake cmd? | 17:56 |
deepak_ | Did I make some mistake while doing cmake? | 17:56 |
deepak_ | In build | 17:56 |
@lambday | and the Makefile is not there? | 17:56 |
@lambday | after you run cmake? | 17:56 |
deepak_ | -- Build files have been written to: /home/deepak/shogun | 17:57 |
@lambday | deepak_: that's not your build dir | 17:57 |
deepak_ | and not shogun/build for some reason | 17:57 |
@lambday | deepak_: recheck.. maybe you're doing something wrong :P | 17:58 |
@lambday | Build files have been written to: /home/lambday/Downloads/shogun/build | 17:58 |
deepak_ | the cmd is cmake .. right? | 17:58 |
@lambday | deepak_: yep | 17:59 |
deepak_ | Then why do my make files go to the parent folder? :( | 18:00 |
-!- sanuj [~sanuj@45.127.53.174] has joined #shogun | 18:08 | |
deepak_ | arianepaola : https://github.com/shogun-toolbox/shogun/issues/3238 | 18:10 |
deepak_ | done | 18:10 |
arianepaola | deepak_: thanks. could you also add your system info? | 18:11 |
arianepaola | and mention that you used the code from git | 18:11 |
sanuj | lambday, there? | 18:17 |
sanuj | HeikoS, there? | 18:22 |
@lambday | sanuj: yo | 18:22 |
sanuj | lambday, i have a c++ question :) | 18:22 |
@HeikoS | sanuj: jojo | 18:22 |
@lambday | sanuj: shoot :) | 18:23 |
sanuj | i have a struct in SGObject | 18:23 |
sanuj | in that struct i want to use get_name() of SGObject | 18:23 |
sanuj | lambday, how to do it | 18:23 |
sanuj | i found something about lambda functions on the web for this | 18:23 |
sanuj | but don't know exactly how lambda functions help | 18:24 |
sanuj | HeikoS, hey :) | 18:24 |
@lambday | sanuj: you want to call a method from the owner? | 18:24 |
sanuj | HeikoS, this is ready https://github.com/shogun-toolbox/shogun/pull/3227 | 18:24 |
@lambday | sanuj: I usually keep a back-ptr | 18:24 |
@lambday | "owner" | 18:24 |
sanuj | yeah | 18:24 |
@HeikoS | sanuj: will check later | 18:25 |
@HeikoS | gotta leave very soon | 18:25 |
sanuj | HeikoS, sure | 18:25 |
sanuj | lambday, so i pass a pointer to SGObject i.e. this in the struct's constructor? | 18:27 |
sanuj | "this" | 18:27 |
@lambday | sanuj: yeah.. that should do it, right? | 18:28 |
sanuj | lambday, okay, i'll try | 18:28 |
@lambday | should also be const | 18:28 |
@lambday | never modify that ptr | 18:28 |
sanuj | cool | 18:28 |
sanuj | lambday, and what kind of pointer | 18:28 |
sanuj | simple c++ or unique_ptr, shared_ptr etc? | 18:28 |
@lambday | sanuj: lol but then you can only call methods that are const.. is get_name const? | 18:29 |
@lambday | sanuj: simple ptr should do | 18:29 |
@lambday | it doesn't modify the life-time of that ptr | 18:29 |
deepak_ | arianepaola : I updated it | 18:29 |
sanuj | lambday, get_name is pure virtual const | 18:30 |
sanuj | so will work | 18:30 |
@lambday | sanuj: awesome then! :D | 18:30 |
sanuj | :D | 18:30 |
sanuj | let me try first :P | 18:30 |
@lambday | deepak_: did your problem get resolved? | 18:30 |
deepak_ | No , not really | 18:31 |
deepak_ | Is installing it really this tough for everyone here? | 18:32 |
@lambday | deepak_: not that tough | 18:32 |
@lambday | deepak_: I wonder why your makefile is not inside build | 18:32 |
@lambday | if you run the cmake cmd from inside build dir, the generated Makefile should also be inside the build dir | 18:33 |
@lambday | OXPHOS: hola | 18:33 |
@lambday | OXPHOS: checking your PR :) | 18:34 |
sanuj | OXPHOS, !!! | 18:34 |
OXPHOS | lambday: thx! | 18:35 |
OXPHOS | sanuj: ... | 18:35 |
sanuj | :D | 18:35 |
sanuj | OXPHOS, hi | 18:35 |
sanuj | i need to show you my tags PR | 18:35 |
sanuj | let me get the link | 18:35 |
OXPHOS | sanuj: sure..? | 18:35 |
sanuj | OXPHOS, this is how tags look in shogun https://github.com/shogun-toolbox/shogun/pull/3221/files#diff-8cfacc7a0d1355252c12528031d690b5R315 | 18:36 |
sanuj | i'm supposed to tell you about this | 18:36 |
sanuj | OXPHOS, for serialization | 18:36 |
deepak_ | lambday: When I build from shogun-4.1.0, my makefiles are inside build | 18:37 |
deepak_ | But for the git code it goes to the parent folder | 18:37 |
sanuj | OXPHOS, have you read sergey's design draft for tags / parameters? | 18:37 |
deepak_ | No idea why | 18:37 |
OXPHOS | sanuj: cool! thx so much | 18:37 |
OXPHOS | sanuj: nop | 18:37 |
@lambday | deepak_: shouldn't be :) | 18:37 |
OXPHOS | sanuj: kinda slow :/ | 18:37 |
@lambday | deepak_: maybe recheck a bit? | 18:37 |
sanuj | OXPHOS, no problem :) | 18:38 |
@lambday | deepak_: are you sure you're compiling from develop branch? | 18:38 |
OXPHOS | sanuj: can you show me where I can find it? | 18:38 |
sanuj | OXPHOS, tags will be merged in shogun by the end of this week or next week | 18:38 |
sanuj | OXPHOS, yes...getting it | 18:38 |
deepak_ | lambday, develop branch? | 18:38 |
@lambday | deepak_: for the latest git code I mean | 18:39 |
@lambday | deepak_: yeah | 18:40 |
deepak_ | Yup | 18:40 |
sanuj | OXPHOS, here it is: https://github.com/shogun-toolbox/shogun/wiki/New-parameters-framework-and-plugins | 18:40 |
OXPHOS | sanuj: thanks! | 18:40 |
-!- leagoetz [~leagoetz@nat-204-119.internal.eduroam.ucl.ac.uk] has joined #shogun | 18:40 | |
sanuj | lambday, each time i change SGObject.h | 18:41 |
sanuj | whole shogun code has to be rebuilt | 18:42 |
sanuj | which is kinda slow :/ | 18:42 |
OXPHOS | sanuj: may I ask whether I need to inherit CSGObject to use SG_ERROR? | 18:43 |
arianepaola | sanuj: ccache and ninja? | 18:43 |
@lambday | sanuj: haha of course.. | 18:43 |
sanuj | arianepaola, that makes it fast? | 18:44 |
OXPHOS | sanuj: I included #include <shogun/io/SGIO.h> and it doesn't work | 18:44 |
sanuj | i'll use it then | 18:44 |
sanuj | OXPHOS, you can try SG_SERROR also | 18:44 |
arianepaola | it will cache and reuse object files of unmodified sources | 18:44 |
arianepaola | on Ubuntu, packages are: ccache ninja-build | 18:45 |
sanuj | OXPHOS, if it does not inherit CSGObject then use SGS_ERROR | 18:45 |
arianepaola | cmake -GNinja -DENABLE_TESTING=ON -DPythonModular=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="./install" .. | 18:45 |
OXPHOS | sanuj: thx! it worked! | 18:45 |
deepak_ | arianepaola is it ok? | 18:45 |
arianepaola | ninja GoogleMock && ninja all && ninja install && ninja test | 18:45 |
sanuj | arianepaola, cool! i'll do this :) | 18:46 |
arianepaola | deepak_: sure, thanks for the updated info | 18:46 |
@lambday | OXPHOS: hey.. checked your updated PR.. it works now, right? | 18:46 |
arianepaola | sanuj: if you use fedora, the command is ninja-build | 18:46 |
deepak_ | You're welcome arianepaola | 18:46 |
@lambday | OXPHOS: I added some minor comments | 18:46 |
OXPHOS | lambday: yes. thanks for that! may i ask why we need to move template methods to .cpp? | 18:46 |
arianepaola | sanuj: the first time it is as slow as normal :-) | 18:47 |
sanuj | haha, never mind ;) | 18:47 |
arianepaola | sanuj: basically it is if you leave out the options: cmake -GNinja .. && ninja | 18:47 |
@lambday | OXPHOS: so that if you change the implementation later, other files doesn't need to be recompiled that includes that header | 18:47 |
deepak_ | lambday, even if I build from the parent directory it is supposed to work right? | 18:48 |
arianepaola | also ninja automatically adjusts the build settings according to the number of cpus and cores available | 18:48 |
OXPHOS | lambday: I see. How about the GPU dot method? Is this the correct way or it has to be wrapped? | 18:48 |
sanuj | arianepaola, i'll make a new build and use these flags | 18:49 |
sanuj | arianepaola, no need for "-j4" | 18:49 |
sanuj | like make -j4? | 18:49 |
arianepaola | nope :-) | 18:50 |
sanuj | sounds good | 18:50 |
arianepaola | check the description at https://ninja-build.org/ | 18:50 |
@lambday | OXPHOS: looks fine to me... | 18:50 |
@lambday | OXPHOS: just make the GPUBackend a friend class.. so that it can access the ptr, even though it is not public in GPUVector | 18:51 |
@lambday | OXPHOS: or actually, it's fine to keep it public | 18:51 |
@lambday | these are all internal | 18:51 |
sanuj | arianepaola, yes, thanks :) | 18:51 |
@lambday | nobody is gonna do anything nasty with these | 18:51 |
OXPHOS | lambday: XD friend may look nicer | 18:52 |
arianepaola | sanuj: :-) | 18:52 |
@lambday | OXPHOS: well, anything is fine.. | 18:53 |
@lambday | OXPHOS: doesn't have to force data hiding if it's not really needed :D | 18:53 |
@lambday | OXPHOS: but friendship is useful sometimes | 18:54 |
@lambday | OXPHOS: well, so the thing is - this refactoring works | 18:54 |
@lambday | :) | 18:54 |
@lambday | and with opaque ptrs | 18:54 |
@lambday | right? | 18:54 |
OXPHOS | lambday: positive! | 18:55 |
@lambday | OXPHOS: roger | 18:55 |
@lambday | OXPHOS: so next steps: | 18:55 |
@lambday | 1. make linalg a singleton.. there should be just one instance of this class.. (let's call it Linalg instead of LinalgRefactor).. we'll create one instance of it in init_shogun().. | 18:56 |
@lambday | the global instance would be like sg_linalg | 18:56 |
@lambday | 2. figure out how to register backends.. | 18:57 |
OXPHOS | okay | 18:57 |
@lambday | 3. check how slow it is compared to using dot directly | 18:58 |
-!- OXPHOS_ [9d8b131c@gateway/web/freenode/ip.157.139.19.28] has joined #shogun | 18:59 | |
OXPHOS_ | lambday: sry chrome crashed.. | 18:59 |
OXPHOS_ | lambday: okay I saw them | 19:01 |
-!- OXPHOS [9d8b131c@gateway/web/freenode/ip.157.139.19.28] has quit [Ping timeout: 250 seconds] | 19:02 | |
@lambday | OXPHOS_: dw | 19:03 |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun | 19:04 | |
-!- leagoetz [~leagoetz@nat-204-119.internal.eduroam.ucl.ac.uk] has quit [] | 19:04 | |
@lambday | OXPHOS_: I'll suggest, you write a small benchmark first | 19:05 |
@lambday | OXPHOS_: we need to see how much we're paying for this | 19:05 |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Client Quit] | 19:05 | |
OXPHOS_ | lambday: sure. need some research for that | 19:07 |
@lambday | OXPHOS_: let me know if you need to ask anything. maybe I can help | 19:07 |
OXPHOS_ | lambday: I got it. I will. thanks! | 19:08 |
deepak_ | lambday: Any idea about my problem? | 19:08 |
@lambday | deepak_: it still complains about hdf5? | 19:11 |
deepak_ | lambday, I was not able to make it | 19:12 |
@lambday | deepak_: how were you able to make it last time, when you didn't turn off hdf5? | 19:13 |
@lambday | maybe follow the same steps? | 19:13 |
deepak_ | lambday, I'll check it out | 19:13 |
@lambday | deepak_: it shouldn't be that hard :| | 19:17 |
@lambday | at least it is not supposed to be | 19:18 |
deepak_ | lambday, I can only make without errors when USE_HDF5 is set to ON | 19:18 |
@lambday | deepak_: okay.. and otherwise, the generation of makefile doesn't work? | 19:18 |
deepak_ | yes | 19:18 |
@lambday | arianepaola: can you please check once whether using HDF5 is **REQUIRED** ? | 19:19 |
@lambday | if so, it's a bug | 19:19 |
@lambday | also, I wonder why it didn't find your libhdf5-dev things when you already installed it | 19:20 |
@lambday | deepak_: can you please check that the headers and the lib for hdf5 are in the standard locations | 19:20 |
@lambday | ? | 19:20 |
deepak_ | Sure | 19:21 |
deepak_ | It shouldnt be a problem as I apt-get installed it | 19:21 |
-!- sanuj [~sanuj@45.127.53.174] has quit [Quit: Leaving] | 19:22 | |
deepak_ | lambday, I have it in the proper place :( | 19:36 |
@lambday | deepak_: so cmake didn't detect this - that's a bug | 19:40 |
deepak_ | awesome, what do I do now D: | 19:41 |
@lambday | deepak_: actually there are two issues there (a) cmake didn't detect hdf5 when it was there (b) it is not being possible to turn off hdf5 | 19:42 |
@lambday | I am sure (b) is solvable | 19:42 |
@lambday | deepak_: I'll try a bit later in my machine | 19:43 |
deepak_ | lambday | 19:47 |
deepak_ | lambday : So, there's nothing I can do now? | 19:48 |
@lambday | deepak_: you can try providing the hdf5 lib link in the compilation of the example of yours along with -lshogun | 19:49 |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun | 20:08 | |
c4goldsw | arianepaola Hey, where you able to help that person out? | 20:09 |
arianepaola | c4goldsw: seems to be a cmake config bug | 20:10 |
c4goldsw | Fair enough. | 20:10 |
deepak_ | g++ -I$HOME/shogun-install1/include minimal.cpp -L$HOME/shogun-install1/lib -L/usr/lib/x86_64-linux-gnu -lshogun -o minimal gives errors too | 20:10 |
deepak_ | This is really frustrating for a beginner | 20:10 |
deepak_ | lambday ^ | 20:11 |
@lambday | deepak_: did you link against the libhdf5 as well? | 20:14 |
@lambday | you don't need to give -L if it is standard | 20:15 |
@wiking | y0 | 20:18 |
deepak_ | Um how should I link it then? | 20:18 |
deepak_ | lambday ^ | 20:21 |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] | 20:24 | |
@lambday | deepak_: what's the *.so name for the lib? | 20:27 |
@lambday | deepak_: just google a bit :) | 20:27 |
@lambday | usually it is -l<name> when the library name is lib<name>.so | 20:27 |
deepak_ | libhdf5.so.10 | 20:28 |
@lambday | deepak_: there has to be a soft link to that, libhdf5.so | 20:29 |
deepak_ | lambday :yes,there is one | 20:30 |
deepak_ | lambday, wait a sec, /usr/lib/x86_64-linux-gnu doesn't seem to contain libdf5.so.10 | 20:32 |
deepak_ | libhdf5.so.10 * | 20:32 |
@lambday | deepak_: where is it installed? | 20:34 |
deepak_ | lambday, where do I check that? | 20:36 |
@lambday | [19:28] <@lambday> deepak_: there has to be a soft link to that, libhdf5.so [19:29] <deepak_> lambday :yes,there is one | 20:40 |
@lambday | deepak_: ^ where did you check for the soft link? | 20:40 |
@lambday | that's where it is instlaled | 20:40 |
deepak_ | lambday /usr/lib/x86_64-linux-gnu/hdf5 | 20:42 |
@lambday | deepak_: that's non-standard.. | 20:49 |
deepak_ | So I link it using -L ? | 20:49 |
@lambday | deepak_: yes | 20:49 |
@lambday | deepak_: that's why shogun cmake didn't find it! :) | 20:51 |
deepak_ | wait, it just contains links to another folder | 20:51 |
deepak_ | lambday, is this standard? /usr/include/hdf5/serial | 20:52 |
@lambday | deepak_: usually /usr/include or /usr/local/include are standard | 20:53 |
@lambday | deepak_: anything else, you need to specify | 20:53 |
@lambday | deepak_: I'd suggest that you create symbolic links to your libhdf5 in those standard dirs | 20:54 |
deepak_ | But I'm not able to locate libhdf5.so.10 in /usr/include/hdf5/serial or /usr/lib/x86_64-linux-gnu/hdf5 | 20:55 |
deepak_ | lambday : So I don't know what to do now | 20:55 |
@lambday | deepak_: so your installation of libhdf5 is not successful? | 20:57 |
@lambday | deepak_: the standard path for the lib is /usr/lib, /usr/lib64, /usr/local/lib | 20:58 |
@lambday | I meant the includes are for the headers | 20:58 |
-!- HeikoS [~heiko@nat-173-49.internal.eduroam.ucl.ac.uk] has quit [Ping timeout: 246 seconds] | 21:02 | |
deepak_ | lambday, the installation is successful, I checked using dpkg but such a file doesn't seem to exist | 21:05 |
@lambday | deepak_: again, where is your libdf5.so.10 and libdf5.so ? | 21:07 |
@lambday | just link against those | 21:07 |
deepak_ | libhd5.so.10 doesn't seem to exist! | 21:07 |
@lambday | -L/path/to/whereever/those/sos/are -lhdf5 | 21:07 |
@lambday | in your compiler option | 21:08 |
deepak_ | libhhd5.so links to libhd5_serial.so | 21:08 |
@lambday | deepak_: just give path to your libhdf5.so | 21:09 |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has quit [Quit: Page closed] | 21:11 | |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has joined #shogun | 21:11 | |
deepak_ | lambday , /usr/lib/x86_64-linux-gnu/hdf5/serial/libhd5.so | 21:12 |
deepak_ | it links to | 21:12 |
@lambday | deepak_: what links to? | 21:13 |
deepak_ | libhd5.so | 21:13 |
@lambday | is it libhd5 or libhdf5 ? | 21:13 |
deepak_ | libhdf5.so | 21:13 |
deepak_ | Sorry | 21:14 |
@lambday | just give "-L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -lhdf5" along with other compiler options | 21:14 |
arianepaola | bye everyone, until tomorrow | 21:14 |
@lambday | arianepaola: bye! | 21:14 |
deepak_ | arianepola : BYe ! thank you for your time ;) | 21:16 |
deepak_ | lambday , g++ -I$HOME/shogun-install1/include minimal.cpp -L$HOME/shogun-install1/lib -L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -lhdf5 -lshogun -o minimal | 21:17 |
deepak_ | this is my latest g++ cmd | 21:17 |
deepak_ | No miracles yet ;( | 21:17 |
@lambday | deepak_: I just checked my machine : I too have HDF5_DIR *HDF5_DIR-NOTFOUND | 21:21 |
@lambday | but that doesn't stop it from working | 21:21 |
deepak_ | ok? So where do you have your shogun libraries? | 21:22 |
@lambday | deepak_: hah I don't even have hdf5 installed.. still shogun works | 21:23 |
@lambday | hm | 21:23 |
@lambday | ah sorry, I do have it installed... but the cmake complains | 21:23 |
@lambday | here is where I have it : /usr/lib64/libhdf5.so | 21:24 |
@lambday | deepak_: I usually install shogun in the default dir (/usr/local/...) | 21:25 |
deepak_ | Oh ok | 21:26 |
@lambday | doesn't matter, it works from whereever you install it | 21:27 |
@lambday | just create a symlink for that lib in a standard location, run cmake and make | 21:27 |
deepak_ | What do I do now then? | 21:28 |
deepak_ | OK | 21:28 |
@lambday | and make sure you remove your old cmake junks before you rerun cmake | 21:28 |
deepak_ | Wait | 21:29 |
deepak_ | lambday :I have ananconda installed for numpy and sych | 21:30 |
deepak_ | Is it possible that it is interfering with with my shogun installation? | 21:30 |
deepak_ | such * | 21:30 |
@lambday | deepak_: don't think so | 21:31 |
deepak_ | lambday : I get tons of warnings when I run cmake such as runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/deepak/anaconda2/lib | 21:32 |
@lambday | deepak_: does the cmake give you success? | 21:35 |
deepak_ | Yes, | 21:36 |
deepak_ | -- Generating done -- Build files have been written to: /home/deepak/shogun/build | 21:36 |
deepak_ | -- Generating done -- Build files have been written to: /home/deepak/shogun | 21:36 |
deepak_ | sorry | 21:36 |
deepak_ | I'm so sleepy that I'm typing stuff that I want to see on the terminal | 21:37 |
deepak_ | lambday : ^ | 21:37 |
@lambday | deepak_: haha sleep it off.. maybe try it again tomorrow | 21:42 |
@lambday | deepak_: I gotta go | 21:42 |
deepak_ | lambday : Thanks so much man | 21:42 |
deepak_ | You gave a lot of time to this , I'm truely grateful :) | 21:43 |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has quit [Quit: Page closed] | 21:44 | |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has joined #shogun | 21:45 | |
@lambday | deepak_: don't worry.. I have been doing my own work side by side :) | 21:46 |
@lambday | ciao | 21:46 |
deepak_ | lambday: Bye, I shall come back tomorrow to find a fix for this :| | 21:47 |
-!- deepak_ [0e8bb448@gateway/web/freenode/ip.14.139.180.72] has quit [Quit: Page closed] | 21:52 | |
-!- lambday [8028b10a@gateway/web/freenode/ip.128.40.177.10] has quit [Ping timeout: 250 seconds] | 22:03 | |
-!- sonne|osx [~sonne@x4db41800.dyn.telefonica.de] has joined #shogun | 22:48 | |
-!- lambday [56a397da@gateway/web/freenode/ip.86.163.151.218] has joined #shogun | 23:24 | |
-!- mode/#shogun [+o lambday] by ChanServ | 23:25 | |
--- Log closed Thu Jun 02 00:00:22 2016 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!