<div>yes.&nbsp; </div>  <div>&nbsp;</div>  <div>tan</div>  <div><BR><BR><B><I>Rajeev Thakur &lt;thakur@mcs.anl.gov&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">With the --enable-fast build, do the tests in the MPICH2 test directory<BR>compile?<BR><BR>Rajeev<BR><BR><BR>&gt; -----Original Message-----<BR>&gt; From: owner-mpich-discuss@mcs.anl.gov <BR>&gt; [mailto:owner-mpich-discuss@mcs.anl.gov] On Behalf Of chong tan<BR>&gt; Sent: Wednesday, August 16, 2006 7:22 PM<BR>&gt; To: mpich-discuss@mcs.anl.gov<BR>&gt; Subject: [MPICH] mpich2 1.0.3, 32 bits build problem on <BR>&gt; Redhat ES4, amd64<BR>&gt; <BR>&gt; using gcc 4.0.2. The 64bits build works fine.<BR>&gt; <BR>&gt; I am using 2 csh files to do the build, first is a<BR>&gt; debug build, which works OK :<BR>&gt; <BR>&gt; -----<BR>&gt; #!/bin/csh -f<BR>&gt; setenv CFLAGS "-g -m32"<BR>&gt; setenv CC gcc<BR>&gt; setenv CXX g++<BR>&gt; setenv
 CXXFLAGS "-g -m32"<BR>&gt; ./configure -prefix=/usr/local/mpich --enable-cxx<BR>&gt; --disable-f77 --disable-f90<BR>&gt; make<BR>&gt; make install<BR>&gt; ------<BR>&gt; <BR>&gt; The second, which is the optimized , with no checking:<BR>&gt; ---------<BR>&gt; #!/bin/csh -f<BR>&gt; setenv CFLAGS "-O2 -m32"<BR>&gt; setenv CC gcc<BR>&gt; setenv CXX g++<BR>&gt; setenv CXXFLAGS "-O2 -m32"<BR>&gt; ./configure -prefix=/usr/local/mpich_opt --enable-fast<BR>&gt; --enable-cxx --disable-f77 --disabl<BR>&gt; e-f90<BR>&gt; make<BR>&gt; make install<BR>&gt; --------<BR>&gt; <BR>&gt; when the library is, libmpichcxx.a, is linked with an<BR>&gt; 32 bit application (co,piled -m32), the one built with<BR>&gt; '--enable-fast' causes :<BR>&gt; <BR>&gt; -/usr/bin/ld: skipping incompatible<BR>&gt; /usr/local/mpich_opt/lib/libmpichcxx.a when searching<BR>&gt; f<BR>&gt; or -lmpichcxx<BR>&gt; /usr/bin/ld: cannot find -lmpichcxx<BR>&gt; collect2: ld returned 1 exit status<BR>&gt; <BR>&gt;
 appearantly the library is built 64bit even with<BR>&gt; "-m32". <BR>&gt; the difference between the 2 scripts are '-g' and<BR>&gt; '-O2', and this '--enable-fast'. <BR>&gt; <BR>&gt; Any suggestion ?<BR>&gt; <BR>&gt; thanks<BR>&gt; <BR>&gt; tan<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; __________________________________________________<BR>&gt; Do You Yahoo!?<BR>&gt; Tired of spam? Yahoo! Mail has the best spam protection around <BR>&gt; http://mail.yahoo.com <BR>&gt; <BR>&gt; <BR><BR></BLOCKQUOTE><BR><p>&#32;
                <hr size=1>Get your email and more, right on the <a href="http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview"> new Yahoo.com</a>