<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">OK, I will try shm.&nbsp; WIll keep you posted.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">tan</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR>&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Darius Buntinas &lt;buntinas@mcs.anl.gov&gt;<BR>To: chong tan &lt;chong_guan_tan@yahoo.com&gt;<BR>Cc: mpich-discuss@mcs.anl.gov<BR>Sent: Tuesday, April 24, 2007 11:57:37 AM<BR>Subject: Re: [MPICH] MPICH 1.0.5 build error on SUN NIAGARA<BR><BR>
<DIV>Nemesis doesn't support SUN yet.&nbsp;&nbsp;Some atomic operations need to be <BR>written in assembly specifically for each architecture.&nbsp;&nbsp;This is on our <BR>list to do.<BR><BR>-d<BR><BR>chong tan wrote:<BR>&gt; I reported an MPICH build error on Niagara a while back, but could not <BR>&gt; work to find a fix and I have<BR>&gt; to return the loaner.<BR>&gt;&nbsp;&nbsp;<BR>&gt; I got yet another SUN Niagara loaner.&nbsp;&nbsp;MIPCH configure as :<BR>&gt; ./configure -prefix=/u/cgtan/my_release_dir__niagara <BR>&gt; --with-device=ch3:nemesis&nbsp;&nbsp;--enable-t<BR>&gt; hreads=funneled --enable-fast |&amp; tee configure.log<BR>&gt;&nbsp;&nbsp;<BR>&gt; the build produces the following error:<BR>&gt;&nbsp;&nbsp;<BR>&gt; make[7]: Entering directory <BR>&gt; `/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/src'<BR>&gt; gcc -DHAVE_CONFIG_H -I. <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/src <BR>&gt; -I. -I../include
 <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/ch3/channels/nemesis/nemesis/include <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/include <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/include -m32 -O2 <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/include <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/include <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/common/datatype <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/common/datatype <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/include <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/include <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/include <BR>&gt; -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor <BR>&gt; -c mpid_nem_alloc.c<BR>&gt; In file included from ../include/mpid_nem_impl.h:13,<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from
 mpid_nem_alloc.c:7:<BR>&gt; ../include/mpid_nem_atomics.h:32:2: #error No swap function defined for <BR>&gt; this architecture<BR>&gt; ../include/mpid_nem_atomics.h:62:2: #error No compare-and-swap function <BR>&gt; defined for this architecture<BR>&gt; ../include/mpid_nem_atomics.h:108:2: #error No compare-and-swap function <BR>&gt; defined for this architecture<BR>&gt; In file included from ../include/mpid_nem_impl.h:13,<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from mpid_nem_alloc.c:7:<BR>&gt; ../include/mpid_nem_atomics.h: In function `MPID_NEM_FETCH_AND_ADD':<BR>&gt; ../include/mpid_nem_atomics.h:153: error: syntax error before '}' token<BR>&gt; ../include/mpid_nem_atomics.h:174:2: #error No fetch-and-add function <BR>&gt; defined for this architecture<BR>&gt; ../include/mpid_nem_atomics.h:225:2: #error No fetch-and-add function <BR>&gt; defined for this architecture<BR>&gt;
 ../include/mpid_nem_atomics.h:248:2: #error No fetch-and-add function <BR>&gt; defined for this architecture<BR>&gt;&nbsp;&nbsp;<BR>&gt; Any suggestion ?&nbsp;&nbsp;Does MPICH 105 work on SUN Niagara ?&nbsp;&nbsp;could that be a <BR>&gt; problem with nemesis ?<BR>&gt;&nbsp;&nbsp;<BR>&gt; thanks<BR>&gt;&nbsp;&nbsp;<BR>&gt; tan<BR>&gt;&nbsp;&nbsp;<BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; Ahhh...imagining that irresistible "new car" smell?<BR>&gt; Check out new cars at Yahoo! Autos. <BR>&gt; &lt;<A href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM" target=_blank>http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM</A>-&gt; <BR>&gt;</DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>



      <hr size=1>Ahhh...imagining that irresistible "new car" smell?<br> Check out
<a href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-">new cars at Yahoo! Autos.</a>
</body></html>