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: 264 seconds]
hkaiser has quit [Quit: Bye!]
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 265 seconds]
K-ballo1 is now known as K-ballo
Neeraj has joined #ste||ar
<Neeraj>
SeverityDescriptionProjectFileLineSuppression State
<Neeraj>
:VCEnd" exited with code 1.INSTALLC:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets159
<Neeraj>
anyone help with this error
<Neeraj>
ok got it and resolve this problem
Neeraj has quit [Quit: Client closed]
Neeraj has joined #ste||ar
Neeraj has quit [Client Quit]
hkaiser has joined #ste||ar
Neeraj has joined #ste||ar
<Neeraj>
I got error in build tests ,in which dir I have to run "cmake --build . --target tests " this command
<Neeraj>
hkaiser
<hkaiser>
Neeraj: what error do you see (please paste the logs somewhere and give us the link)
<Neeraj>
when I try to run this command in build dir I got "MSBuild version 17.5.0+6f08c67f3 for .NET Framework
<Neeraj>
MSBUILD : error MSB1009: Project file does not exist.
<Neeraj>
Switch: tests.vcxproj"
<hkaiser>
Neeraj: difficult to say what's wrong - but definitely not HPX related
<Neeraj>
and also all binary application showing an error that "libhwloc-5.dll was not found" while I provided actual root dir
<Neeraj>
2-3 time I rebuilt HPX there is no error but when I try to build tests they showing error
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 265 seconds]
K-ballo1 is now known as K-ballo
<Neeraj>
I went through you link and try to find the error but my tests are not built yet , tests.unit.modules.runtime_components.distributed.tcp.migrate_component , If the test case is failing due to a timeout, you can try increasing the timeout limit.
<hkaiser>
Neeraj: the easiest ist to copy over that .dll into the directory where the HPX binaries live
<Neeraj>
thanks that resolve the problem
<Neeraj>
so for above tests problem I have do configuration again and make On the HPX_WITH_TESTS that resolve the problem ?
<hkaiser>
Neeraj: HPX_WITH_TESTS has to be set to on for the tests to be compiled, yes
<hkaiser>
well, it's how it is supposed to work anyways
<Neeraj>
that's good
<Neeraj>
so migration is also part of that project because in this we to made new GIDs from agas and also change the location where it was
<Neeraj>
HPX_WITH_TESTS to be set on then still get same error
Neeraj has quit [Quit: Client closed]
hkaiser has quit [Quit: Bye!]
hkaiser has joined #ste||ar
Yorlik_ is now known as Yorlik
<Yorlik>
How does HPX serialization handle raw pointers to strings?
<hkaiser>
Yorlik: not at all ;-)
<hkaiser>
it should fail compiling
<Yorlik>
IC. Houston I have a problem.
<zao>
\o/
<hkaiser>
Yorlik: how should we handle raw pointers?
<hkaiser>
sending those doesn't make sense as the address is locality-specific
<Yorlik>
It would help to have a special case, where the pointed to object is sent along the pointer if the message goes over the network and just pack the pointer if everything is local.
<Yorlik>
Not sure yet what HPX should do and what I should do.
<Yorlik>
Putting aside ownership issues.
<hkaiser>
Yorlik: how do I know how many objects the pointer points to?
<Yorlik>
I think it would have to depend on the type of the pointee.
<hkaiser>
very subjective
<Yorlik>
Yes, I see the issue.
<hkaiser>
just use unique_ptr/shared_ptr and everything is fine
<Yorlik>
I'm having issues with shared_ptr - not a hpx problem - it's a problem with our use of Lua.
<Yorlik>
SOL says tehy can handle shared_ptr - but I'm running into some madness and I don't know yet entirely ehy.
<Yorlik>
why.
<hkaiser>
Yorlik: or wrap your pointer into a type and create special serialization support for this type
<Yorlik>
I could try to make an owning wrapper - like a custom unique_ptr.
<Yorlik>
I guess I'll experiment with that and see where I end up.
<zao>
You're not doing something funny like constructing multiple shared_ptr families to the same object? Maybe enable_shared_from_this helps in some way? Never touched sol, happy over here in my corner with manual LuaJIT bindings.
<HHN93>
hkaiser I have performed a few tests and found very little difference, I am working on updating pansysk75[m] to my convenience. Will try to provide better results soon.
<HHN93>
Do i need to make a formal report? if yes, any reference for a report??
<hkaiser>
HHN93: thanks! measuring things often reveals surprising (and unexpected) results
<hkaiser>
HHN93: a simple graph would help - in the end we don't want to add things to the library that do not improve things, do we?
<HHN93>
sure, will try to get it done on wed
<HHN93>
pansysk75[m] I am trying to change testbench code so that algorithms can be tested by calling TestBench<MakeHeapAlgorithmTest>(N);
<satacker[m]>
because you are already experimenting, may I suggest to try with google benchmarks? It gives a much more detailed output. For starters we can benchmark against std HHN93 (not an imposition, just curious what it would look like)
<HHN93>
satacker[m] sure I was also initially under the assumption we would be using google bench for benchmarks
<HHN93>
given that my project would work extensively with bench marking I will definitely try to work on a google benchmark based testbench sometime soon
<pansysk75[m]>
HHN93: Oh I had sent you a different branch on purpose, this one was unecessarily complicated 😅 you can of course try Google benchmark, I will check out what you sent me in just a moment
<HHN93>
there is a function call being made in between the timer start and stop, I have inlined it (hope it has the intended effect) apart from that I don't see any major issues.
<HHN93>
I just wanted to tweak it to my convenience as I felt I would be extensively in the forthcoming months
<HHN93>
extensively using it in the forthcoming months
<satacker[m]>
btw contributor applications open today iirc
<HHN93>
yup
<HHN93>
20th march to 4th april
HHN93 has quit [Quit: Client closed]
hkaiser has quit [Quit: Bye!]
HHN93 has joined #ste||ar
diehlpk_work has joined #ste||ar
HHN93 has quit [Ping timeout: 260 seconds]
hkaiser has joined #ste||ar
<Yorlik>
hkaiser: I finally solved my Lua problems by making a wrapper for the variant with defined accessor functions and constructors that work in Lua. But I need to ask again: If I create a type that has a shared_ptr: Will that shared_ptr be automagically serializable and recreated if I migrate across machine boundaries?
<Yorlik>
As long as the pointed to type is serializable ofc.
<hkaiser>
Yorlik: yes
<Yorlik>
hkaiser: Thanks. Seems I can get quite far with wrappers which avoid the Lua problems then.
<Yorlik>
After all Lua is type-oblivious.
<hkaiser>
Yorlik: serialization even takes care of the case when the same shared_ptr is serialized twice or more in the same archive
<Yorlik>
Nice! Lua is much more simple and restricted and it needs some help to use certain C++ constructs. Even when having such nice Lua bindings as Sol.
<hkaiser>
making sure that on the receiving end you still get one shared_ptr object
<Yorlik>
I wonder if we coulde use HPX to find an elegant way to serialize Lua Tables.
<hkaiser>
Yorlik: sure you can do that, as long as you know how to (de-)serilize them
<Yorlik>
I'd like to use shared Lua Tables on the heap - Sol has such a construct which ~methinks allows tables detached from a Lua State
<Yorlik>
The trick is always cyclic tables which require you to keep track of pointers.
<hkaiser>
our serialization layer tracks pointer, as I said
<Yorlik>
Yes - that's why I wonder if we could use it for that. Lua ofc uses raw pointers.
<hkaiser>
you'd have to do some custom magic to use the existing pointer tracking, but sure
<Yorlik>
I feel so tempted to rewrite some C libraries we are using in modern C++, but If I do that I'll get nothing else done.
<Yorlik>
E.g. Lua and Yojimbo(networking lib on top of UDP)
<Yorlik>
Lua rewritten in modern C++ could be really nice.
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 276 seconds]
K-ballo1 is now known as K-ballo
hkaiser has quit [Ping timeout: 260 seconds]
diehlpk_work has quit [Remote host closed the connection]
<sarkar_t[m]>
<hkaiser> "sarkar_t: I think you could..." <- Sure!