Hi,<br> I am basically having one INTEL(32 bit) laptop and temporary access to another AMD(64 bit) machine and 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
<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. 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> <br> 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 '/usr/lib/libtsocks.so' 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 '/usr/lib/libtsocks.so' 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 '/usr/lib/libtsocks.so' from LD_PRELOAD cannot be preloaded: ignored.<br><br> <br><span style="color: rgb(0, 0, 0);">
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> <br></font></span>
<br><div class="gmail_quote">On Jan 10, 2008 12:06 PM, Dave Goodell <<a href="mailto:goodell@mcs.anl.gov" target="_blank">goodell@mcs.anl.gov</a>> 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 "Address already in use". 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>> Hi,<br>> I am trying to launch mpiexec on a single node and I ran
<br>> the configure script with the " --with-pm=smpd" and the smpd file<br>> was installed in the bin subdir. However, when i try to launch the<br>> smp daemon, I get the following :<br>><br>> ./smpd -s
<br>> Please specify an authentication passphrase for this smpd:<br>> Would you like to save this passphrase in '/home/kc/.smpd'? yes<br>> [00:2915]..ERROR:MPIDU_Sock_listen failed,<br>> sock error: generic socket failure, error stack:
<br>> MPIDU_Sock_listen(369): unable to bind socket to port<br>> (port=135207912,errno=98:(strerror() not found))<br>><br>> It would be of help if someone could let me know how to<br>> troubleshoot this.
<br>><br>> Thanks,<br>> Krishna Chaitanya K<br>> --<br>> 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