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/
K-ballo has quit [Quit: K-ballo]
hkaiser has quit [Quit: bye]
parsa has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
parsa has joined #ste||ar
parsa has quit [Client Quit]
henrietaMag has quit [K-Lined]
parsa has joined #ste||ar
parsa has quit [Client Quit]
parsa has joined #ste||ar
bita has joined #ste||ar
bita has quit [Ping timeout: 260 seconds]
jaafar has quit [Ping timeout: 240 seconds]
jaafar has joined #ste||ar
<rori> tarzeau: not sure I understood your question but does this answer to it? ^^'
<tarzeau> rori: my scrollback is only 3 days, and i forgot what i saked :(
<tarzeau> rori: ah the question was what part of hpx 1.5.1 source distribution is licensed as CC0-1.0
surbhi has joined #ste||ar
<surbhi> Hi
<surbhi> My name is Surbhi and I'm a newcomer to the stellar community. I want to
<surbhi> I am new to open source development and want to get involved using Google
<surbhi> contribute to this organisation. I have been an active participator in
<surbhi> programming contests on codeforces and codechef (am comfortable in C++).
<surbhi> Is this org likely to be involved in GSoC 2021? If yes, how can I get
<surbhi> Summer of Code 2021.
<surbhi> started?
<surbhi> I have already gone through the projects of previous years and would like to contribute.
<surbhi> Regards
<surbhi> Surbhi
wash[m] has joined #ste||ar
<rori> <tarzeau "rori: ah the question was what p"> As stated in the [point above](https://github.com/david-a-wheeler/spdx-tutorial#spdx-license-identifiers), the CC are for "free cultural works" which are typically not a part of the software, can be data, images, csv files, etc.
<rori> Welcome surbhi :D
<rori> <surbhi "Is this org likely to be involve"> I'll let hkaiser confirm but I think it's very likely that the org will get involved in GSoC 2021
<rori> You can start [building hpx and the examples](https://hpx-docs.stellar-group.org/latest/html/quickstart.html) as a starting point :)
<rori> If you have any questions, don't hesitate to write in this chat
<tarzeau> rori: i need a list by filename of that content, so i'll run find . src -exec file {}; and parse that i guess
<rori> Okay then I'm not sure, maybe hkaiser knows more, I'll let you ping him when he is online
<surbhi> Thanks a lot for the response :)
surbhi has quit [Ping timeout: 260 seconds]
K-ballo has joined #ste||ar
<zao> Hi there!
hkaiser has joined #ste||ar
surbhi has joined #ste||ar
surbhi has quit [Ping timeout: 246 seconds]
<rori> tarzeau: hkaiser said "everything is BSL except for the spdx file itself, which is cc0" (hpx.spdx)
<tarzeau> rori: perfect answer! many thanks!
<hkaiser> tarzeau: if I understand https://github.com/david-a-wheeler/spdx-tutorial#spdx-files correctly, then the DataLicense in hpx.spdx refers to the BSL license file itself
<hkaiser> i.e. the file LICENSE_1_0.txt (in addition to hpx.spdx)
<tarzeau> hkaiser: i really don't know, but probably yes if you say so. i just try to get this hpx into debian
<hkaiser> tarzeau: for all intents and purposes, all of HPX is BSL
<tarzeau> hkaiser: we found some not being BSL: https://sid.ethz.ch/debian/hpx/hpx-1.5.1/debian/copyright
<tarzeau> one BSD and EPL
<tarzeau> s,one,some,
<tarzeau> the only last thing i must fix is get the automatic dependcy for python2 gone, and it can go into debian (and hopefully also bullseye debian/11) and future raspberrypi/ubuntu releases
<hkaiser> that's not good, I was not aaware of that
<tarzeau> you're welcome ;)
<hkaiser> we will have to remove those files
<tarzeau> looking forward to 1.5.2 :)
<hkaiser> especially the GPL one
<tarzeau> where's the gpl one?
<hkaiser> the file you linked mentions GPL :/
<tarzeau> yeah that's for what i wrote the makefile recipe for debian packaging debian/* ? i can make it anything, i wrote it after all
<tarzeau> wtfpl, bsd, mit, you name it
<hkaiser> ahh
<hkaiser> will it be part of the repo?
<tarzeau> it'll be part of the debian source package yes
<hkaiser> but not in the HPX repository, I hope
<hkaiser> if it has to go into the repository, please make it it bsl
<tarzeau> i don't have access to the hpx repository
<hkaiser> create a PR and it will go in ;-)
<tarzeau> no it does not need be in source distributions of you, it'll only be part of debian
<hkaiser> understood
<tarzeau> debian preferes to not have the packaging part of the source tarball release, and that's good
<hkaiser> ok
<tarzeau> because a source debian package is made up of a diff.tar.xz with debian/ changes + original upstream tar.gz source
<zao> When building a Debian/Ubuntu package you point the build scaffolding at a debian/ control tree which prepares a fresh build root somewhere, builds according to the rules and patches in the control tree, and lets you keep all the pieces when it inevitably fails miserably ;)
hkaiser has quit [Quit: bye]
surbhi has joined #ste||ar
henrietaMag has joined #ste||ar
surbhi has quit [Ping timeout: 272 seconds]
hkaiser has joined #ste||ar
hkaiser has quit [Ping timeout: 272 seconds]
henrietaMag has quit [K-Lined]
hkaiser has joined #ste||ar
<jaafar> Hello friends. I've been diving into the scheduler code - specifically local_priority_queue_scheduler.hpp, which seems to be active by default for my build
<jaafar> How might I go about doing a quick hack where I force the scheduler to start assigning new threads to the queue *after* the currently active thread (i.e., the one creating work)?
<hkaiser> jaafar: that's what the hints are for
<jaafar> This would allow work to make progress on N-1 threads while the thread creation finished
<jaafar> hkaiser: do the hints reset the queue index?
<jaafar> or do they just say "please put all tasks here"
<hkaiser> yes, they say put this thread 'here'
<jaafar> So if I wanted to do as described, I'd have to explicitly specify the queue for each thread?
<hkaiser> yes
<hkaiser> you ask for the current core and use it as a hint for the new task
<jaafar> Would I have to create a new "executor" each time I changed the hint?
<hkaiser> yes
<jaafar> Is that very expensive :)
<hkaiser> no, executors are cheap to create
<jaafar> OK cool. So I would be using the "on" method, right?
<jaafar> i.e. I make my executor with the hint "on" the original executor?
<jaafar> If I'm understanding this correctly
<hkaiser> I think for the hint you'd use the prefer() syntax from the PR and then use the returned executor directly for scheduling the next task - .on() is only for execution policies
<jaafar> OK! Thank you. I will explore.
<hkaiser> note that I have no experience with this myself - let's see how it actually works
<gonidelis[m]> should I put the `target_compile_definitions`
<gonidelis[m]> here
<gonidelis[m]> ?
<hkaiser> gonidelis[m]: why not change the tests to use the new APIs?
<hkaiser> or let me ask another question
<hkaiser> gonidelis[m]: what APIs are being tested that are not in c++20 anymore?
<gonidelis[m]> only the one mentioned in the linked comment
<gonidelis[m]> ms[m]: suggested
<hkaiser> I meant what overload is not needed anymore?
<gonidelis[m]> we should leave that test since it is not supported by neither hpx:: or hpx::ranges current versinos
<gonidelis[m]> versions*
<hkaiser> I thought that the old APIs would be represented either by hpx:: or hpx::ranges:: overloads
<gonidelis[m]> ok give me a sec
<hkaiser> and there was none that was superfluous
<gonidelis[m]> according to this http://eel.is/c++draft/alg.transform
<gonidelis[m]> it kinda looks like the last overload in the std but we already have a test for that
<hkaiser> gonidelis[m]: well, we certainly add overloads in hpx::ranges:: that take execution policies
<hkaiser> the equivalent would be the last overload listed here: http://eel.is/c++draft/alg.transform
<gonidelis[m]> hkaiser: aha aggreed.
<gonidelis[m]> But we already have a test for that
<hkaiser> k
<gonidelis[m]> check
<gonidelis[m]> it's this one
<hkaiser> nod
<gonidelis[m]> so I think that the one that is mentioned in the comment is either redundant or we should just leave it as `hpx::parallel`
<gonidelis[m]> hkaiser: is there a problem with that?
<gonidelis[m]> so where do I put this line exactly? `target_compile_definitions(transform_range_binary_test HPX_HAVE_DEPRECATION_WARNINGS_V1_6=0)`
<hkaiser> as ms[m] said, either #define HPX_HAVE_DEPRECATION_WARNINGS_V1_6 0 before #including any of HPX, or delete it
<hkaiser> gonidelis[m]: or add it somewhere in thc CMakeFile.txt
<gonidelis[m]> inside the loop?
<hkaiser> gtg, sorry
<gonidelis[m]> ok no prob
<gonidelis[m]> I 'll work it out
<gonidelis[m]> could someone remind me how we format cmake?
<gonidelis[m]> i reckon we don't use clang
<K-ballo> cmake-format
<gonidelis[m]> can't find it on rostam
<gonidelis[m]> should i load it or sth?
<gonidelis[m]> wher do we render `hpx::init` as deprecated and suggest to use `init_params` instead?
<hkaiser> gonidelis[m]: add set(transform_range_binary_FLAGS COMPILE_DEFINITIONS HPX_HAVE_DEPRECATION_WARNINGS_V1_6=0) here: https://github.com/gonidelis/hpx/blob/adapt_transform/libs/parallelism/algorithms/tests/unit/container_algorithms/CMakeLists.txt#L99