<html>Hi Dave, NOW WORK!!! THANKS, THANKS, THANKS!!! you're the guy! Thanks again!<br><div><font face="Verdana" size="2" color="#0000ff"></font>&nbsp;</div>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> Dave Goodell [mailto:goodell@mcs.anl.gov]<br><b>Sent:</b> Tuesday, November 8, 2011 05:15 PM<br><b>To:</b> mpich-discuss@mcs.anl.gov<br><b>Subject:</b> Re: [mpich-discuss] Build in Solaris 10 x86 HELP...<br><br></font>There should be no assembly language programming, just a small tweak to a C preprocessor directive.  You just need to take the line that currently says:

----8&lt;----
#if defined(HAVE_GCC_AND_PENTIUM_ASM)
----8&lt;----

and change it to say:

----8&lt;----
#if 0
----8&lt;----

instead.  This should be line 12 of "src/mpid/ch3/channels/nemesis/nemesis/include/mpid_nem_memdefs.h".

Then re-running make should work.

-Dave

On Nov 8, 2011, at 4:12 PM CST, renato@dokfile.com wrote:

&gt; Hi Dave,
&gt; 
&gt; The second option is not for me, I cant upgrade it.
&gt; 
&gt; &gt; A heavier weight option would be to upgrade your GCC and assembler packages so that the fancier assembly code is understood correctly. I personally wouldn't bother with this, but it should work.
&gt; 
&gt; I am not an advanced Guy on Assembly. I will try.
&gt; 
&gt; &gt; In the short run, you should be able to get unstuck by editing 12 of that file to read "#if 0" instead. If the relevant section of the configure.in file was written correctly then there would be other easy ways to get around this, but unfortunately it appears to be buggy.
&gt; 
&gt; Can you giveme more detail, that show how I do this... 
&gt; 
&gt; Thanks
&gt; -----Original Message-----
&gt; From: Dave Goodell [mailto:goodell@mcs.anl.gov]
&gt; Sent: Tuesday, November 8, 2011 02:08 PM
&gt; To: mpich-discuss@mcs.anl.gov
&gt; Subject: Re: [mpich-discuss] Build in Solaris 10 x86 HELP...
&gt; 
&gt; for the archives: http://trac.mcs.anl.gov/projects/mpich2/ticket/1545 On Nov 8, 2011, at 1:03 PM CST, Dave Goodell wrote: &gt; It looks like the assembler on your machine doesn't like some of the enhanced memcpy code that we've written into nemesis. This appears to be a Solaris on x86 machine, and the configure script decides that x86 assembly is supported by the assembler by using a small test program. Unfortunately, the assembler does not support a more complicated hunk of inline assembly listed here: &gt; &gt; http://trac.mcs.anl.gov/projects/mpich2/browser/mpich2/tags/release/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/nemesis/include/mpid_nem_memdefs.h &gt; &gt; In the short run, you should be able to get unstuck by editing 12 of that file to read "#if 0" instead. If the relevant section of the configure.in file was written correctly then there would be other easy ways to get around this, but unfortunately it appears to be buggy. &gt; &gt; A heavier weight option would be to upgrade your GCC and assembler packages so that the fancier assembly code is understood correctly. I personally wouldn't bother with this, but it should work. &gt; &gt; In the long run we should probably make the configure test more robust, and also add a "--disable-asm-memcpy" option or similar so that no code editing is required. I'll add a ticket for this in trac. &gt; &gt; -Dave &gt; &gt; On Nov 8, 2011, at 11:57 AM CST, renato@dokfile.com wrote: &gt; &gt;&gt; Hi All, &gt;&gt; &gt;&gt; I am tring build MPICH2 in Solaris 10, and I dont have success. &gt;&gt; &gt;&gt; Fist I have problems in configuration, now I put it to work, but now I have problems in build. &gt;&gt; &gt;&gt; Whell, this is what I did -&gt; &gt;&gt; &gt;&gt; ./configure CC=gcc CXX=g++ --disable-f77 --disable-fc --prefix=/MPICH/mpich2-install/ 2&gt;&amp;1 | tee c.txt &gt;&gt; &gt;&gt; The result is OK, see -&gt; &gt;&gt; &gt;&gt; .. &gt;&gt; Configuration completed. &gt;&gt; -bash-3.00# &gt;&gt; &gt;&gt; Then, I did make -&gt; &gt;&gt; &gt;&gt; make 2&gt;&amp;1 | tee m.txt &gt;&gt; &gt;&gt; Assembler: dataloop.c &gt;&gt; "/var/tmp//ccuee48e.s", line 493 : Syntax error &gt;&gt; Near line: "mov $PREFETCHBLOCK/16, %eax" &gt;&gt; "/var/tmp//ccuee48e.s", line 501 : Syntax error &gt;&gt; Near line: "mov $PREFETCHBLOCK/8, %eax" &gt;&gt; make[5]: ** [dataloop.o] Erro 1 &gt;&gt; make[5]: Saindo do diretório `/MPICH/Source/mpich2-1.4.1p1/src/mpid/common/datatype/dataloop' &gt;&gt; make[4]: ** [all-redirect] Erro 2 &gt;&gt; make[4]: Saindo do diretório `/MPICH/Source/mpich2-1.4.1p1/src/mpid/common/datatype' &gt;&gt; make[3]: ** [all-redirect] Erro 2 &gt;&gt; make[3]: Saindo do diretório `/MPICH/Source/mpich2-1.4.1p1/src/mpid/common' &gt;&gt; make[2]: ** [all-redirect] Erro 2 &gt;&gt; make[2]: Saindo do diretório `/MPICH/Source/mpich2-1.4.1p1/src/mpid' &gt;&gt; make[1]: ** [all-redirect] Erro 2 &gt;&gt; make[1]: Saindo do diretório `/MPICH/Source/mpich2-1.4.1p1/src' &gt;&gt; make: ** [all-redirect] Erro 2 &gt;&gt; -bash-3.00# &gt;&gt; &gt;&gt; And error. &gt;&gt; &gt;&gt; What is wrong..? &gt;&gt; &gt;&gt; Thank you... &gt;&gt; &gt;&gt; &gt;&gt; _______________________________________________ &gt;&gt; mpich-discuss mailing list mpich-discuss@mcs.anl.gov &gt;&gt; To manage subscription options or unsubscribe: &gt;&gt; https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss &gt; &gt; _______________________________________________ &gt; mpich-discuss mailing list mpich-discuss@mcs.anl.gov &gt; To manage subscription options or unsubscribe: &gt; https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss _______________________________________________ mpich-discuss mailing list mpich-discuss@mcs.anl.gov To manage subscription options or unsubscribe: https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
&gt; _______________________________________________
&gt; mpich-discuss mailing list     mpich-discuss@mcs.anl.gov
&gt; To manage subscription options or unsubscribe:
&gt; https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

_______________________________________________
mpich-discuss mailing list     mpich-discuss@mcs.anl.gov
To manage subscription options or unsubscribe:
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
</blockquote></html>