hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
Yorlik_ has joined #ste||ar
Yorlik has quit [Ping timeout: 255 seconds]
tufei__ has joined #ste||ar
hkaiser has quit [Quit: Bye!]
tufei_ has quit [Ping timeout: 255 seconds]
tufei__ has quit [Remote host closed the connection]
tufei__ has joined #ste||ar
K-ballo has quit [Ping timeout: 252 seconds]
K-ballo has joined #ste||ar
Yorlik_ has quit [Read error: Connection reset by peer]
tufei__ has quit [Remote host closed the connection]
tufei__ has joined #ste||ar
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 248 seconds]
K-ballo1 is now known as K-ballo
hkaiser has joined #ste||ar
tufei_ has joined #ste||ar
tufei__ has quit [Remote host closed the connection]
hkaiser has quit [Quit: Bye!]
hkaiser has joined #ste||ar
tufei_ has quit [Remote host closed the connection]
tufei_ has joined #ste||ar
weilewei has joined #ste||ar
<weilewei> hkaiser I ported Lulesh min-app to HPX, but the code hang in hpx init: https://gist.github.com/weilewei/cbd5b3a63a3d0b36f3208a48d7661848
<weilewei> It seems it is able to enter hpx main and print some program options, but later it hangs at hpx init. It is kinda strange
<hkaiser> weilewei: I'll have a look
<weilewei> Thanks.
<hkaiser> weilewei: how do you run it?
<weilewei> ./hpxPar
<weilewei> just running executable
<weilewei> also not sure why the hpx::runtime_distributed::wait() got call, I am running in a non-distributed way
<weilewei> or maybe the name means something else?
tufei_ has quit [Remote host closed the connection]
<hkaiser> the distributed runtime is used because you built the distributed runtime ;-)
<weilewei> how can I disable it?
<weilewei> -DHPX_WITH_NETWORKING=OFF I built HPX with networking off
<weilewei> also there is no mpi in the environment and no link to mpi when I do `ldd hpxPar`
weilewei has quit [Quit: Ping timeout (120 seconds)]
weilewei has joined #ste||ar
<hkaiser> weilewei: that could well be the reason for the hangs - if you built HPX for local operation only you need to use hpx::local::init()/hpx::local::finalize()
<hkaiser> but why?
<hkaiser> not sure, though - things did work for the algorithm benchmarks after all
<hkaiser> even more as you said that hpx_main is actually runing - so something else is not quite right
hkaiser has quit [Quit: Bye!]
Yorlik has joined #ste||ar
hkaiser has joined #ste||ar
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 264 seconds]
K-ballo1 is now known as K-ballo
weilewei has quit [Ping timeout: 260 seconds]
weilewei has joined #ste||ar
<weilewei> same hang when using local init
<hkaiser> weilewei: yes, as said - it wouldn't get to hpx_main if that was the case
<weilewei> yeah
<hkaiser> btw, the main thread should sit in cond_wait, waiting for HPX to exit
<hkaiser> I'd add some more print statements to see how far it gets; alternatively use a debugger
<weilewei> ok let me try
<weilewei> actually it runs, just takes FOREVER
<weilewei> lol let me check other versions
<hkaiser> weilewei: you have a lot of parallel algorithms - are you sure you have sufficient work in those algorithms warranting parallelization
<weilewei> That's something I am not sure yet
<weilewei> I am currently just making sure I can port the code to HPX or whatever other vendors (i.e. Kokkos, nvc++, etc). Then I will look into performance, utilization
<hkaiser> weilewei: sure
weilewei has quit [Ping timeout: 260 seconds]
weilewei has joined #ste||ar
<weilewei> g++ version runs around 97.55sec and hpx runs around 161.97sec. Same code but different namespace. https://github.com/weilewei/LULESH/tree/2.0.2-dev, see cppPar and hpxPar folders
<weilewei> no open is linked to cppPar version though
<weilewei> no OpenMP*
<weilewei> actually wait
<weilewei> I built it in Debug mode. Now with Release, hpx version runs at 61.68sec!
<weilewei> FFFFFaster yeah
<weilewei> Ok, I can move on with different backends, and keep you posted
<hkaiser> weilewei: great!
weilewei31 has joined #ste||ar
weilewei has quit [Ping timeout: 260 seconds]