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
Anushi1998 has joined #ste||ar
zao_ has joined #ste||ar
zao has quit [Ping timeout: 265 seconds]
zao_ is now known as zao
hkaiser has quit [Ping timeout: 265 seconds]
anushi has quit [Ping timeout: 265 seconds]
itachi_uchiha_ has quit [Ping timeout: 260 seconds]
FjordPrefect has quit [Ping timeout: 260 seconds]
M-ms has quit [Ping timeout: 245 seconds]
K-ballo has joined #ste||ar
kisaacs has quit [Ping timeout: 256 seconds]
Anushi1998 has quit [Remote host closed the connection]
Anushi1998 has joined #ste||ar
itachi_uchiha_ has joined #ste||ar
nikunj has quit [Quit: Leaving]
FjordPrefect has joined #ste||ar
M-ms has joined #ste||ar
Anushi1998 has quit [Remote host closed the connection]
diehlpk has quit [Ping timeout: 268 seconds]
parsa has joined #ste||ar
kisaacs has joined #ste||ar
K-ballo has quit [Quit: K-ballo]
parsa has quit [Quit: Zzzzzzzzzzzz]
parsa has joined #ste||ar
nanashi55 has quit [Ping timeout: 256 seconds]
nanashi55 has joined #ste||ar
kisaacs has quit [Ping timeout: 260 seconds]
kisaacs has joined #ste||ar
Anushi1998 has joined #ste||ar
anushi has joined #ste||ar
parsa has quit [Quit: Zzzzzzzzzzzz]
anushi has quit [Quit: Leaving]
Anushi1998 is now known as anushi
Anushi1998 has joined #ste||ar
Anushi1998 has quit [Quit: Leaving]
kisaacs has quit [Ping timeout: 248 seconds]
Anushi1998 has joined #ste||ar
parsa has joined #ste||ar
jaafar has quit [Ping timeout: 264 seconds]
kisaacs has joined #ste||ar
kisaacs has quit [Ping timeout: 240 seconds]
Anushi1998 has quit [Remote host closed the connection]
<galabc>
my current boost module is boost/1.67.0-clang.6.0.0-release
<galabc>
there seems to be an incompatibility between the boost in my hpx-build and something else
<K-ballo>
galabc: what's your full name?
<galabc>
gabriel laberge
<K-ballo>
so, you seem to need to link to boost program options?
<K-ballo>
and hpx?
<K-ballo>
oh, it uses custom hpx cmake, nevermind.. I don't know what those do under the covers
eschnett has quit [Quit: eschnett]
<galabc>
I find it wierd that there is conflict with libboost_program_options.so.1.53.0 since I never used this boost_library
<galabc>
And there doesnt seem to be a boost/1.53.0 module in rostam
mcopik_ has joined #ste||ar
mcopik has quit [Ping timeout: 260 seconds]
mcopik_ has quit [Read error: Connection reset by peer]
nikunj has quit [Quit: Leaving]
<zao>
Smells like the OS-installed one?
<zao>
When the linker feels it should try to autolink things you didn't link, sadness tends to occur.
<galabc>
i feel sadness right now :(
<zao>
Been a while since I used the HPX exports, but I don't think I ever explicitly set any include/link dirs, and definitely not the global ones.
<zao>
What's the content of your lib/cmake/HPX/*.cmake files?
<zao>
Or whatever they're named?
<galabc>
let me show you
<github>
[hpx] hkaiser opened pull request #3343: Safeguard HPX against destruction in global contexts (master...global_object_destruction) https://git.io/vhGQw
<akheir>
galabc: I dont know what's the problem but seen this before
<bibek>
galabc: I have the exact same issue
<akheir>
there are some precompiled hpx in /opt/hpx try to compile your application with those
akheir has quit [Quit: Leaving]
<galabc>
ok let me try
<bibek>
galabc: I have not found a solution yet, if you find some way around it, let me know.
<galabc>
bibek: I will let you know
<mcopik_>
modules are fine
<mcopik_>
it seems that CMake converts an absolute path to Boost library from HPXConfig.cmake to -lboost_*
<mcopik_>
and that's why linker finds a default system library
<mcopik_>
I have no idea why CMake behaves like that but the simplest solution is to force it to link Boost directory
<galabc>
ok
<galabc>
I have tried compiling with /opt/hpx but i still got the same error
<galabc>
mcopik do you have any idea on how to force it to link Boost?
mcopik__ has joined #ste||ar
<bibek>
mcopik_: How do i force cmake to link ?
parsa has joined #ste||ar
aserio has quit [Quit: aserio]
parsa has quit [Client Quit]
eschnett has joined #ste||ar
rtohid has left #ste||ar ["Leaving"]
<mcopik_>
bibek: galabc: the problem lies in the fact that CMake will search linker paths provided by clang++ and change absolute paths to -l when it detects the library in standard paths. unfortunately, because of the module system, the path to Boost libraries is there
<mcopik_>
and it seems that it happens even for imported targets
<mcopik_>
and link_directories(...) is ignored as well
<mcopik_>
the only solution which I could find is to explicitly link the target with -Lpath
<mcopik_>
i.e. find_package(Boost REQUIRED) (here you can add exact to make sure that you're using the correct one) and for each target, add: target_link_libraries(target_name_here -L${Boost_LIBRARY_DIRS})
<galabc>
mcopik_ Thanks I will add that to my CMakefile.txt but I'm not sure of what you mean by target
<mcopik_>
galabc: the target created e.g. by the call to hpx_add_executable. calling this function with "name" as first parameter will create a CMake target with name "name_exe"
hkaiser has joined #ste||ar
hkaiser has quit [Read error: Connection reset by peer]