<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Ian,<br>
<br>
Ah I'm sorry I didn't realize that my replying wasn't directed to<br>
the group. I guess this all has to do with me being very on<br>
almost everything here! I will append my previous response<br>
here.<br>
<br>
Many thanks to you!!! Commenting out hwloc from the thornlist <br>
has done the trick. My ET has compiled successfully now. Being<br>
the newbie that I am, please do expect me to get back again and <br>
bother you will plenty of elementary questions.<br>
<br>
Thanks again.<br>
<br>
<br>
My previous response which was communicated off the
group...here.......<br>
<br>
<blockquote type="cite">Hi Ian,<br>
<br>
Yes, I do have a local installation of the hwloc library. And I
think you've really hit the<br>
nail on the head in your diagnosis. When I went through the make
file, and also looked<br>
at the error message my understanding was that Cactus is trying to
bring in numa<br>
when linking, and it looks for it in the wrong place. Running the
command<br>
dpkg --get-selections | grep hwloc, this is the output I get:<br>
hwloc-nox install<br>
libhwloc-dev:amd64 install<br>
libhwloc5:amd64 install<br>
<br>
I'll implement the suggestions you gave to me, try to build again
and get back here<br>
with some feedback.<br>
</blockquote>
<div><br>
</div>
<br>
<br>
<div class="moz-cite-prefix">On 26/06/2014 12:53, Ian Hinder wrote:<br>
</div>
<blockquote
cite="mid:113C98DB-749F-4BB0-A602-10333F8B7FB5@aei.mpg.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<br>
<div>
<div>On 26 Jun 2014, at 12:51, Dumsani Ndzinisa <<a
moz-do-not-send="true"
href="mailto:g14n8326@campus.ru.ac.za">g14n8326@campus.ru.ac.za</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Hi Ian,<br>
<br>
Yes, I do have a local installation of the hwloc library. And
I think you've really hit the<br>
nail on the head in your diagnosis. When I went through the
make file, and also looked<br>
at the error message my understanding was that Cactus is
trying to bring in numa<br>
when linking, and it looks for it in the wrong place. Running
the command<br>
dpkg --get-selections | grep hwloc, this is the output I get:<br>
hwloc-nox install<br>
libhwloc-dev:amd64 install<br>
libhwloc5:amd64 install<br>
<br>
I'll implement the suggestions you gave to me, try to build
again and get back here<br>
with some feedback.<br>
</blockquote>
<div><br>
</div>
<div>Hi Dumsani,</div>
<div><br>
</div>
<div>Glad to be of help! By the way, you replied just to me,
not to the mailing list. </div>
<br>
<blockquote type="cite"><br>
<br>
On 26/06/2014 12:22, Ian Hinder wrote:<br>
<blockquote type="cite">On 26 Jun 2014, at 11:56, Dumsani
Ndzinisa <<a moz-do-not-send="true"
href="mailto:g14n8326@campus.ru.ac.za">g14n8326@campus.ru.ac.za</a>>
wrote:<br>
<br>
<blockquote type="cite">Hi everyone,<br>
<br>
I have a fresh checkout of the latest stable release of
the Einstein Toolkit<br>
(ET_2014_05) which I'm trying to build on my laptop. The
laptop is<br>
running on Linux Mint 17, and I have adapted configuration
options from<br>
the bundled "ubuntu.cfg" file. On my machine, I have gcc
version 4.8.2,<br>
g++ version 4.8.2, and gfortran 4.8.2 as well.<br>
<br>
However, when building the toolkit (using the thornlist "<a
moz-do-not-send="true" href="http://einsteintoolkit.th">einsteintoolkit.th</a>)<br>
the build always fails no matter what I try. For instance,
on my very first<br>
attempt, I didn't use any of my locally installed
libraries but opted<br>
for the<br>
ones bundled with the toolkit. There was one error message
in that case<br>
pointing to the PAPI library having failed to get
configured. I then decided<br>
to comment out this thorn from the thornlist (in the .th
file). From there<br>
on, still building with the bundled external libraries, I
have been<br>
persistently<br>
getting an error message (in the linking stage) to the
effect a certain<br>
library (lnuma) could not be found. Below is the error
message that gets<br>
returned onto the screen:<br>
<br>
/usr/bin/ld: cannot find -lnuma<br>
collect2: error: ld returned 1 exit status<br>
/home/dumsani/Cactus/lib/make/make.configuration:147:
recipe for target<br>
'/home/dumsani/Cactus/exe/cactus_test-ET6' failed<br>
make[1]: *** [/home/dumsani/Cactus/exe/cactus_test-ET6]
Error 1<br>
Makefile:254: recipe for target 'test-ET6' failed<br>
make: *** [test-ET6] Error 2<br>
<br>
I would appreciate if anyone with some idea came to my
rescue here.<br>
Cactus and the ET are still very new to me. I've been
stuck on this for<br>
almost a week now. And I am of the idea that it shouldn't
be taking me<br>
that long. Together with my advisor, we have made a
checkout of Cactus<br>
(Llama thornlist) earlier and he did oriente me to the
process until we<br>
had a successful build (we got the executable) for the
llama thornlist. So,<br>
now the idea is for me to get some more practice with
Cactus/ET by<br>
checking out the full toolkit, configuring, building and
then running some<br>
example simulations provided in the toolkit.<br>
</blockquote>
Hi,<br>
<br>
Can you try commenting out the thorn "hwloc" from your
thornlist? Grepping through the source for "numa", the only
use of this library seems to be hwloc. hwloc is a thorn
which assists in binding software threads to physical
computational cores and processes to processor sockets for
efficiency, but it is not necessary for the toolkit to run.<br>
<br>
There might be something wrong with the hwloc configure
script
(Cactus/arrangements/ExternalLibraries/hwloc/configure.sh).
The relevant lines appear to be<br>
<br>
<blockquote type="cite"># Add libnuma manually, if necessary<br>
if grep -q '[-]lnuma' ${HWLOC_LIB_DIR}/libhwloc.la
2>/dev/null; then<br>
if ! echo '' ${HWLOC_LIBS} '' | grep -q ' numa '; then<br>
HWLOC_LIBS="${HWLOC_LIBS} numa"<br>
fi<br>
fi<br>
</blockquote>
This seems to be attempting to add the numa library to the
link line if it is found in libhwloc.la. The error message
indicates that numa has been added to the link line, but the
library is not available on the link path.<br>
<br>
The most recent change to hwloc, in April (i.e. before the
release), is:<br>
<br>
"Correct detecting whether -lnuma is necessary" (<a
moz-do-not-send="true"
href="http://git.barrywardell.net/?p=arrangements/ExternalLibraries/hwloc.git;a=commitdiff;h=4a3b694661f69df842c12a1e188e42f546dd92e2">http://git.barrywardell.net/?p=arrangements/ExternalLibraries/hwloc.git;a=commitdiff;h=4a3b694661f69df842c12a1e188e42f546dd92e2</a>)<br>
author<span class="Apple-tab-span" style="white-space:pre">
</span>eschnett
<eschnett@152c557c-6d84-4bc7-9b1a-dfca721279c7><span
class="Apple-tab-span" style="white-space:pre"> </span><br>
Sat, 19 Apr 2014 23:07:32 +0200 (21:07 +0000)<br>
committer<span class="Apple-tab-span"
style="white-space:pre"> </span>eschnett
<eschnett@152c557c-6d84-4bc7-9b1a-dfca721279c7><span
class="Apple-tab-span" style="white-space:pre"> </span><br>
Sat, 19 Apr 2014 23:07:32 +0200 (21:07 +0000)<br>
<br>
Probably Erik has some insight into this.<br>
<br>
We have an automated build and test process running under
Ubuntu 12.04, and this is working fine. It also builds
hwloc from source, rather than relying on the Ubuntu
version. Do you happen to have hwloc installed? Maybe it
is conflicting with the self-built version?<br>
<br>
<span class="Apple-tab-span" style="white-space:pre"> </span>dpkg
-l hwloc<br>
<br>
We should probably upgrade the build and test system to
Ubuntu 14.04, as that is now the latest stable release.
Maybe something in Ubuntu has changed with the hwloc
library.<br>
<br>
</blockquote>
<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;">
<div>-- </div>
<div>Ian Hinder</div>
<div><a moz-do-not-send="true"
href="http://numrel.aei.mpg.de/people/hinder">http://numrel.aei.mpg.de/people/hinder</a></div>
</div>
</div>
<br>
</blockquote>
<br>
</body>
</html>