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
K-ballo has quit [Quit: K-ballo]
K-ballo has joined #ste||ar
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 246 seconds]
K-ballo1 is now known as K-ballo
K-ballo has quit [Remote host closed the connection]
K-ballo has joined #ste||ar
hkaiser has quit [Quit: Bye!]
Yorlik has joined #ste||ar
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 244 seconds]
K-ballo1 is now known as K-ballo
hkaiser has joined #ste||ar
<john98zakaria[m]> Sorry if I am asking too many questions... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/0c3f6d868a37b32f0f863dcf25527ffbc57d19b7)
<hkaiser> john98zakaria[m]: hpx can use different networking libraries for its communication
<hkaiser> the tcp parcelport uses plain tcp, no mpi is involved
<hkaiser> the mpi parcelport doesn't use tcp it's purely based on mpi
<hkaiser> if your application uses mpi, then I'd suggest not to use the tcp parcelport in hpx
<hkaiser> I'm not sure why using the mpi parcelport hangs, we rely on our own mpi communicator, so it shouldn't interfere with any other mpi calls
<hkaiser> do you call mpi_init yourself?
<john98zakaria[m]> hkaiser: Yes I did
<hkaiser> HPX needs MPI_THREAD_MULTI
<john98zakaria[m]> hkaiser: Is that an option?
<john98zakaria[m]> > <@hkaiser:libera.chat> I'm not sure why using the mpi parcelport hangs, we rely on our own mpi communicator, so it shouldn't interfere with any other mpi calls
<john98zakaria[m]> * Yes I did
<john98zakaria[m]> theEnvironment = new boost::mpi::environment();
<hkaiser> not really
<hkaiser> we're currently investigating whether MPI_THREAD_FUNNELLED would be sufficient, though
<hkaiser> john98zakaria[m]: boost::mpi::environment() allows you to specify the threading level
<john98zakaria[m]> explicit environment(threading::level mt_level, bool abort_on_exception = true);
<john98zakaria[m]> I'll try that.
<john98zakaria[m]> I hate inheriting code I didn't write
<hkaiser> john98zakaria[m]: alternatively you delay the boost::mpi::environment(); until after HPX is up and running, then HPX will initialize mpi for you
<john98zakaria[m]> hkaiser: hpx starts the runtime for me using #include <hpx/hpx_init.hpp>... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/5401b3f7b91c9ffbddfa0e4de62ed1a563d0f240)
<hkaiser> hmmm, ok
<john98zakaria[m]> It didn't work,
<john98zakaria[m]> I'll disable mpi for now
<john98zakaria[m]> My job is to kill mpi and replace it with hpx
<john98zakaria[m]> Hopefully at the end, it will be gone
<hkaiser> ok, it's difficult to help from here...
<hkaiser> john98zakaria[m]: where does it hang, if I may ask? on the boost mpi call or in hpx?
<john98zakaria[m]> As soon as I call an hpx distributed function the system hangs
<hkaiser> ok
<john98zakaria[m]> Totalview (the debugger) says it's stuck on MPI_TEST inside the hpx mpi parcelport handler
<john98zakaria[m]> <hkaiser> "john98zakaria: where does it..." <- Exactly here
<hkaiser> interesting
<hkaiser> john98zakaria[m]: our mpi parcelport is very simple, just irecv, isend, and test - no idea why test hangs :/
<john98zakaria[m]> hkaiser: I am trying to build a self contained main
<john98zakaria[m]> If it hangs, i'll post it on github
<hkaiser> k
K-ballo has quit [Ping timeout: 240 seconds]
K-ballo1 has joined #ste||ar
K-ballo1 is now known as K-ballo
<john98zakaria[m]> Success :D
<john98zakaria[m]> I would hire myself as a tester
<hkaiser> john98zakaria[m]: thanks!
<john98zakaria[m]> hkaiser: Before you waste your time, i'll try out hpx 1.8.0 first
<hkaiser> john98zakaria[m]: so it's a segfault and not a hang (or better: the hang is a result of a segfault)
<john98zakaria[m]> s/you/I/
<satacker[m]> What was the template types list `Ts` for `is_receiver_of` ? I mean why is there a parameter list? Should it not be a singular type?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/4894f15e605293fece5fa5d59adbc1e6b35974b2)
<satacker[m]> 12% passed https://pastebin.com/EKAWSFe5
<satacker[m]> * What was the template types list `Ts` for `is_receiver_of` ? I mean why is there a parameter list? Should it not be a singular type?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/22ed05ebe8aa4a79a7f86f5e8c1b476d467ec1b1)
<satacker[m]> * What was the template types list `Ts` for `is_receiver_of` ? I mean why is there a parameter list? Should it not be a singular type?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/e31afcd7402da2132081de44947ddd997945be27)
<satacker[m]> * <del>12% passed https://pastebin.com/EKAWSFe5</del>
<satacker[m]> * What was the template types list `Ts` for `is_receiver_of` ? I mean why is there a parameter list? Should it not be a singular type?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/0a720e27a9a756f2b2c519139aa98aadf0022164)
<john98zakaria[m]> <hkaiser> "john98zakaria: so it's a..." <- hpx 1.8.0 doesn't segfault
<john98zakaria[m]> I have closed the issue.
<satacker[m]> * What was the template types list `Ts` for `is_receiver_of` ? I mean why is there a parameter list? Should it not be a singular type?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/7f0044d87eab5ce6ad1eb5ad90c5c6708b5302af)
Undername has joined #ste||ar
Undername has left #ste||ar [#ste||ar]
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 276 seconds]
K-ballo1 is now known as K-ballo
<hkaiser> satacker[m]: it was for the different types set_value would accept
hkaiser has quit [Quit: Bye!]
Yorlik has quit [Ping timeout: 258 seconds]
K-ballo has quit [Ping timeout: 240 seconds]
K-ballo has joined #ste||ar
hkaiser has joined #ste||ar