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 quit [Ping timeout: 240 seconds]
Yorlik__ has joined #ste||ar
Yorlik_ has quit [Ping timeout: 240 seconds]
tufei_ has quit [Remote host closed the connection]
tufei_ has joined #ste||ar
tufei_ has quit [Remote host closed the connection]
tufei_ has joined #ste||ar
hkaiser has joined #ste||ar
HHN93 has joined #ste||ar
<HHN93> I am getting the following linker error with HPX, can I get any help?
<hkaiser> HHN93: this is caused by the version of c++ used for compiling hpx (c++17) and your application (C++11?)
<hkaiser> alternatively it's caused by a mismatch of used standard library (libc++ vs. libstdc++)
<HHN93> `alternatively it's caused by a mismatch of used standard library (libc++ vs. libstdc++)`
<HHN93> is there anyway I can fix it?
<hkaiser> use the same settings for your app as you used for compiling hpx
<HHN93> I have set CXX standard to 17 in the cmake file
<HHN93> `use the same settings for your app as you used for compiling hpx`
<HHN93> is there a cmake option to specify that?
<hkaiser> depends on what settings are different
<HHN93> adding -stdlib=libstdc++ to cmake flags doesn't seem to be helping either
<hkaiser> how did you add that?
<HHN93> `depends on what settings are different`
<HHN93> is there any way to debug it?
<HHN93> `how did you add that?`
<HHN93> cmake CXX flags on the project using HPX
<hkaiser> did you use the same flag for hpx?
<HHN93> for HPX I just used the default
<HHN93>  cmake -GNinja -DHPX_WITH_EXAMPLES=Off -DHPX_WITH_TESTS=Off -DHPX_WITH_FETCH_ASIO=ON ..
<HHN93> this was the cmake cmd I used to compile HPX
<hkaiser> so you did use different settings
<HHN93> initially I didn't set  any -stdlib flag for the project, tried it both ways
<HHN93> both give the linker error
<HHN93> both => with and without the flag
<HHN93> changed compiler to g++, it works now. Not sure if it was the compiler or some side effect of changing the compiler
<HHN93> also adding running an address sanitizer shows quite a few memory leaks, is that exepcted?
HHN93 has quit [Quit: Client closed]
hkaiser has quit [Quit: Bye!]
tufei_ has quit [Quit: Leaving]
tufei has joined #ste||ar
KordeJong[m] has quit [Ping timeout: 265 seconds]
tufei has quit [Quit: Leaving]
tufei has joined #ste||ar
jbjnr[m] has quit [Ping timeout: 265 seconds]
dkaratza[m] has quit [Ping timeout: 265 seconds]
gonidelis[m] has quit [Ping timeout: 265 seconds]
rtohid[m] has quit [Ping timeout: 265 seconds]
hkaiser has joined #ste||ar
tufei has quit [Remote host closed the connection]
tufei has joined #ste||ar
HHN93 has joined #ste||ar
gonidelis[m] has joined #ste||ar
jbjnr[m] has joined #ste||ar
dkaratza[m] has joined #ste||ar
rtohid[m] has joined #ste||ar
KordeJong[m] has joined #ste||ar
HHN93 has quit [Quit: Client closed]