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/ | GSoC2018: https://wp.me/p4pxJf-k1
kisaacs has quit [Ping timeout: 256 seconds]
kisaacs has joined #ste||ar
parsa has joined #ste||ar
eschnett has quit [Quit: eschnett]
K-ballo has quit [Quit: K-ballo]
hkaiser has quit [Quit: bye]
eschnett has joined #ste||ar
mcopik has quit [Read error: Connection reset by peer]
nanashi55 has quit [Ping timeout: 240 seconds]
nanashi55 has joined #ste||ar
kisaacs has quit [Ping timeout: 252 seconds]
parsa has quit [Quit: Zzzzzzzzzzzz]
parsa has joined #ste||ar
kisaacs has joined #ste||ar
kisaacs has quit [Ping timeout: 245 seconds]
jakub_golinowski has joined #ste||ar
jaafar_ has quit [Ping timeout: 240 seconds]
<github> [hpx] msimberg opened pull request #3330: Rename resource_partitioner test to avoid conflicts with pseudodependencies (master...rename-rp-test) https://git.io/vhk8E
parsa has quit [Quit: Zzzzzzzzzzzz]
parsa has joined #ste||ar
parsa has quit [Client Quit]
nikunj97 has joined #ste||ar
nikunj1997 has joined #ste||ar
nikunj97 has quit [Ping timeout: 248 seconds]
heller has quit [Ping timeout: 260 seconds]
mbremer has quit [*.net *.split]
heller has joined #ste||ar
nikunj97 has joined #ste||ar
nikunj1997 has quit [Ping timeout: 256 seconds]
anushi has quit [Remote host closed the connection]
anushi has joined #ste||ar
nikunj97 has quit [Quit: Leaving]
jakub_golinowski has quit [Ping timeout: 256 seconds]
anushi has quit [Remote host closed the connection]
anushi has joined #ste||ar
nikunj has joined #ste||ar
<github> [hpx] msimberg opened pull request #3331: Add quickstart section to documentation (master...docs-quickstart) https://git.io/vhkHp
jakub_golinowski has joined #ste||ar
diehlpk has joined #ste||ar
hkaiser has joined #ste||ar
wash has quit [Ping timeout: 248 seconds]
wash has joined #ste||ar
<nikunj> hkaiser: yt?
<jakub_golinowski> What is the purpose of the last line in this file: https://github.com/STEllAR-GROUP/hpx/blob/master/.clang-format#L117
<hkaiser> nikunj: I'm here
<jakub_golinowski> M-ms, thank you I was asking because I got clang-format error on this line
<jakub_golinowski> but the solution was to all EOL symbol after ...
kisaacs has joined #ste||ar
mcopik has joined #ste||ar
<nikunj> hkaiser: did you find anything that I should change to refine my code?
<hkaiser> things look good as a first implementation
<hkaiser> how will you integrate this into the build system?
<nikunj> hkaiser: on skype call, you asked me to integrate it as a header file
<hkaiser> I think the next step would be to make all hpx applications work that currently use hpx_main.hpp to #define main()
<nikunj> hkaiser: so I could simply create a header file which when included in the code will run hpx functionality from main
<nikunj> just like hpx_main.hpp
<hkaiser> i.e. include your header file in hpx_main instead of the #define for platforms supporting your new way
<nikunj> hkaiser: ya that can be done
<nikunj> hkaiser: this will then be the shortest way to get things rolling
<hkaiser> that should make things transparent without requiring any code changes outside of hpx_main.hpp
<nikunj> hkaiser: yes
K-ballo has joined #ste||ar
<hkaiser> nikunj: any success researching how things could be done on other platforms?
<nikunj> hkaiser: yes I was reading about windows
kisaacs has quit [Ping timeout: 268 seconds]
<hkaiser> k, any news?
<nikunj> hkaiser: I found that mainCRTstartup is msvc equivalent of __libc_start_main
<nikunj> but I can't seem to find the dll holding the code
<nikunj> hkaiser: If I find that dll, I could simply hook into the that dll and set up hpx system initialization from there
<hkaiser> nikunj: I don't think we can change the runtime dll
<hkaiser> at least not statically
<github> [hpx] msimberg opened pull request #3332: Add notes on target suffixes to CMake documentation (master...add-hpx-executable-component-docs) https://git.io/vhkN8
<nikunj> hkaiser: yes, this will only work for dynamic
<hkaiser> let's see what you can come up with
<nikunj> hkaiser: I'm trying to find it. Also, I learned how to hook using msvc too
<hkaiser> nod, thanks
<nikunj> hkaiser: it uses loadlibrary and getprocaddress
<nikunj> it is similar to dlsym used for Unix/Linux system
<hkaiser> nikunj: K-ballo mentioned that he has done this before, he might remember something
<nikunj> hkaiser: then I'll ask for his help
<hkaiser> nikunj: sure
<nikunj> hkaiser: he must know about it
<nikunj> hkaiser: Is there anything you want me to focus on?
<hkaiser> first replace the #defin main
diehlpk has quit [Remote host closed the connection]
diehlpk has joined #ste||ar
<nikunj> hkaiser: ok so I'll work on a pull request, currently I will use macro to determine the operating system and add #define main (in case of msvc) and my solution in case of Unix/Linux
<nikunj> hkaiser: that should be a good start
<hkaiser> nod
<nikunj> hkaiser: btw the current solution will not solve the problem in case the user wishes to use hpx functionality in global scope
<hkaiser> it's a first step
<github> [hpx] msimberg opened pull request #3333: Update CMake links and versions in documentation (master...update-cmake-links) https://git.io/vhkAm
<hkaiser> so you might want to add a cmake macro allowing to enable/disable your solution
* zao waves from `int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)`
<nikunj> hkaiser: nod
<K-ballo> the CRT source is shipped and installed alongside the CRT itself, somewhere in the VC subdirectory
<nikunj> K-ballo: But I can't find the mainCRTstartup's dll
<zao> I forget if it's for debugging purposes only.
<K-ballo> the CRT dll?
<nikunj> K-ballo: from what I learned, mainCRTstartup is the exe startup
<zao> Also bonus fun nowadays with the UCRT.
<nikunj> K-ballo: yes
<K-ballo> i was going to say msvcrt, but yeah.. the universal crt, don't knos the details about that
<nikunj> K-ballo: What I'm trying to do is to hook into the mainCRTstartup() and change the entry point
<nikunj> K-ballo: you could actually change the entry point yourself in VS but then you will not be able to use constructor part (i.e. using global objects)
<M-ms> hkaiser: I have a feeling something's broken on master... it looks like it was #3326 so probably something simple. Would you mind having a look?
<hkaiser> k
<hkaiser> uhh ohh - what's broken?
<nikunj> K-ballo: also, the code itself tends to become a bit unstable when providing our own entry point that way
<hkaiser> M-ms: ^^
<M-ms> hpx::init: std::exception caught: Requested AGAS host (10.3.3.51) not found in node list
<M-ms> terminating with uncaught exception of type std::__1::system_error: recursive_mutex lock failed: Invalid argument
<hkaiser> have a link?
<hkaiser> M-ms: how do I reproduce this?
<M-ms> (sorry btw, pycicle wasn't running because of full disk quota, should've caught it)
<M-ms> I can reproduce it with two nodes
<hkaiser> k
<hkaiser> will have a look
<M-ms> with any test basically
<hkaiser> k
nikunj has quit [Quit: Leaving]
<M-ms> ok, thanks
diehlpk has quit [Ping timeout: 256 seconds]
<jbjnr> M-ms: wasn't my pycicle running?
<M-ms> I'm not sure, it should have been and is running now, so it might also just have been a slurm problem (but mine was at least not running because of disk quota)
<hkaiser> M-ms: I can't reproduce this
<M-ms> or it was just merged before the result was ready
<hkaiser> at least on my machine
<hkaiser> will try on rostam today
<hkaiser> might be some uninitialized variable
<M-ms> hrm, two localities?
<hkaiser> yah
<M-ms> mmh, the PR was quite small so should be something simple
<M-ms> please tell me if you want me to have a look, I don't mind trying, just thought you might know already what was up
<hkaiser> it just changed the sequence of how things are being handled during command line handling
<hkaiser> M-ms: please feel free
<hkaiser> I would fix it if I was able to reproduce things
<M-ms> ok, no problem, I'll give it a try and ping you if I'm having difficulties
<hkaiser> M-ms: thanks a lot
jakub_golinowski has quit [Quit: Ex-Chat]
daissgr has joined #ste||ar
<hkaiser> M-ms: this could be happenein gwhen running in a slurm env only
<hkaiser> I changed the sequence during initialization to enable taking command line options into account as early as possible (logging), so now the slurm env processing might happen too early or on some uninitialized state
<M-ms> hkaiser: ah, thanks, that sounds possible
<M-ms> I just started reverting your PR bit by bit, will see what part is causing it
<hkaiser> k
kisaacs has joined #ste||ar
eschnett has quit [Quit: eschnett]
kisaacs has quit [Ping timeout: 256 seconds]
hkaiser has quit [Quit: bye]
mbremer has joined #ste||ar
aserio has joined #ste||ar
eschnett has joined #ste||ar
diehlpk has joined #ste||ar
<diehlpk> mcopik, yet?
<mbremer> M-ms: I was looking through the IRC logs, I'm having that same AGAS error.
mcopik has quit [Ping timeout: 245 seconds]
eschnett has quit [Quit: eschnett]
david_pfander has joined #ste||ar
kisaacs has joined #ste||ar
hkaiser has joined #ste||ar
<hkaiser> jbjnr: I'm ready whenever you are
<hkaiser> jbjnr: can we do skype pls (or anything but hangout)
david_pfander has quit [Client Quit]
mcopik has joined #ste||ar
akheir has joined #ste||ar
mcopik has quit [Ping timeout: 245 seconds]
eschnett has joined #ste||ar
parsa has joined #ste||ar
aserio has quit [Ping timeout: 260 seconds]
parsa has quit [Client Quit]
<M-ms> hkaiser: commenting out these lines is enough to get rid of the AGAS error: https://github.com/STEllAR-GROUP/hpx/blob/293237b627982edb25673ae1b5202d91a36c8324/src/util/command_line_handling.cpp#L1253-L1254, will try to understand what's in that vector tomorrow...
<M-ms> why was it missing before/why was it added now?
jaafar_ has joined #ste||ar
diehlpk has quit [Ping timeout: 265 seconds]
mcopik has joined #ste||ar
aserio has joined #ste||ar
diehlpk has joined #ste||ar
aserio has quit [Ping timeout: 276 seconds]
galabc has joined #ste||ar
aserio has joined #ste||ar
diehlpk has quit [Ping timeout: 268 seconds]
<hkaiser> M-ms: these two lines add any setting that were detected while command line handling to the cfg registry, but it looks like it adds too many things :/
<hkaiser> before we were discarding those
<hkaiser> those two line were the essence of my patch ;-)
<hkaiser> M-ms: I think I know what needs to be done now, let me try to change things
<hkaiser> M-ms: pls see #3334 for a possible fix
gabriel_ has joined #ste||ar
galabc has quit [Ping timeout: 245 seconds]
gabriel_ has quit [Ping timeout: 248 seconds]
nanashi55 has quit [Ping timeout: 240 seconds]
nanashi55 has joined #ste||ar
<M-ms> hkaiser: very cool, thanks for the quick fix
<M-ms> let's see what pycicle says this time (if anything)
aserio has quit [Ping timeout: 260 seconds]
hkaiser has quit [Read error: Connection reset by peer]
hkaiser has joined #ste||ar
<hkaiser> M-ms: thank you for diagnosing this!
jakub_golinowski has joined #ste||ar
jbjnr_ has joined #ste||ar
jbjnr has quit [Ping timeout: 245 seconds]
jbjnr__ has joined #ste||ar
jbjnr_ has quit [Ping timeout: 245 seconds]
<jbjnr__> hkaiser: very sorry. My car needed to be collected from the garage and I arranged to collect it and forgot that we had a call planned.
<jbjnr__> tomorrow instead?
<hkaiser> jbjnr__: should work, yes
<hkaiser> same time?
<jbjnr__> ok. Thanks.
<jbjnr__> hkaiser: ^
aserio has joined #ste||ar
kisaacs has quit [Ping timeout: 260 seconds]
mcopik has quit [Ping timeout: 252 seconds]
aserio has quit [Ping timeout: 260 seconds]
kisaacs has joined #ste||ar
wash[m] has quit []
wash[m] has joined #ste||ar
mcopik has joined #ste||ar
V|r is now known as Guest90535
mcopik_ has joined #ste||ar
parsa has joined #ste||ar
eschnett has quit [Quit: eschnett]
parsa has quit [Quit: Zzzzzzzzzzzz]
kisaacs has quit [Ping timeout: 260 seconds]
parsa has joined #ste||ar
kisaacs has joined #ste||ar
hkaiser has quit [Quit: bye]
parsa has quit [Quit: Zzzzzzzzzzzz]
diehlpk has joined #ste||ar
aserio has joined #ste||ar
kisaacs has quit [Ping timeout: 240 seconds]
aserio has quit [Ping timeout: 260 seconds]
kisaacs has joined #ste||ar
quaz0r has quit [Ping timeout: 245 seconds]
quaz0r has joined #ste||ar
jakub_golinowski has quit [Quit: Ex-Chat]
hkaiser has joined #ste||ar
wash[m] has quit []
wash[m] has joined #ste||ar
daissgr has quit [Quit: WeeChat 1.9.1]
nikunj has joined #ste||ar
kisaacs has quit [Ping timeout: 245 seconds]
kisaacs has joined #ste||ar
galabc has joined #ste||ar
<nikunj> K-ballo: yt?
<K-ballo> partially
<nikunj> K-ballo: I'll only take a minute
<nikunj> so I was searching about the precise call stack of msvc
<nikunj> but I can't find the exact call stack along with the dll associated online
<nikunj> K-ballo: Do you know of a resource I should look into?
<K-ballo> no
<nikunj> K-ballo: ok, I'll keep looking online then
<hkaiser> nikunj: the sources for MS runtime are installed with Visual Studio
<K-ballo> yeap, I already mentioned that earlier today
<hkaiser> k
<nikunj> K-ballo, hkaiser: then I'll have to scrape through (I just wanted to know if there was a better way :/)
mcopik_ has quit [Quit: Leaving]
parsa has joined #ste||ar
parsa has quit [Client Quit]
nikunj has quit [Quit: Leaving]
nikunj has joined #ste||ar
kisaacs has quit [Ping timeout: 260 seconds]
parsa has joined #ste||ar
galabc has quit [Quit: Leaving]
parsa has quit [Quit: Zzzzzzzzzzzz]