<div dir="ltr"><div>I think I got it. Doing everything in root privilege solved that library recognition problem as well as 'mpd' and other bugging issues. I don't know why those happened while sticking to 'sudo', but I can now compile and run with MPICH 3.0.4 and Intel compiler 14.0.0.<br>
<br></div>Sorry for bothering.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 7:42 PM, Seungbum Koo <span dir="ltr"><<a href="mailto:doougsini@gmail.com" target="_blank">doougsini@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 dir="ltr"><div>It should work. 'icc' command works regardless of 'pwd'. So as 'ifort'. I just programmed Hello World! in both C and FORTRAN and they all compiled well and ran successfully. Even for the intel provided sample c source code(one that is in /intel/sample/). I could compile it and successfully run it.<br>

<br></div>Maybe it's version problem. I'll downgrade intel compiler and see if it works in that case.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Sep 5, 2013 at 7:09 PM, Antonio J. Peņa <span dir="ltr"><<a href="mailto:apenya@mcs.anl.gov" target="_blank">apenya@mcs.anl.gov</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><u></u>
<div style="font-family:'Sans Serif';font-size:9pt;font-weight:400;font-style:normal">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Seungbum,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">I've checked your configure flags in our testbed. I find no problems even without the LDFLAGS parameter. Have you tried to compile any other code with your icc setup? I bet there's something wrong with your icc setup. Have you executed the iccvars.sh script? (BTW, we use icc 13.1.3).</p>

<span><font color="#888888">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">  Antonio</p></font></span><div><div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">On Thursday, September 05, 2013 06:34:08 PM Seungbum Koo wrote:<br></p>
<p style="margin-top:12px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px">Thank you for your advice. But nothing has changed even if I add that line at the stage of configure.<br><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">So this is what I wrote in the command line.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br>========================================================================<br><a name="140f0b8a9faac4ff_140f09a1d6531ecb_docs-internal-guid-6d9c77e5-f06b-7d74-dce4-7a4ec8034d8a"></a><span style="background-color:#000000;font-family:'Arial'">s</span><span style="background-color:#000000;font-family:'Arial'">udo /opt/mpich/mpich-3.0.4-source/configure --prefix=/opt/mpich/ CC=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/icc CXX=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/icpc F77=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/ifort FC=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/ifort LDFLAGS="-L/opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64" --enable-fast=all,O3 --enable-g=dbg,mem,log --enable-shared --with-pm=hydra 2>&1 | sudo tee log_configure.txt</span><span style="background-color:#000000;font-family:'Arial'"><br>

================================================================<br><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><a name="140f0b8a9faac4ff_140f09a1d6531ecb_docs-internal-guid-6d9c77e5-f06b-7d74-dce4-7a4ec8034d8a"></a><span style="background-color:#000000;font-family:'Arial'">W</span><span style="background-color:#000000;font-family:'Arial'">hat 'configure' says:</span><span style="background-color:#000000;font-family:'Arial'"><br>

</span>======================================================<br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px">ld: warning: libintlc.so.5, needed by /opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64/libifport.so.5, not found (try using -rpath or -rpath-link)<br>

======================================================<br><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a name="140f0b8a9faac4ff_140f09a1d6531ecb_docs-internal-guid-6d9c77e5-f06b-7d74-dce4-7a4ec8034d8a"></a><span style="background-color:#000000;font-family:'Arial'">W</span><span style="background-color:#000000;font-family:'Arial'">hat 'make' says:</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="background-color:#000000;font-family:'Arial'"><br>================================================================<br>

ld: warning: libimf.so, needed by /opt/mpich/mpich-3.0.4-build/src/mpl/.libs/libmpl.so, not found (try using -rpath or -rpath-link)<br>ld: warning: libsvml.so, needed by /opt/mpich/mpich-3.0.4-build/src/mpl/.libs/libmpl.so, not found (try using -rpath or -rpath-link)<br>

ld: warning: libirng.so, needed by /opt/mpich/mpich-3.0.4-build/src/mpl/.libs/libmpl.so, not found (try using -rpath or -rpath-link)<br>ld: warning: libintlc.so.5, needed by /opt/mpich/mpich-3.0.4-build/src/mpl/.libs/libmpl.so, not found (try using -rpath or -rpath-link)<br>

================================================================<br><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a name="140f0b8a9faac4ff_140f09a1d6531ecb_docs-internal-guid-6d9c77e5-f06b-7d74-dce4-7a4ec8034d8a"></a><span style="background-color:#000000;font-family:'Arial'">N</span><span style="background-color:#000000;font-family:'Arial'">ot a single line difference as before.</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="background-color:#000000;font-family:'Arial'"><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a name="140f0b8a9faac4ff_140f09a1d6531ecb_docs-internal-guid-6d9c77e5-f06b-7d74-dce4-7a4ec8034d8a"></a><span style="background-color:#000000;font-family:'Arial'">D</span><span style="background-color:#000000;font-family:'Arial'">oes it make sense? "</span>libifport.so.5" needs "libintlc.so.5" but they are in the same directory. And those 'not found' files at the 'make' stage as well. They are all in '/opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64/'.<br>

<br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Any idea?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Seungbum</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p></div></div></div><br></div></div>_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br></div>
</blockquote></div><br></div>