[MPICH] MPICH 1.0.5 build error on SUN NIAGARA

Darius Buntinas buntinas at mcs.anl.gov
Tue Apr 24 13:57:37 CDT 2007


Nemesis doesn't support SUN yet.  Some atomic operations need to be 
written in assembly specifically for each architecture.  This is on our 
list to do.

-d

chong tan wrote:
> I reported an MPICH build error on Niagara a while back, but could not 
> work to find a fix and I have
> to return the loaner.
>  
> I got yet another SUN Niagara loaner.  MIPCH configure as :
> ./configure -prefix=/u/cgtan/my_release_dir__niagara 
> --with-device=ch3:nemesis  --enable-t
> hreads=funneled --enable-fast |& tee configure.log
>  
> the build produces the following error:
>  
> make[7]: Entering directory 
> `/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/src'
> gcc -DHAVE_CONFIG_H -I. 
> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/src 
> -I. -I../include 
> -I/u/cgtan/tool/mpich2-1.0.5/src/ch3/channels/nemesis/nemesis/include 
> -I/u/cgtan/tool/mpich2-1.0.5/src/include 
> -I/u/cgtan/tool/mpich2-1.0.5/src/include -m32 -O2 
> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/include 
> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/include 
> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/common/datatype 
> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/common/datatype 
> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/include 
> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/include 
> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/include 
> -I/u/cgtan/tool/mpich2-1.0.5/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor 
> -c mpid_nem_alloc.c
> In file included from ../include/mpid_nem_impl.h:13,
>                  from mpid_nem_alloc.c:7:
> ../include/mpid_nem_atomics.h:32:2: #error No swap function defined for 
> this architecture
> ../include/mpid_nem_atomics.h:62:2: #error No compare-and-swap function 
> defined for this architecture
> ../include/mpid_nem_atomics.h:108:2: #error No compare-and-swap function 
> defined for this architecture
> In file included from ../include/mpid_nem_impl.h:13,
>                  from mpid_nem_alloc.c:7:
> ../include/mpid_nem_atomics.h: In function `MPID_NEM_FETCH_AND_ADD':
> ../include/mpid_nem_atomics.h:153: error: syntax error before '}' token
> ../include/mpid_nem_atomics.h:174:2: #error No fetch-and-add function 
> defined for this architecture
> ../include/mpid_nem_atomics.h:225:2: #error No fetch-and-add function 
> defined for this architecture
> ../include/mpid_nem_atomics.h:248:2: #error No fetch-and-add function 
> defined for this architecture
>  
> Any suggestion ?  Does MPICH 105 work on SUN Niagara ?  could that be a 
> problem with nemesis ?
>  
> thanks
>  
> tan
>  
> 
> ------------------------------------------------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos. 
> <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> 
> 




More information about the mpich-discuss mailing list