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
hkaiser has joined #ste||ar
<hkaiser> gonidelis[m]: see pm, pls
K-ballo has quit [Quit: K-ballo]
Yorlik_ has joined #ste||ar
Yorlik has quit [Ping timeout: 248 seconds]
aalekhn has joined #ste||ar
hkaiser has quit [Quit: Bye!]
aalekhn has quit [Quit: Connection closed for inactivity]
rori[m] has quit [Quit: You have been kicked for being idle]
EmmanouilKotoula has quit [Quit: You have been kicked for being idle]
emmakoto[m] has quit [Quit: You have been kicked for being idle]
<john98zakaria[m]> Is it possible to send ranges using hpx?
<john98zakaria[m]> Let's say I have a vector {1,2,3,4,5,6}
<john98zakaria[m]> I would like to send 4.5,6 to another locality without copying them first to create a new vector
<john98zakaria[m]> s/ranges/iterators/
<john98zakaria[m]> MPI would happily take a pointer and size, do you have something similar?
<srinivasyadav227> john98zakaria: I am not really into distributed in hpx, but this might help in someway https://hpx-docs.stellar-group.org/latest/html/examples/1d_stencil.html
<srinivasyadav227> the last example i.e `example 8`
<john98zakaria[m]> Thanks, it looks like the serialized buffer is the answer
<john98zakaria[m]> It doesn't look like it :(
<john98zakaria[m]> Any other suggestions ?
<john98zakaria[m]> Or can you send as a type and receive as another? Like mpi?
hkaiser has joined #ste||ar
K-ballo has joined #ste||ar
Yorlik_ is now known as Yorlik
<Yorlik> Are there any plans to introduce hpx components like "find_package(hpx REQUIRED COMPONENTS core serialization )" or do we have it already?
<Yorlik> Woops - totally forgot about HPX_SETUP_TARGET(sim COMPONENT_DEPENDENCIES iostreams )
<Yorlik> Just wondering - If I just want to use serialization - nothing else - how would I have to configure in cmake?
hkaiser has quit [Quit: Bye!]
<K-ballo> you'll have to set it up manually
<K-ballo> how are you bringing HPX into the cmake project? add_subdirectory? find_package?
aalekhn has joined #ste||ar
<Yorlik> find_package
<Yorlik> I'm using it from vcpkg
<Yorlik> I guess i just need the hpx/serialization.hpp header
<K-ballo> it has some dependencies
<K-ballo> there should be an HPX::serialization target by some or other name, no?
<K-ballo> (you can peek at the source of the cmake targets file generated on install)
<Yorlik> The naive approach seems not to work: I am getting this error:
<Yorlik> 1> [CMake] CMake Error at _out/build/RelWithDebInfo/vcpkg_installed/x64-windows-arcanima/share/hpx/HPX_SetupTarget.cmake:174 (target_link_libraries):
<Yorlik> 1> [CMake] INTERFACE library can only be used with the INTERFACE keyword of
<Yorlik> 1> [CMake] target_link_libraries
<Yorlik> So - seems I have to dig a bit in the guts of cmake
<Yorlik> Our library is a header only library and as such an interface library
<K-ballo> you should be using INTERFACE to link it already
<K-ballo> interface libraries can only have interface dependencies
<Yorlik> Woops - didn't have it in my target link libraries - retrying ..
diehlpk_work has joined #ste||ar
hkaiser has joined #ste||ar
<gonidelis[m]> hkaiser: chiming in in a bit
<Yorlik> Confioguration now seems to work, but just "#include <hpx/serialization.hpp>" makes my compile explode with all sorts of errors concerning the use of std::thread.
<Yorlik> Removing the include makes everything work again.
<Yorlik> Is HPX shadowing portions of std?
<Yorlik> E.G. this one explodes: "std::this_thread::sleep_until(std::chrono::time_point<std::chrono::system_clock>::max());" (part of a test app)
<K-ballo> define "explode"
<Yorlik> Compile errors complaining about illegal types before ::
<Yorlik> I'll fetch a copy of the first error
<hkaiser> Yorlik: pls create a small reproducing test case
<Yorlik> hkaiser: OK.
hkaiser_ has joined #ste||ar
hkaiser has quit [Ping timeout: 244 seconds]
akcube[m] has quit [Quit: You have been kicked for being idle]
hkaiser_ has quit [Ping timeout: 260 seconds]
hkaiser has joined #ste||ar
<gonidelis[m]> hkaiser: see pm please
hkaiser has quit [Ping timeout: 272 seconds]
hkaiser has joined #ste||ar
<K-ballo> now i'm curious, what was the illegal type before ::, chrono?
Yorlik has quit [Ping timeout: 244 seconds]
diehlpk_work has quit [Remote host closed the connection]