<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008>I would recommend ch3:nemesis instead of ch3:ssm. It is
faster.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008>You can't mix 32 and 64-bit systems with
MPICH2.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008>The shared library error is coming from somewhere
outside MPICH2 since you haven't configured MPICH2 to use shared libraries. Try
compiling and running a simple C program.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008>Set CFLAGS to the value you want.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008>Rajeev</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=421531921-11012008></SPAN></FONT> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Krishna
Chaitanya<BR><B>Sent:</B> Thursday, January 10, 2008 2:48 PM<BR><B>To:</B>
Dave Goodell<BR><B>Cc:</B> mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> Re:
[MPICH] SMPD<BR></FONT><BR></DIV>
<DIV></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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 </BLOCKQUOTE></BODY></HTML>