hkaiser 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/ | GSoC2018: https://wp.me/p4pxJf-k1
diehlpk has joined #ste||ar
K-ballo has quit [Quit: K-ballo]
hkaiser has quit [Quit: bye]
diehlpk has quit [Ping timeout: 264 seconds]
nanashi55 has quit [Ping timeout: 240 seconds]
nanashi55 has joined #ste||ar
nikunj has joined #ste||ar
nikunj has quit [Ping timeout: 268 seconds]
jaafar has quit [Ping timeout: 268 seconds]
nikunj has joined #ste||ar
<github> [hpx] StellarBot pushed 1 new commit to gh-pages: https://git.io/fNm0G
<github> hpx/gh-pages 4a85a3c StellarBot: Updating docs
nikunj has quit [Remote host closed the connection]
nikunj has joined #ste||ar
jakub_golinowski has joined #ste||ar
<jakub_golinowski> Is it possible to "call" hpx:dump-config from the ini file?
K-ballo has joined #ste||ar
hkaiser has joined #ste||ar
jaafar has joined #ste||ar
<jakub_golinowski> M-ms, hkaiser: as asked above: is it possible to somehow enforce dumping hpx config without being able to pass the CL --hpx:dump-config to the runtime?
<hkaiser> jaafar: no, but why are you not able to pass it to the runtime?
<hkaiser> jakub_golinowski: ^^
<hkaiser> sorry jaafar /
<jakub_golinowski> hkaiser, so in the current shape of hpx startstop backend I launch the backend for each parallel_for_() call and do not forward arc/argv - this decision was made in order not to introduce globals to opencv for now
<hkaiser> that will be very slow
<hkaiser> jakub_golinowski: here is what you can do to inject settings into the startup: https://gist.github.com/hkaiser/48c0b80e1d6dff9f14c378e7bf07b183
<hkaiser> this is taken from a project where things are done once durin gload time, your setup may vary
<jakub_golinowski> hkaiser, thanks - so for setting the config I just create the .hpx.ini file in the directory where the binary is
<hkaiser> please reload, I changed it slightly
<hkaiser> that may work as well
<M-ms> jakub_golinowski: I think it might be time to clean up the start/stop backend to a more efficient version
<M-ms> after you've shown that the hpx_main backend is pretty much as fast as the pthreads backend after tweaking parameters
<jakub_golinowski> M-ms, I also started having this thoughts, when I encountered this problem :D
<M-ms> did you have any luck with the perf scripts?
<M-ms> or do you have any numbers yet?
<M-ms> (any new ones...)
<jakub_golinowski> M-ms, so the update is as follows: I have downloaded all the dnn tests and run it for different backends
<M-ms> ok
<jakub_golinowski> for now hpx is doing really badly for those and for now I am not sure why
<jakub_golinowski> overnight I have run the mandelbrot with max_idle_loop_count=1
<M-ms> ok, was this again with default settings then?
<jakub_golinowski> but as you can infer from the discussion above the start-stop backend did not pickup the setting
<M-ms> yeah, well, we know already that one is slow so I think benchmarking it even further at this point is not necessary
<M-ms> if we can first show that the hpx_main backend is as fast as the others we can then start looking at the start/stop backend
<jakub_golinowski> here is the plot
<M-ms> ok, it's closer but not quite there
<M-ms> also 4 threads?
<jakub_golinowski> yes, 4 threads
<M-ms> ok
<M-ms> and the dnn test was with what hpx backend and what settings?
<jakub_golinowski> M-ms, I tried different settings but no major improvements
<jakub_golinowski> let my try to use their summary.py to create a nice table
<M-ms> ok, thanks
<jakub_golinowski> M-ms, also you think I should make an issue about their errors in the report.py or do a PR right awat
<M-ms> yeah, either depending on how much you found out from the discussion yesterday
<M-ms> they'd probably appreciate a PR and can help if there's something they want done differently
<M-ms> that was my next question as well, do you have a gist/diff/something with what changes you needed in the end?
<jakub_golinowski> M-ms, wow they create a neat html: https://drive.google.com/open?id=1bvSv-uEXP2Xx8m4U3qDw20eBR4Kg_09s
<jakub_golinowski> M-ms, as for the python script that gave me errors: in the docu of the perf scripts they say that scripts are written for python 2 so I used pythnon 2.7 interpreter. Nevertheless it failed. After the investigation I found the reason which was not very well done patch to make one function forward compatible with python 3
<jakub_golinowski> However it seems strange to me that sb made this patch there since when I tried to use python 3 interpreter I get errors from some other places in the file
hkaiser has quit [Quit: bye]
<jakub_golinowski> M-ms, here is a sketch of the changes: https://gist.github.com/Jakub-Golinowski/f14dd1b946ef3853adfca6a89f3ad29b
<M-ms> jakub_golinowski: thanks
<M-ms> so if your fix creates problems with python 3 I think it's better if you just open an issue
<M-ms> you can still include your suggested changes for python 2 but say that it doesn't work for python 3
<M-ms> that's a really useful table!
<M-ms> so there still seems to be a lot of variation, but in general the last hpx backend is not at all bad
<M-ms> again, we don't expect hpx to be able to beat the pthreads backend (at least in general) but here it's already faster in some cases
<M-ms> I've run the tests here and can post you my results as well once I have time (still today)
<jakub_golinowski> M-ms, I am not saying my fix introduces problems wiht python3. I am saying that when I try to run the script as is with the python3 interpreter it gives some errors anyway. Therefore a fix tha sb (not me) propose in function reformatTextValue() seems useless
<M-ms> aha, sorry
<jakub_golinowski> M-ms, also maybe I could get an access to some node? because running on my laptop becomes a bit of a problem cause I do not want to use it too much when tests run not to interefere with tests results?
<M-ms> so it has different errors with python 2 and 3, and yours fixes it for 2?
<jakub_golinowski> M-ms, exactly
<M-ms> in any case, at least open an issue and if they are happy with your suggested change you can make a PR out of it
<M-ms> jakub_golinowski: understandable... I can't promise anything
<M-ms> I think jbjnr got access to daint (at cscs) for his student
<jakub_golinowski> M-ms, actually now when I think about it I could try some ETH nodes - sudents are supposed to have acces to some cluster
<M-ms> true, you should have access to euler I think
<jakub_golinowski> M-ms, but do you now if the resources are guaranteed in euler when the job is started?
<M-ms> I've never used it but I assume they would use something like slurm which should give you unique access to a node
jakub_golinowski has quit [Ping timeout: 265 seconds]
hkaiser has joined #ste||ar
<nikunj> hkaiser, yt?
<hkaiser> nikunj: here
jakub_golinowski has joined #ste||ar
<nikunj> hkaiser, should I update the mac implementation now?
<nikunj> Or should I wait for for more linux tests
<hkaiser> nikunj: did you give up on the idea to improve diagnostics if startup goes wrong?
<nikunj> hkaiser, no, I'm thinking about that as well
<hkaiser> k
<nikunj> In the meantime we could update the code for mac
<hkaiser> sure, pls go ahead
<nikunj> hkaiser, ok
<hkaiser> nikunj: have you seen now that I passed you for GSoC?
<nikunj> yes
<hkaiser> k
hkaiser has quit [Quit: bye]
hkaiser has joined #ste||ar
<github> [hpx] K-ballo force-pushed logging from dde4b04 to a1538bc: https://git.io/vx6Yc
<github> hpx/logging a1538bc Agustin K-ballo Berge: pruning util/logging
hkaiser has quit [Quit: bye]
jakub_golinowski has quit [Ping timeout: 240 seconds]
<K-ballo> I'm doing a full build (for the first time in years), and hitting all kind of compilation errors in tests
<nikunj> K-ballo, is it related to my implementation?
<K-ballo> no, most look like they've been there forever
<K-ballo> there's even basic syntax errors, like missing semicolons
<nikunj> And I used to think I was the only one missing out on semicolons :p
<K-ballo> some other files are missing includes
<K-ballo> and there's something going on with the lambda capture mechanism
<zao> On some "exotic" toolchain?
<K-ballo> msvc...
<zao> hehe
<K-ballo> /std:c++latest, but for some reason it looks like it is targetting C++11
diehlpk has joined #ste||ar
<K-ballo> some project even ends up attempting to compile __asm__ blocks
hkaiser has joined #ste||ar
<zao> You're not gonna trick me into building it, got other stuff to hack on :)
nikunj has quit [Quit: Leaving]
<K-ballo> it seems the HPX_CAPTURE_FORWARD behavior is bogus, mixing by-value captures with implicit by-value captures is ill-formed
<K-ballo> there's a bunch of std::uniform_int_distribution<std::uint8_t> too, apparently I introduced those, also ill formd
<hkaiser> K-ballo: got some errors?
<K-ballo> working on them
<hkaiser> K-ballo: perfect, thanks!
<K-ballo> we don't have msvc builders anymore?
<hkaiser> K-ballo: appveyor runs out of memory :/
<zao> I thought we had appveyor, but apparently ... ah
<hkaiser> K-ballo: ^^
<github> [hpx] K-ballo created compiler-fence-missing-semicolons (+1 new commit): https://git.io/fNmXX
<github> hpx/compiler-fence-missing-semicolons 9173773 Agustin K-ballo Berge: Add missing semicolons to uses of HPX_COMPILER_FENCE
<github> [hpx] K-ballo created uniform-int-distribution-byte (+1 new commit): https://git.io/fNmXH
<github> hpx/uniform-int-distribution-byte 56a6f9f Agustin K-ballo Berge: Replace undefined instantiations of uniform_int_distribution for std::uint8_t
<github> [hpx] K-ballo created fix-hpx-capture-default (+1 new commit): https://git.io/fNm1z
<github> hpx/fix-hpx-capture-default 1e13eba Agustin K-ballo Berge: Fix usage of HPX_CAPTURE together with default value capture [=]
<hkaiser> K-ballo: thanks!
nikunj has joined #ste||ar
nikunj has quit [Quit: Leaving]
nikunj has joined #ste||ar
<nikunj> zao: yt?
<zao> *ducks*
<nikunj> zao:could you please run my pr on Mac OS sometime when you're free. (https://github.com/STEllAR-GROUP/hpx/pull/3367)
<zao> nikunj: Nope. Left my mac at work.
<nikunj> oh, no worries.
nikunj has quit [Quit: goodnight]
diehlpk has quit [Ping timeout: 268 seconds]
<github> [hpx] K-ballo force-pushed fix-hpx-capture-default from 1e13eba to 3618f87: https://git.io/fNmdZ
<github> hpx/fix-hpx-capture-default 3618f87 Agustin K-ballo Berge: Fix usage of HPX_CAPTURE together with default value capture [=]
<K-ballo> CI builds take forever
<github> [hpx] K-ballo opened pull request #3380: Add missing semicolons to uses of HPX_COMPILER_FENCE (master...compiler-fence-missing-semicolons) https://git.io/fNmxk
<github> [hpx] K-ballo opened pull request #3381: Replace undefined instantiations of uniform_int_distribution (master...uniform-int-distribution-byte) https://git.io/fNmxt