Hi,<br>&nbsp; &nbsp; &nbsp; I am basically having one INTEL(32 bit) laptop and temporary access to another AMD(64 bit) machine and&nbsp; I am trying to trace and understand the flow of MPICH2 code. I have worked on a couple of other implementations of MPI, but I am a bit new to MPICH2. When I posted the question, I was trying to get it to work on one node, by forcing it to use shared memory. I went through the documentation again and I realised that I can select the device &nbsp;
<span style="color: rgb(51, 51, 255);"> ch3:ssm, <font color="#000000">when I run the config script and this gives me more flexibility as it uses socket between nodes and shared memory for intra-node communication.Right now, I have coupled up both the machines.&nbsp; However after doing : 
<br><br># ./configure --prefix=/home/kc/mpich-install/ --with-device=ch3:ssm CC=gcc CFLAGS=-g<br># make <br># make install <br>&nbsp; <br>&nbsp;&nbsp;&nbsp; on both the nodes, I tried out<br># mpiexec -n 2 /bin/hostname and it worked, but, on the AMP machine, it flashed : 
<br><span style="color: rgb(51, 51, 255);">ERROR: ld.so: object &#39;/usr/lib/libtsocks.so&#39; from LD_PRELOAD cannot be preloaded: ignored.<br><br><span style="color: rgb(0, 0, 0);">And on trying another with another simple MPI code, I got the following messages : 
</span><br>$ mpiexec -n 2 /home/kc/sample<br><span style="color: rgb(0, 0, 0);">32 bit INTEL node </span>: <br>/home/kc/sample: error while loading shared libraries: libuuid.so.1: wrong ELF class: ELFCLASS64<br><span style="color: rgb(0, 0, 0);">
and <br>64 bit AMD node : <br></span>ERROR: ld.so: object &#39;/usr/lib/libtsocks.so&#39; from LD_PRELOAD cannot be preloaded: ignored.
<br>/home/kc/sample: error while loading shared libraries: libuuid.so.1: wrong ELF class: ELFCLASS64<br>ERROR: ld.so: object &#39;/usr/lib/libtsocks.so&#39; from LD_PRELOAD cannot be preloaded: ignored.<br><br>&nbsp;&nbsp;&nbsp; <br><span style="color: rgb(0, 0, 0);">
&nbsp;&nbsp; With respect to the ELF message, i guess the problem is due to the compatibily issue which could be handled by using a CFLAG=</span> </span></font></span><span id="1fg7">-xarch=x86_64 on the AMD machine. But, the configure script does not recognise this CFLAG(correct me, if I am wrong) . Is there someway i can compile the MPICH library with this flag? 
</span><br><span style="color: rgb(51, 51, 255);"><font color="#000000"><span style="color: rgb(51, 51, 255);">
<br><br><span style="color: rgb(0, 0, 0);">Thanks,</span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(51, 0, 0);"><span style="color: rgb(0, 0, 0);">Krishna Chaitanya K,</span><br style="color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0);">National Institute of Technology,Karnataka,Surathkal (NITK) </span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">India </span><br></span></span><br>&nbsp;&nbsp; <br></font></span>
<br><div class="gmail_quote">On Jan 10, 2008 12:06 PM, Dave Goodell &lt;<a href="mailto:goodell@mcs.anl.gov" target="_blank">goodell@mcs.anl.gov</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi Krishna,<br><br>On my linux box, errno 98 means &quot;Address already in use&quot;. &nbsp;I think<br>that the default port for smpd is 8676, so you might try looking for<br>something else that is already bound to that port:
<br><br>% netstat -an | grep 8676<br><font color="#888888"><br>-Dave<br></font><div><div></div><div><br>On Jan 10, 2008, at 4:36 AM, Krishna Chaitanya wrote:<br><br>&gt; Hi,<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I am trying to launch mpiexec on a single node and I ran
<br>&gt; the configure script with the &quot; --with-pm=smpd&quot; and the smpd file<br>&gt; was installed in the bin subdir. However, when i try to launch the<br>&gt; smp daemon, I get the following :<br>&gt;<br>&gt; ./smpd -s
<br>&gt; Please specify an authentication passphrase for this smpd:<br>&gt; Would you like to save this passphrase in &#39;/home/kc/.smpd&#39;? yes<br>&gt; [00:2915]..ERROR:MPIDU_Sock_listen failed,<br>&gt; sock error: generic socket failure, error stack:
<br>&gt; MPIDU_Sock_listen(369): unable to bind socket to port<br>&gt; (port=135207912,errno=98:(strerror() not found))<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;It would be of help if someone could let me know how to<br>&gt; troubleshoot this.
<br>&gt;<br>&gt; Thanks,<br>&gt; Krishna Chaitanya K<br>&gt; --<br>&gt; In the middle of difficulty, lies opportunity<br><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>In the middle of difficulty, lies opportunity