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/ | GSoC: https://github.com/STEllAR-GROUP/hpx/wiki/Google-Summer-of-Code-%28GSoC%29-2020
bita_ has quit [Read error: Connection reset by peer]
akheir has quit [Quit: Leaving]
hkaiser has quit [Quit: bye]
nanmiao11 has quit [Remote host closed the connection]
kale[m] has quit [Ping timeout: 256 seconds]
kale[m] has joined #ste||ar
kale[m] has quit [Ping timeout: 240 seconds]
kale[m] has joined #ste||ar
Yorlik has joined #ste||ar
kale[m] has quit [Ping timeout: 256 seconds]
kale[m] has joined #ste||ar
<gonidelis[m]> hkaiser: I have a bunch of updates on #4855 if you wanna check... I am working on the fixed right now
<gonidelis[m]> fixes*
<gonidelis[m]> Any ideas on how to make this `get<>` work with `in_out_result` types? Actually I don't even know where its implementation lies (in order to adapt it maybe)...
hkaiser has joined #ste||ar
<gonidelis[m]> hkaiser: yt?
<hkaiser> gonidelis[m]: here
<hkaiser> g'morning
<gonidelis[m]> Goodmorning :D ! I have a bunch of updates on #4855 if you wanna check... I am working on the fixes
<gonidelis[m]> but it seems like I am stuck
<hkaiser> ok, will look
<hkaiser> stuck?
<hkaiser> gonidelis[m]: why are you stuck?
<gonidelis[m]> ok I don't know what to do with these cases
<gonidelis[m]> as result is of `in_out_result` type
<gonidelis[m]> can it be invoked through hpx::util::get<0>()?
<gonidelis[m]> this one too
<hkaiser> result.in/resoult.out?
<gonidelis[m]> ?
<gonidelis[m]> hkaiser: What do you mean?
<hkaiser> instead of writing get<0>(result) just write result.in
<hkaiser> you said that 'result' is of type in_out_result - which is a normal struct with two public members: in' and 'out'
<hkaiser> why not directly access them?
<K-ballo> these types exist to avoid the 0/1 meaningless mapping
<gonidelis[m]> ::facepalm:: ..... god when I dig into sth too much I just forget the trivial stuff!
<gonidelis[m]> what is the purpose of f.get() though?
<hkaiser> 'f' is a future, f.get() asks for its value
<gonidelis[m]> so it should not be a problem for the future to be of type `in_out_res`...
<hkaiser> gonidelis[m]: are you aware of 'future's?
<gonidelis[m]> right?
<gonidelis[m]> hkaiser: yes! done my homework on the preseason ;)
<hkaiser> no, no problem: auto result = f.get(); result.in will work...
<hkaiser> sorry for asking
<gonidelis[m]> hkaiser: plz don't apologize
<gonidelis[m]> Actually these hpx core features are very very interesting and I have no idea how you guys implemented them. It's not like the algorithms, where we write stuff according to standard. After reaching the top of the algorithms mountain, my next goal will be to study the whole HPX parallelization machinery
<gonidelis[m]> All errors have been resolved!!! hkaiser Thank you so so much!
<hkaiser> gonidelis[m]: futures are standard as well ;-)
<hkaiser> gonidelis[m]: also, do you want to meet today?
<gonidelis[m]> hkaiser: hmm didn't know that...
<gonidelis[m]> hkaiser: yeah for sure
<gonidelis[m]> it's the end of the 2nd. let's celabrate!
<hkaiser> gonidelis[m]: http://eel.is/c++draft/futures
<gonidelis[m]> ok so just like we said before: The parallelization is already there, in std C++. We just provide a more dedicated and more refined version of it?
<gonidelis[m]> hkaiser:
<hkaiser> yes
<hkaiser> additional features based on ongoing standardization discussions
<hkaiser> also, everything on top of a very lightweight threading implementation
<hkaiser> for instance, our future's API is based on wg21.link/p0159
<gonidelis[m]> who wrote that though?
<hkaiser> many people at the commitee contributed
kale[m] has quit [Ping timeout: 240 seconds]
kale[m] has joined #ste||ar
nanmiao11 has joined #ste||ar
K-ballo has quit [Quit: K-ballo]
K-ballo has joined #ste||ar
weilewei has joined #ste||ar
Yorlik has quit [Ping timeout: 264 seconds]
akheir has joined #ste||ar
<hkaiser> weilewei: and cpu_count?
<hkaiser> from looking at the code, it"s rprobably 4 as well
<weilewei> 4 as well
<hkaiser> that confirms our suspicion, they set the affinity to the full core (i.e. 4 HTs)
<hkaiser> sched_getaffinity(0, ...) gives you the affinity of the calling thread
<weilewei> They use shift here, not sure what's the point
<hkaiser> that's to assign unique cores to each thread
<weilewei> hhh, and they identified 4 "cores" for one physical core
kale[m] has quit [Ping timeout: 260 seconds]
kale[m] has joined #ste||ar
<mdiers[m]> <jbjnr "mdiers: I doubt anyone has bothe"> the 19er has also installed a clang that is used internally on the intel. but it messed up everything for me, ...
<mdiers[m]> <ms[m] "Not 19, but we do test prs with "> yes, the 18 still works for me
<gnikunj[m]> hkaiser: meeting in 2min
<gnikunj[m]> hkaiser: thanks for the meeting :)
<weilewei> hkaiser I got segfault for DCA+HPX on Cori GPU, not sure what's going on: https://github.com/STEllAR-GROUP/hpx/issues/4879
<hkaiser> weilewei: doesn't look like a hpx problem :
<hkaiser> :/
<hkaiser> but anything can happen...
<hkaiser> could be a trashed allocator
<hkaiser> gonidelis[m]: the PR looks good so far - thanks!
<weilewei> hkaiser ok... but dca finishes run anyway...
<weilewei> DCA itself does not have such problem
bita_ has joined #ste||ar
<gonidelis[m]> hkaiser: thanks !
kale[m] has quit [Ping timeout: 240 seconds]
kale[m] has joined #ste||ar
<parsa> hkaiser: thanks a lot
<hkaiser> parsa: most welcome
bita_ has quit [Ping timeout: 260 seconds]
nanmiao11 has quit [Remote host closed the connection]