aserio 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/
diehlpk has quit [Ping timeout: 260 seconds]
diehlpk_mobile2 has joined #ste||ar
diehlpk_mobile2 has quit [Read error: Connection reset by peer]
diehlpk_mobile2 has joined #ste||ar
diehlpk_mobile has quit [Ping timeout: 252 seconds]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile2 has quit [Ping timeout: 248 seconds]
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
K-ballo has quit [Quit: K-ballo]
diehlpk_mobile has quit [Ping timeout: 256 seconds]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile has quit [Ping timeout: 240 seconds]
diehlpk_mobile has joined #ste||ar
diehlpk has joined #ste||ar
pjha has joined #ste||ar
diehlpk_mobile2 has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile2 has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile2 has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile2 has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
mcopik has quit [Ping timeout: 240 seconds]
hkaiser has quit [Quit: bye]
pjha has quit [Quit: Page closed]
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile2 has joined #ste||ar
parsa has quit [Quit: Zzzzzzzzzzzz]
Anushi1998 has quit [Remote host closed the connection]
diehlpk_mobile2 has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
parsa has joined #ste||ar
diehlpk_mobile2 has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile2 has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile2 has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile2 has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
sharonhsl has joined #ste||ar
hkaiser has joined #ste||ar
diehlpk has quit [Ping timeout: 240 seconds]
Anushi1998 has joined #ste||ar
diehlpk_mobile has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
hkaiser has quit [Quit: bye]
parsa has quit [Quit: Zzzzzzzzzzzz]
CaptainRubik has joined #ste||ar
sharonhsl has quit [Quit: sharonhsl]
sharonhsl has joined #ste||ar
anushi has joined #ste||ar
<anushi> Hi, I was trying to compile a individual file partition_tests.hpp with g++
<anushi> g++ -I /home/anushi/hpx_build/hpx/ -I /home/anushi/boost /home/anushi/hpx_build/hpx/tests/unit/parallel/algorithms/partition_tests.hpp
<anushi> but the problem is that it is unable to locate hpx/config/defines.hpp because probably it is going inside hpx_build/hpx/hpx/config/ and there is no defines.hpp here. Instead it should look here hpx_build/hpx/config
<anushi> What all I can think of is, I should change the path to all where config is included?But that doesn't seem to be a solution. I would be grateful if any of you could please help me in this regard
Nikunj has joined #ste||ar
<anushi> For the time being I have copied this hpx_build/hpx/config.hpp to hpx_build.hpx/hpx/config.hpp and it works fine but I would be obliged if I could look into a more better solution
<anushi> *hpx_build/hpx/hpx/config.hpp
anushi has quit [Quit: Leaving]
Anushi1998 is now known as anushi
heller_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
heller_ has joined #ste||ar
<heller_> anushi: the defines is generated by cmake
<heller_> this should be covered by '-I /home/anushi/hpx_build/hpx/'
<anushi> heller_, thanks :) I will look into it
<heller_> never heard of this problem before
<anushi> heller_, I will try to look why it is occurring in my system only :(
<Nikunj> @heller_: Could you help me setup docker locally, please?
<heller_> what do you want to know?
<heller_> where does "c++" come from?
<heller_> I guess that's a gcc thing? the docker image only has clang installed, IIRC
<Nikunj> @heller_: I am basically mimicking the hello.sh commands. link: https://github.com/STEllAR-GROUP/hpx/blob/master/examples/hello_world_component/hello.sh
<Nikunj> @heller_: aah that's why it could'nt build it
<Nikunj> @heller_: In that case, what should we do? should we install gcc onto docker?
<heller_> no
<heller_> update the build script
<heller_> use ${CXX} instead and only c++ if ${CXX} was not set
<Nikunj> @heller_: I see. In my cmake, though, I am simply running the hello.sh file.
<heller_> sure
<Nikunj> So I'll have to change hello.sh as well
<heller_> no
<heller_> well, only change hello.sh
david_pfander has joined #ste||ar
<Nikunj> @heller_: So in the hello.sh file, should I change the c++ to clang++?
<Nikunj> This will ensure that it runs on circleci
<heller_> no
<heller_> [08:56:02] <heller_> use ${CXX} instead and only c++ if ${CXX} was not set
<heller_> the docker image exports CXX
<heller_> you could also output an error in build.sh if ${CXX} was not set
<Nikunj> @heller_: From cmake I'm just running the hello.sh file. Not actually creating a build.sh
<Nikunj> But now I guess I'll have to revise my cmakelists to do it this way given the docker has clang installed.
<heller_> I am not following
<heller_> CXX is a common environment variable used to tell which compiler to use
<heller_> for build systems
<heller_> the docker image sets this
<heller_> calling c++ in hello.sh unconditionally is bad, you should change this to use ${CXX} instead
<Nikunj> @heller_: My cmake lists basically runs the hello.sh. link: https://github.com/NK-Nikunj/hpx/blob/fix-%233124/examples/hello_world_component/CMakeLists.txt
<heller_> and have some kind of fallback if CXX has not been set
david_pfander has quit [Ping timeout: 245 seconds]
<heller_> yes
<Nikunj> @heller_: Oh I got it what you mean
<Nikunj> @heller_: Thanks for the help, I'll make the required changes. Btw, is CXX set to clang by default in the docker?
<heller_> CXX is set to clang++
<heller_> in the docker image
<Nikunj> @heller_: Ok. Thanks again :)
<heller_> there is no default
<Nikunj> by default, I meant if it's set or not.
<simbergm> jbjnr: HWLOC_MEMBIND_BYNODESET is only available since some version of hwloc?
sharonhsl has quit [Quit: sharonhsl]
anushi has quit [Ping timeout: 245 seconds]
anushi has joined #ste||ar
david_pfander has joined #ste||ar
david_pfander has quit [Ping timeout: 240 seconds]
david_pfander has joined #ste||ar
david_pfander has quit [Remote host closed the connection]
david_pfander has joined #ste||ar
david_pfander1 has joined #ste||ar
david_pfander has quit [Ping timeout: 245 seconds]
david_pfander1 is now known as david_pfander
david_pfander has quit [Ping timeout: 256 seconds]
V|r has quit [Ping timeout: 265 seconds]
V|r has joined #ste||ar
V|r has quit [Changing host]
V|r has joined #ste||ar
<jbjnr> simbergm: yes. It's only avaialble after version something.something, but the hwloc people screwed up their versioning and forgot to update it when they released certain point versions and so I must have underestimated the version check needed
<github> [hpx] biddisco pushed 1 new commit to master: https://git.io/vAoIs
<github> hpx/master a32a72f John Biddiscombe: Fix version check for HWLOC_MEMBIND_BYNODESET
<jbjnr> simbergm: I just pushed a higher version check direct to master cos it is a very small patch.
K-ballo has joined #ste||ar
<simbergm> jbjnr: yep, found it, seems we committed the same thing... :)
<simbergm> (sorry, should
<simbergm> 've let you know(
<simbergm> )
<jbjnr> I'm confused - you changed it from 03 to 00 and I changed it from 00 to 03 - higher should be safer - now I must have broken it again
<jbjnr> it should not work with 00, but should with 03 - what's going on
<simbergm> I also changed it to 03
<simbergm> you changed it back to 00 I think
<jbjnr> shit - force push your master before anyone does a clone
<simbergm> yeah, sorry for the confusion, now it's failing again
<simbergm> I'll change it to 03 again
<jbjnr> I'm force pushing now
<simbergm> okay, good
<jbjnr> don't tell anyone I did it
<simbergm> I know whose fault it was if someone finds out
<jbjnr> crap. protected, can't force push
<jbjnr> ok recverted it
<github> [hpx] biddisco pushed 1 new commit to master: https://git.io/vAoqS
<github> hpx/master a3faea3 John Biddiscombe: Revert "Fix version check for HWLOC_MEMBIND_BYNODESET"...
<simbergm> good
<jbjnr> sorry for messing it up. I just edited the version, but didn't realize you'd already edited it and got confused
<simbergm> I wonder why there was no notification here when I pushed my commit :/
<simbergm> no, sorry for not telling you
<simbergm> should be good now
<jbjnr> that would've helped- I'd have seen it -
<K-ballo> force pushing master?!
CaptainRubik has quit [Ping timeout: 260 seconds]
diehlpk_mobile has joined #ste||ar
<github> [hpx] msimberg created msimberg-patch-1 (+1 new commit): https://git.io/vAoYh
<github> hpx/msimberg-patch-1 53eed5b Mikael Simberg: Set pre_main status before launching run_helper...
<Guest15115> [hpx] msimberg opened pull request #3198: Set pre_main status before launching run_helper (master...msimberg-patch-1) https://git.io/vAoOe
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
<zao> K-ballo: I'm reluctant to forward declare due to vague historical mishaps. Like how Boost's smart pointers at some point in time required your type to be fully defined or it'd destroy the wrong way, and a missing base-derived relationship if forward declaring too much.
<zao> Hasty hackfixes to master? *grabs popcorn*
<K-ballo> I'm not a fan of forward declarations either, specially against forward declaring foreign stuff, but that article touches too many points too close to home
<K-ballo> like how replacing one include with a forward declaration can result in tons of other headers giving errors because they fail to include what they use
<K-ballo> and that amazing dependency graph... I wonder how we do in comparison
hkaiser has joined #ste||ar
Anushi1998 has joined #ste||ar
anushi has quit [Ping timeout: 245 seconds]
diehlpk_mobile2 has joined #ste||ar
diehlpk_mobile has quit [Ping timeout: 252 seconds]
eschnett has quit [Quit: eschnett]
eschnett has joined #ste||ar
<github> [hpx] msimberg created msimberg-patch-2 (+1 new commit): https://git.io/vAoKX
<github> hpx/msimberg-patch-2 9bc2134 Mikael Simberg: Fix sliding_semaphore test
diehlpk_mobile2 has quit [Read error: Connection reset by peer]
<github> [hpx] msimberg opened pull request #3199: Fix sliding_semaphore test (master...msimberg-patch-2) https://git.io/vAo6f
diehlpk_mobile has joined #ste||ar
diehlpk_mobile has quit [Read error: Connection reset by peer]
diehlpk_mobile has joined #ste||ar
diehlpk_mobile2 has joined #ste||ar
diehlpk_mobile2 has quit [Read error: Connection reset by peer]
diehlpk_mobile2 has joined #ste||ar
diehlpk_mobile has quit [Ping timeout: 240 seconds]
hkaiser has quit [Quit: bye]
diehlpk_mobile2 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
eschnett has quit [Quit: eschnett]
hkaiser has joined #ste||ar
aserio has joined #ste||ar
CaptainRubik has joined #ste||ar
parsa has joined #ste||ar
<CaptainRubik> HI @jbjnr_ could you take a look at the proposal.
<Nikunj> I just noticed one issue with the hello_world_component folder. Executing hello.sh directly displays the output while using make gives an error.
parsa has quit [Quit: Zzzzzzzzzzzz]
parsa has joined #ste||ar
circleci-bot has joined #ste||ar
<circleci-bot> Fixed: biddisco's build (#9644; push) in STEllAR-GROUP/hpx (master) -- https://circleci.com/gh/STEllAR-GROUP/hpx/9644?utm_campaign=chatroom-integration&amp;utm_medium=referral&amp;utm_source=irc
circleci-bot has quit [Client Quit]
parsa has quit [Client Quit]
parsa has joined #ste||ar
parsa has quit [Quit: Zzzzzzzzzzzz]
<github> [hpx] StellarBot pushed 1 new commit to gh-pages: https://git.io/vAojs
<github> hpx/gh-pages c59bcdb StellarBot: Updating docs
david_pfander has joined #ste||ar
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
victor_ludorum has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
david_pfander has quit [Ping timeout: 252 seconds]
EverYoung has quit [Read error: Connection reset by peer]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
CaptainRubik has quit [Quit: Page closed]
akheir has quit [Remote host closed the connection]
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
Smasher has joined #ste||ar
vamatya has joined #ste||ar
jaafar has joined #ste||ar
AndroUser has joined #ste||ar
jaafar has quit [Client Quit]
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
jaafar has joined #ste||ar
aserio has quit [Ping timeout: 245 seconds]
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
mcopik has joined #ste||ar
david_pfander has joined #ste||ar
EverYoung has quit [Ping timeout: 276 seconds]
mcopik has quit [Ping timeout: 256 seconds]
AndroUser has quit [Read error: Connection reset by peer]
EverYoung has joined #ste||ar
david_pfander has quit [Ping timeout: 240 seconds]
david_pfander has joined #ste||ar
aserio has joined #ste||ar
mcopik has joined #ste||ar
victor_ludorum has quit [Ping timeout: 260 seconds]
david_pfander has quit [Remote host closed the connection]
Nikunj has quit [Quit: Page closed]
mcopik has quit [Ping timeout: 256 seconds]
hkaiser has quit [Quit: bye]
<jbjnr> do we have a gsco mentors list for just use hpx mentors?
<jbjnr> I seem to recall that we do.
<jbjnr> yes found it - gsoc-mentors@stellar-group.org
hkaiser has joined #ste||ar
david_pfander has joined #ste||ar
<parsa[[w]]> is hpx::util::optional<int> invalid?
<K-ballo> invalid how? that's a type
<parsa[[w]]> i get "'hpx::util::optional<int>::swap': function does not take 2 arguments"
<K-ballo> understandably, it doesn't
parsa[[w]] is now known as parsa[w]
<K-ballo> it's a member function, 2 arguments would make a total of 3 objects to juggle
<hkaiser> parsa[w]: why optional in the first place?
<parsa[w]> i have an argument that may not be present
<parsa[w]> hkaiser: is it supposed to work though?
<hkaiser> sure
<hkaiser> parsa[w]: you're over-complicating things
<parsa[w]> what do you recommend?
<hkaiser> I have no idea what you're up to ;)
<hkaiser> I think that you always have a reasonable default you can use if the argument is not given
<K-ballo> optional<int> yes, optional<int>::swap(1, 2) no
<diehlpk_work> jbjnr, I provided some comments to the proposal. Most of them were about missing items
<parsa[w]> hkaiser: i worked around it, but just curious: apparently line 4 triggers the swap error, why? https://gist.github.com/parsa/4c8e83fe26b83e7018966cdf0742e4a0#file-hpx_util_optional_fail-cpp-L4
<K-ballo> nice condition you have there :P
<parsa[w]> too many ctrl-Zs
<parsa[w]> fixed it
<K-ballo> yeah, optional::swap is wrong
<K-ballo> that won't trigger adl since lookup already found `swap` the member
<parsa[w]> that is where it fails
Anushi1998 has quit [Ping timeout: 245 seconds]
<K-ballo> put `using std::swap;` right above?
Anushi1998 has joined #ste||ar
<hkaiser> K-ballo: yah, right
aserio has quit [Quit: aserio]
david_pfander has quit [Ping timeout: 240 seconds]
<hkaiser> K-ballo: how can I do the same for the noexcept clause?
<K-ballo> needs to go in a separate namespace
<K-ballo> the standard used to be full of those errors
<hkaiser> forward to a function in a separate namespace where std::swap is injected?
<K-ballo> do the noexcept check on an unqualified swap call from within a namespace where std::swap is injected
<K-ballo> that's basically the same as implementing is_nothrow_swappable
<hkaiser> have an example somewhere?
<K-ballo> I have an old style one
Anushi1998 has quit [Ping timeout: 245 seconds]
Smasher has quit [Remote host closed the connection]
<hkaiser> K-ballo: how do I avoid an ambiguity if I implement swap(T&, T&) in that namespace and import std:swap as well - I don't get it, sorry
<K-ballo> you don't implement swap(T&, T&)?
<hkaiser> just inject std::swap ?
<K-ballo> that namespace exists solely to do using std::swap; and then be able to do unqualified swap calls
<hkaiser> but how are non-std::swaps visible then?
<K-ballo> via adl
<K-ballo> that's the context Swappable speaks of
<hkaiser> if I do namespace __foo { using std::swap; } and the noexcept(__foo:swap(...))?
<K-ballo> The context in which swap(t, u) and swap(u, t) are evaluated shall ensure that a binary non-member function named “swap” is selected via overload resolution (16.3) on a candidate set that includes:
<K-ballo> (3.1) — the two swap function templates defined in <utility> (23.2) and
<K-ballo> (3.2) — the lookup set produced by argument-dependent lookup (6.4.2)
<K-ballo> no, you have to do the noexcept check from within __foo
<hkaiser> but if I use __foo::swap, doesn't that disable ADL?
<K-ballo> within __foo you would simply do swap, not __foo::swap
<hkaiser> ok
<K-ballo> all the checks have to happen inside namespace __foo
<K-ballo> if you check at my variant's implementation there's a namespace _swap, it has using std::swap, and then the checks do unqualified swap calls
<hkaiser> got it now, thanks
<github> [hpx] hkaiser created fixing_3200 (+1 new commit): https://git.io/vAK59
<github> hpx/fixing_3200 75d72b8 Hartmut Kaiser: Fixing optional::swap
<hkaiser> K-ballo: hope I got it right ^^
<hkaiser> thanks again
<K-ballo> the check_swap parameters are redundant, but otherwise looks good
<hkaiser> yah
<K-ballo> parsa[w]: util::move ?
<parsa[w]> what?
<K-ballo> "hpx::util::move fails #3200"
<parsa[w]> ugh
<parsa[w]> sorry
<github> [hpx] hkaiser force-pushed fixing_3200 from 75d72b8 to f6c4f19: https://git.io/vAKd8
<github> hpx/fixing_3200 f6c4f19 Hartmut Kaiser: Fixing optional::swap
<github> [hpx] hkaiser opened pull request #3201: Fixing optional::swap (master...fixing_3200) https://git.io/vAKdQ
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar