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