[MPICH] MPICH 1.0.5 build error on SUN NIAGARA

chong tan chong_guan_tan at yahoo.com
Tue Apr 24 13:49:43 CDT 2007


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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070424/b44d6056/attachment.htm>


More information about the mpich-discuss mailing list