<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. WIll keep you posted.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </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> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Darius Buntinas <buntinas@mcs.anl.gov><BR>To: chong tan <chong_guan_tan@yahoo.com><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. Some atomic operations need to be <BR>written in assembly specifically for each architecture. This is on our <BR>list to do.<BR><BR>-d<BR><BR>chong tan wrote:<BR>> I reported an MPICH build error on Niagara a while back, but could not <BR>> work to find a fix and I have<BR>> to return the loaner.<BR>> <BR>> I got yet another SUN Niagara loaner. MIPCH configure as :<BR>> ./configure -prefix=/u/cgtan/my_release_dir__niagara <BR>> --with-device=ch3:nemesis --enable-t<BR>> hreads=funneled --enable-fast |& tee configure.log<BR>> <BR>> the build produces the following error:<BR>> <BR>> make[7]: Entering directory <BR>> `/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/src'<BR>> gcc -DHAVE_CONFIG_H -I. <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/src <BR>> -I. -I../include
<BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/ch3/channels/nemesis/nemesis/include <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/include <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/include -m32 -O2 <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/include <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/include <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/common/datatype <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/common/datatype <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/include <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/include <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/include <BR>> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor <BR>> -c mpid_nem_alloc.c<BR>> In file included from ../include/mpid_nem_impl.h:13,<BR>> from
mpid_nem_alloc.c:7:<BR>> ../include/mpid_nem_atomics.h:32:2: #error No swap function defined for <BR>> this architecture<BR>> ../include/mpid_nem_atomics.h:62:2: #error No compare-and-swap function <BR>> defined for this architecture<BR>> ../include/mpid_nem_atomics.h:108:2: #error No compare-and-swap function <BR>> defined for this architecture<BR>> In file included from ../include/mpid_nem_impl.h:13,<BR>> from mpid_nem_alloc.c:7:<BR>> ../include/mpid_nem_atomics.h: In function `MPID_NEM_FETCH_AND_ADD':<BR>> ../include/mpid_nem_atomics.h:153: error: syntax error before '}' token<BR>> ../include/mpid_nem_atomics.h:174:2: #error No fetch-and-add function <BR>> defined for this architecture<BR>> ../include/mpid_nem_atomics.h:225:2: #error No fetch-and-add function <BR>> defined for this architecture<BR>>
../include/mpid_nem_atomics.h:248:2: #error No fetch-and-add function <BR>> defined for this architecture<BR>> <BR>> Any suggestion ? Does MPICH 105 work on SUN Niagara ? could that be a <BR>> problem with nemesis ?<BR>> <BR>> thanks<BR>> <BR>> tan<BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> Ahhh...imagining that irresistible "new car" smell?<BR>> Check out new cars at Yahoo! Autos. <BR>> <<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>-> <BR>></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>