aserio changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar.cct.lsu.edu | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | Buildbot: http://rostam.cct.lsu.edu/ | Log: http://irclog.cct.lsu.edu/
EverYoung has joined #ste||ar
EverYoun_ has quit [Ping timeout: 255 seconds]
EverYoung has quit [Ping timeout: 276 seconds]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
vamatya has quit [Ping timeout: 260 seconds]
EverYoung has quit [Read error: Connection reset by peer]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
EverYoung has quit [Ping timeout: 248 seconds]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
EverYoung has quit [Ping timeout: 260 seconds]
hkaiser has quit [Quit: bye]
mcopik has joined #ste||ar
anushi has quit [Remote host closed the connection]
anushi has joined #ste||ar
hkaiser has joined #ste||ar
daissgr has quit [Ping timeout: 248 seconds]
vamatya has joined #ste||ar
mcopik has quit [Ping timeout: 260 seconds]
EverYoung has joined #ste||ar
Nikunj has joined #ste||ar
EverYoung has quit [Ping timeout: 276 seconds]
nanashi55 has quit [Ping timeout: 268 seconds]
nanashi55 has joined #ste||ar
hkaiser has quit [Quit: bye]
Nikunj has quit [Ping timeout: 260 seconds]
CaptainRubik_ has joined #ste||ar
CaptainRubik_ has quit [Ping timeout: 260 seconds]
EverYoung has joined #ste||ar
vamatya has quit [Ping timeout: 248 seconds]
Nikunj has joined #ste||ar
<Nikunj> Can someone please explain why hello.sh is not found, it is working perfectly fine on my PC? link: https://circleci.com/gh/STEllAR-GROUP/hpx/9587?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
jaafar has quit [Ping timeout: 248 seconds]
<jbjnr_> nikunj: I had a quick look at your cmakelists last night - what is it you are trying to do?
<jbjnr_> I didn't understand why you are calling scripts - and not just doing a normal build - so I must not understand the purpose
<Nikunj> @jbjnr: @hkaiser asked me to actually build the file by executing same commands that hello.sh uses
<Nikunj> So I decided to simply execute the hello.sh file from examples/hello_world_component
<Nikunj> This way any linux user can run cmakelists to build the hello_world_component and the CI can also build it the same way
<Nikunj> @jbjnr_: If you feel that this is not the right way, then how should I build the hello_world_component?
david_pfander has joined #ste||ar
<jbjnr_> why do you need a script to do it? is my question. look at all the other examples - they just use cmake commands to build libs/componsnts. I just wonder why you are using a script
<simbergm> jbjnr_: I think the purpose of the example was to show how to build a component without cmake
<simbergm> so the goal is
<simbergm> 1. make sure that the component builds at all
<simbergm> 2. make sure that the script is able to build the component
<simbergm> (I think)
<simbergm> but I've been confused before, so...
<Nikunj> @jbnjr_: @hkaiser asked me to build it directly using cmake but to mimic commands given in hello.sh
<Nikunj> *not to build it directly using cmake ^^
<Nikunj> @jbjnr_: I initially used cmake to build the file like other examples to which @hkaiser asked me to not build it that way. He told me that the goal is to build like hello.sh is building
<Nikunj> That is why I resorted to using simple scripts to simply run hello.sh instead of letting cmake build the file.
<Nikunj> @jbjnr_: what simbergm is explaining is what I've been told to do.
<jbjnr_> ok if you want to use a script - then check the dirs you are pointint to - you use '../build/' but this seems to imply some kind of hardcoded location - my buid and src trees are not near eah other, so check this is correct
<jbjnr_> you should use a variable from cmake like ${CMAKE_ binary/build/etc } var
<Nikunj> I want cmake to point to the actual image directory. The one which we use to build. Btw, I ../build/ that I used yesterday was by-mistake, I didn't realise that ../build/ contains the build elements and not the image itself.
<Nikunj> So I changed the scripts to something like this: ../examples/hello_world_component/hello.sh. If I'm correct the circleci creates a directory of the repo of hpx then builds hpx into it.
<Nikunj> So what I implemented was to create another directory into repo directory by the name of test and invoked cmake from there itself by using ../examples/hello_world_component/
<Nikunj> It seemed to work fine in circleci since it was able to find the directory
<Nikunj> However the make -j2 could not find hello.sh which either means that I'm pointing to wrong directory(which is confusing since cmake did work) or hello.sh actually does not exists.
simbergm has quit [Ping timeout: 240 seconds]
simbergm has joined #ste||ar
<jbjnr_> if hello doesn't exist then you need to point to the src/ dir - unless you copy it to the build dir
<Nikunj> @jbjnr: I didn't get you. I just want to run the script hello.sh which I'm first making it executable then simply running it.
<Nikunj> How will pointing to src/dir will correct the situation?
<jbjnr_> yes bt that script is in the source tree of hpx, not the build one - unless you copied it using cmake copy(...)
<Nikunj> Oh, the file that you looked at yesterday was a bit incorrect. I, by mistake, sent the script over to build. You can check the current file here: https://github.com/NK-Nikunj/hpx/blob/fix-%233124/examples/hello_world_component/CMakeLists.txt
<Nikunj> The above script does run the cmake command but fails to execute make saying that hello.sh does not exists in the desired folder
<jbjnr_> so you need to check what the 'desired folder' it thinks it is using is the one that you think it is using and make sure you get it right! (captain obvious speaking)
<jbjnr_> gtg out for a bit.
<github> [hpx] StellarBot pushed 1 new commit to gh-pages: https://git.io/vAzoU
<github> hpx/gh-pages b27d921 StellarBot: Updating docs
<github> [hpx] msimberg pushed 1 new commit to release: https://git.io/vAzoN
<github> hpx/release 7f2ed88 Mikael Simberg: Small change to release_procedure.rst
<Nikunj> simbergm: I have a slight confusion. If we want to try building hello_world_component through hello.sh why don't we directly run the hello.sh file from circleci?
<Nikunj> Why do we need to create another cmakelists to mimic the same?
<simbergm> nikunj: I guess there are many ways it could be done
<simbergm> the reason to add a CMakeLists.txt would be that one can integrate it so that when you run make examples the hello_world example would also be built
<simbergm> and no special case is needed for circleci
<simbergm> I think everyone will have their own idea of the best way to do it
<Nikunj> simbergm: Hold on, wasn't the hello_world_component supposed to be command line only example?
<simbergm> yes
<Nikunj> I don't think that the idea was to integrate it in make examples since @hkaiser specifically asked it to remain command line
<simbergm> but at least in my mind having a CMakeLists.txt doesn't mean that it has to do it the "normal" cmake way, it's also possible to run scripts such as hello.sh using cmake
<Nikunj> or was it @k-ballo, I can't recall correctly :-(
<simbergm> yeah, might be that they have some other idea
<Nikunj> simbergm: Yeah
<simbergm> it's probably best if you discuss it with them, I'm just confusing everyone even more
<Nikunj> Creating a cmakelists has been a really easy task. Integrating it with circle is quite tricky though
<Nikunj> Every time I send a pull request perfectly working fine on my PC tends to fail in circle..