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
ahmed has joined #ste||ar
<ahmed>
I have a problem due to the hwloc when running the .cpp file telling me that some hwloc.number is missing
<gonidelis[m]>
what kind of error?
<ahmed>
Hwloc-15.dll
<gonidelis[m]>
and what cpp file?
<ahmed>
The n queen client ex
<ahmed>
In examples/application
<ahmed>
Is this due to a wrong installation of hwloc or what
<ahmed>
I have unzipped the hwloc and set env variable of hwloc_root
<ahmed>
And cmake configure then run visual studio
<ahmed>
There’s a section in doc regarding installation of hwloc which tells to ./configure
<ahmed>
But i tried making it using the msys2 and cant do it
<K-ballo>
sounds like a dynamic hwloc build, you need the .dll somewhere the executable will find it
<K-ballo>
next to the exe or in system32 are the obvious choices
<K-ballo>
if you are running one of hpx's own targets, that should be handled by the build system
<K-ballo>
I'm not getting any matches for "queen", ahmed: is it an external project?
<ahmed>
Is the hwloc env variable at the main directory or at the directory/bin ?
K-ballo has quit [Quit: K-ballo]
aacirino has quit [Remote host closed the connection]
parsa[fn] has quit [Quit: Vazeyti]
hkaiser has quit [Quit: Bye!]
ahmed has quit [Quit: Connection closed for inactivity]
ahmed_ has joined #ste||ar
yli has joined #ste||ar
yli has quit [Quit: Ping timeout (120 seconds)]
hkaiser has joined #ste||ar
K-ballo has joined #ste||ar
aacirino has joined #ste||ar
<srinivasyadav227>
ahmed: if env variable is HWLOC_ROOT then it should point to directory
<ahmed_>
Thats what i did
<ahmed_>
And it keep saying hwloc-15.dll is missing
<hkaiser>
ahmed_: HWLOC_ROOT is used by cmake at configuration time, you still need to make sure the lobrary is found while executing your application
<ahmed_>
Although i’ve searched it and found it in /bin
<K-ballo>
HWLOC_ROOT won't have any effect on how windows looks up dlls
<ahmed_>
hkaiser: yes it fails while executing
<ahmed_>
But i have no idea what could be wrong to be honest
<hkaiser>
ahmed_: what platform are you on?
<K-ballo>
you'll need to place the .dll somewhere where windows will find it
<ahmed_>
hkaiser: i’m using vs22 on windows 7
<ahmed_>
K-ballo: is the hwloc version 2.7.1 compatible ?
<hkaiser>
then do what K-ballo suggests
<ahmed_>
As in the doc it redirects me into a 1.xx version
<K-ballo>
I don't know, but if it was accepted by the configuration step it better be
<hkaiser>
yes, v2.x does work
<K-ballo>
you may find that by yourself, once windows can load the dll
<K-ballo>
ahmed_: are you manually running the .exe, as opposed to running the project from vs22?
<ahmed_>
I built the install project then yes run the nqueen project directly as normal vs22 project
<ahmed_>
Is that a wrong way ?
<K-ballo>
there are no wrong ways, I ask because I would expect the vs22 run option to deal with the .dll automatically (by either specifying the working dir or otherwise)
<K-ballo>
but that's something that the project would have to be explicitly doing in the cmake files, not something that can be done automatically
<hkaiser>
ahmed_: why can't you just copy the .dll into the <builddir>/Debug/bin directory (or <builddir>/Release/bin, depending on your current build type)?
<satacker[m]>
I tried Fibonacci (n) with c++ coroutines and they are slower than the standard recursive version.
<satacker[m]>
Was this to be expected?
<satacker[m]>
satacker@ubuntu:/home/extended/hpx/build$ bin/coroutine --n-value 20 --test all --n-runs 5