<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Try now. <br>
<br>
On 08/01/2014 10:40 AM, Ketan Maheshwari wrote:<br>
</div>
<blockquote
cite="mid:CAMUuviqa1PU_664OvND9yVYM6oabLnC0XiXbyvqw3+vxhevftg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">Now working on BG. Justin, can you push the latest
genleaf with objlist on BG.</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jul 31, 2014 at 4:34 PM, Tim
Armstrong <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tim.g.armstrong@gmail.com" target="_blank">tim.g.armstrong@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">
<div>Hm, ok, interesting. I'm surprised that the
compiler/linker didn't kick up a fuss, but I guess it
snuck by it somehow.<span class="HOEnZb"><font
color="#888888"><br>
<br>
</font></span></div>
<span class="HOEnZb"><font color="#888888">
- Tim<br>
</font></span></div>
<div>
<div class="h5">
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jul 31, 2014 at
4:29 PM, Ketan Maheshwari <span dir="ltr">
<<a moz-do-not-send="true"
href="mailto:ketan@mcs.anl.gov"
target="_blank">ketan@mcs.anl.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">Justin caught 1 by copying all
the .o files from FS into objfiles directory,
no subdirs. Which lead to me adding -fPIC in
Makefile. Later, I explicitly made the dir
hierarchy mkdir -p objfiles/nab, pulled in
respective .o files and built the .so with
them. The invalid address was likely from one
of the nab/*.o files (most likely molio.o)
which got fixed.</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jul 31,
2014 at 4:25 PM, Ketan Maheshwari <span
dir="ltr">
<<a moz-do-not-send="true"
href="mailto:ketan@mcs.anl.gov"
target="_blank">ketan@mcs.anl.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">Two things:
<div><br>
</div>
<div>1. The nab module was not being
compiled with -fPIC.</div>
<div>2. I did not use the object
files from this module as they end
up in a subdir and I was just
saying objfiles/*.o instead of
objfiles/*.o objfiles/nab/*.o.</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu,
Jul 31, 2014 at 4:21 PM, Tim
Armstrong <span dir="ltr">
<<a
moz-do-not-send="true"
href="mailto:tim.g.armstrong@gmail.com"
target="_blank">tim.g.armstrong@gmail.com</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>
<div dir="ltr">What was
the diagnosis in the
end?<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>On Thu, Jul 31,
2014 at 3:51 PM,
Justin M Wozniak <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:wozniak@mcs.anl.gov" target="_blank">wozniak@mcs.anl.gov</a>></span>
wrote:<br>
</div>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div
bgcolor="#FFFFFF"
text="#000000">
<div>
<div><br>
Oh good. <br>
<div>
<div><br>
On 07/31/2014
03:49 PM,
Ketan
Maheshwari
wrote:<br>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<blockquote
type="cite">
<div dir="ltr">This
has worked!
<div><br>
</div>
<div>Thanks,</div>
<div>Ketan</div>
</div>
<div
class="gmail_extra"><br>
<br>
<div
class="gmail_quote">On
Thu, Jul 31,
2014 at 3:41
PM,
Maheshwari,
Ketan C. <span
dir="ltr">
<<a
moz-do-not-send="true"
href="mailto:ketan@mcs.anl.gov" target="_blank">ketan@mcs.anl.gov</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div>
<div dir="ltr">Fixed
now.</div>
<div>
<div>
<div
class="gmail_extra"><br>
<br>
<div
class="gmail_quote">On
Thu, Jul 31,
2014 at 3:37
PM, Wozniak,
Justin M. <span
dir="ltr">
<<a
moz-do-not-send="true"
href="mailto:wozniak@mcs.anl.gov" target="_blank">wozniak@mcs.anl.gov</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div>On
07/31/2014
03:33 PM,
Ketan
Maheshwari
wrote:<br>
><br>
> The make
output shows
things were
compiled with<br>
> -fPIC:
/homes/ketan/dock6/install/makedock.out<br>
<br>
</div>
I get:<br>
<div><br>
/usr/bin/ld:
objfiles/molio.o:
relocation
R_X86_64_32
against<br>
`.rodata.str1.1'
can not be
used when
making a
shared object;
recompile<br>
with -fPIC<br>
objfiles/molio.o:
could not read
symbols: Bad
value<br>
<br>
</div>
makedock.out
contains:<br>
<br>
gcc -c -O3
-D_ANSI_SOURCE
molio.c<br>
<span><font
color="#888888"><br>
--<br>
Justin M
Wozniak<br>
<br>
</font></span></blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</div>
</div>
</div>
</div>
<span><font
color="#888888"><span><font
color="#888888">
<pre cols="72">--
Justin M Wozniak</pre>
</font></span></font></span></div>
<div><br>
_______________________________________________<br>
ExM-user mailing
list<br>
<a
moz-do-not-send="true"
href="mailto:ExM-user@lists.mcs.anl.gov" target="_blank">ExM-user@lists.mcs.anl.gov</a><br>
<a
moz-do-not-send="true"
href="https://lists.mcs.anl.gov/mailman/listinfo/exm-user"
target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/exm-user</a><br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Justin M Wozniak</pre>
</body>
</html>