K-ballo 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/
hkaiser has quit [Quit: bye]
jehelset has joined #ste||ar
K-ballo has quit [Quit: K-ballo]
hkaiser has joined #ste||ar
bita has quit [Quit: Leaving]
hkaiser has quit [Quit: bye]
jehelset has quit [Ping timeout: 260 seconds]
Coldblackice has quit [Ping timeout: 240 seconds]
jehelset has joined #ste||ar
nanmiao11 has quit [Quit: Connection closed]
K-ballo has joined #ste||ar
hkaiser has joined #ste||ar
<diehlpk_work> ms[m], Just to confirm you will take care of the GSoD application?
bita has joined #ste||ar
bita has quit [Ping timeout: 258 seconds]
bita has joined #ste||ar
nanmiao11 has joined #ste||ar
<ms[m]> diehlpk_work: sure, I'll give it a go
<jedi18[m]1> How do I run the tests on visual studio? I right click on adjacentfind_test and click on "Run Tests" but that dosen't really do anything :/
<gonidelis[m]> you run `ctest -R <target>`
<gonidelis[m]> like `ctest -R tests.unit.modules.algorithms.adjacentfind`
<gonidelis[m]> use auto complete with tab. it will help ;)
<hkaiser> jedi18[m]1: right click on the test, 'Set as startup project', and run as usual
<hkaiser> (F5)
<gonidelis[m]> hkaiser: 0.0
Adidas has joined #ste||ar
<jedi18[m]1> Thank you! Where do I place the boost dll files? Build/Debug/bin?
Adidas has left #ste||ar ["Leaving"]
<jedi18[m]1> hkaiser: it just prints "using seed: 1230896067"
<hkaiser> so it runs
<hkaiser> it would complain loudly if something was wrong
<jedi18[m]1> Ohh ok thanks. No I stashed the changes and tried running it first, I'll pop those changes and see if the tests run
<jedi18[m]1> Ok yeah the tests run, I just changed the tag_fallback to tag_fallback_invoke and hpx::functional::tag<adjacent_find_t> to hpx::functional::tag_fallback<adjacent_find_t>. Is that really all that was required to be changed?
<gonidelis[m]> jedi18: yes, afaik
<gonidelis[m]> compiler and CI will be the final judges though
<jedi18[m]1> So do I create a PR then?
<jedi18[m]1> BTW are there some other things I'd need to learn not mentioned in the C++ series? Like concepts.
jehelset has quit [Remote host closed the connection]
<gonidelis[m]> jedi18: reading TSs I in general I would say, gettin close to the standardization process ;)
<gonidelis[m]> not just concepts
<gonidelis[m]> btw we do not use concepts (yet)
<hkaiser> jedi18[m]1: yes, pls create a PR
<pedro_barbosa[m]> Hey guys, I was adapting one of the exercises from the tutorials (original exercise: https://github.com/STEllAR-GROUP/tutorials/blob/master/examples/00_exercises/solution9.cu) and ended up with this https://gist.github.com/PADBarbosa/ebdd78dae9a8b33ea93118953c4288e2, but for some reason when I run it the vh array is filled with 2s instead of 4s, anyone knows what I'm doing wrong?
jpinto[m] has joined #ste||ar
* K-ballo just started using concepts (well, just requires expressions really).. it's so nice
<K-ballo> now if only I could raise a warning/error whenever sfinae happens "accidentally" ...
<ms[m]> pedro_barbosa: most likely you'll need to make sure that the for_each happens before the copy, as it is there's nothing to tell the runtime that should happen
<ms[m]> either with an explicit f.get(), or better by sticking the copy in a continuation with f.then()
<ms[m]> note that if you use hpx::execution::par(hpx::execution::task) instead of just hpx::execution::par you get a future back from for_each and you don't have to wrap it in async
<pedro_barbosa[m]> Going to give that a try, thanks
<ms[m]> K-ballo: what sort of "accidental"? :P
<K-ballo> pretty much anything that isn't an enable_if, essentially.. except there's no point for enable_if either with requires
<K-ballo> maaaaaaaaaaaaybe some invoke_result uses would be reasonable, but I'm not entirely convinced
<K-ballo> better to be explicit
<gonidelis[m]> lol
<pedro_barbosa[m]> <ms[m] "either with an explicit f.get(),"> Tried doing a then but was having some truble so in order to test if that was the problem I used a f.get() but the problem remains, the final array is filled with 2s instead of 4s
<ms[m]> pedro_barbosa: v is passed by value to fun1?
<ms[m]> I think that makes a copy, assuming it behaves the same as std::vector (I haven't used those much)
<pedro_barbosa[m]> yeah that was the problem, was able to fix the problem
<pedro_barbosa[m]> * yeah that was the problem, was able to fix it
<pedro_barbosa[m]> * yeah that was the problem, was able to fix it, thanks!
<jedi18[m]1> <hkaiser "jedi18: yes, pls create a PR"> Oh ok, I did :)
<hkaiser> jedi18[m]1: thanks!
<jedi18[m]1> hkaiser: I dind't get your comment, add the changes to which file?
<hkaiser> to the related container_algorithm
<jedi18[m]1> <hkaiser "to the related container_algorit"> Oh right ok sure
parsa has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<hkaiser> jedi18[m]1: I added the link now, sorry
parsa has joined #ste||ar
<jedi18[m]1> <hkaiser "jedi18: I added the link now, so"> np, thanks for reviewing the PR!
nanmiao11 has quit [Quit: Connection closed]
nanmiao111 has joined #ste||ar
nanmiao111 has quit [Client Quit]
nanmiao has joined #ste||ar
parsa has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
parsa has joined #ste||ar
fodinabor has joined #ste||ar
<fodinabor> hey :) I do get a "negative entry in reference count table" exception with HPX 1.5.1 (only when running on multiple nodes) and am wondering how to go about debugging this
<heller> Hey. That sounds bad. Is it easily reproducible?
<heller> Like in every run? If yes, then the best thing would be to figure out when this is happening. This could be done with running the application with --hpx:attach-debugger=exception
<heller> And then attach to the pid and inspect the threads
<hkaiser> uhh ohh, we haven't seen one of those in a loooong time
<fodinabor> Uhm... well it was pretty consistent the last few hours.. but not in the last 10 runs..
<fodinabor> what would I see with the debugger attached? the decrement_sweep function is not called, when the reference is decremented directly or is it? Or is there a way to determine what kind of object seems to be the problem from the GID, which is printed in the stack trace? raw({000000030000004e, 0000000001d66c60})
<heller> The idea is to figure out which operation triggers the exception
<heller> Debugging those errors is hard... The best thing would be a small self contained example to reproduce the issue
<fodinabor> given that it ran stable the last x tests (without changing too much).. any chance this could be caused by an instable network or similar?
<heller> Unstable network is highly unlikely
<fodinabor> okay.. will try to reproduce.. and have a look with the debugger
<heller> If you changed not too much, you changed something. That might have made the difference already
<heller> What we need is at least code snippets which you think are causing the problem
<heller> Or something along those lines
<fodinabor> what counts as small example? :P we're basically running an extended version of the stencil-1d 8 example, extended to do some version of 3d stencil... and already tried to stabilize some race-conditions from that example.
newUser has joined #ste||ar
newUser has quit [Quit: Connection closed]
nanmiao has quit [Quit: Connection closed]
hkaiser has quit [Quit: bye]
<fodinabor> Fixed another race condition there (got promise overwrite errors in the meantime).. seems to be rather stable for now..
<fodinabor> will check tomorrow, whether it still works ;-)
fodinabor has quit [Quit: Konversation terminated!]