<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr">Thanks a lot, Wim! I had edited the Makefile but hadn't added LD=icc there (had set it just in the shell). </div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr">With that added along with "-mmic" added to the LDFLAGS and removing object files in module_cache </div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr">directory fixed the problem! Now I can run on Phi! </div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr"><br></div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr">Will post some results on performance; the translated interpreter seems much faster on Phi but I don't </div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr">quite understand why! (Not that I'm complaining! ;-) </div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr"><br></div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr">Thanks, </div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr">Ajit</div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr">==== </div><div id="yui_3_16_0_1_1428960528124_4899" dir="ltr"><br></div>  <br><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: times new roman, new york, times, serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Monday, April 13, 2015 2:23 PM, "wlavrijsen@lbl.gov" <wlavrijsen@lbl.gov> wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <br><br> <div class="y_msg_container">Ajit,<br clear="none"><br clear="none">> Hi Wim! I tried your suggestions (CC=icc and including -mmic in CFLAGS)<br clear="none"><br clear="none">did you edit the make file (under $TMP), or only added the above as envars?<br clear="none">If the former, you can check the full linker command. I'd expect problems<br clear="none">with the latter, as the translation (of full pypy-c anyway) runs some tests<br clear="none">(see platform.py).<br clear="none"><br clear="none">> $ ./example2-c bottles.b  /lib64/ld-linux-x86-64.so.2: No such file or directory<br clear="none"><br clear="none">That to me looks like the linker used was not icc (may have to set LD=icc).<br clear="none">What does:<br clear="none"><br clear="none">  $ objdump -f ./example2-c<br clear="none"><br clear="none">tell you?<br clear="none"><br clear="none">Best regards,<div class="yqt2334803714" id="yqtfd85576"><br clear="none">            Wim</div><br clear="none">-- <br clear="none"><a shape="rect" ymailto="mailto:WLavrijsen@lbl.gov" href="mailto:WLavrijsen@lbl.gov">WLavrijsen@lbl.gov</a>    --    +1 (510) 486 6411    --    www.lavrijsen.net<br><br></div> </blockquote>  </div> </div>   </div></div></body></html>