<div>yes. </div> <div> </div> <div>tan</div> <div><BR><BR><B><I>Rajeev Thakur <thakur@mcs.anl.gov></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>> -----Original Message-----<BR>> From: owner-mpich-discuss@mcs.anl.gov <BR>> [mailto:owner-mpich-discuss@mcs.anl.gov] On Behalf Of chong tan<BR>> Sent: Wednesday, August 16, 2006 7:22 PM<BR>> To: mpich-discuss@mcs.anl.gov<BR>> Subject: [MPICH] mpich2 1.0.3, 32 bits build problem on <BR>> Redhat ES4, amd64<BR>> <BR>> using gcc 4.0.2. The 64bits build works fine.<BR>> <BR>> I am using 2 csh files to do the build, first is a<BR>> debug build, which works OK :<BR>> <BR>> -----<BR>> #!/bin/csh -f<BR>> setenv CFLAGS "-g -m32"<BR>> setenv CC gcc<BR>> setenv CXX g++<BR>> setenv
CXXFLAGS "-g -m32"<BR>> ./configure -prefix=/usr/local/mpich --enable-cxx<BR>> --disable-f77 --disable-f90<BR>> make<BR>> make install<BR>> ------<BR>> <BR>> The second, which is the optimized , with no checking:<BR>> ---------<BR>> #!/bin/csh -f<BR>> setenv CFLAGS "-O2 -m32"<BR>> setenv CC gcc<BR>> setenv CXX g++<BR>> setenv CXXFLAGS "-O2 -m32"<BR>> ./configure -prefix=/usr/local/mpich_opt --enable-fast<BR>> --enable-cxx --disable-f77 --disabl<BR>> e-f90<BR>> make<BR>> make install<BR>> --------<BR>> <BR>> when the library is, libmpichcxx.a, is linked with an<BR>> 32 bit application (co,piled -m32), the one built with<BR>> '--enable-fast' causes :<BR>> <BR>> -/usr/bin/ld: skipping incompatible<BR>> /usr/local/mpich_opt/lib/libmpichcxx.a when searching<BR>> f<BR>> or -lmpichcxx<BR>> /usr/bin/ld: cannot find -lmpichcxx<BR>> collect2: ld returned 1 exit status<BR>> <BR>>
appearantly the library is built 64bit even with<BR>> "-m32". <BR>> the difference between the 2 scripts are '-g' and<BR>> '-O2', and this '--enable-fast'. <BR>> <BR>> Any suggestion ?<BR>> <BR>> thanks<BR>> <BR>> tan<BR>> <BR>> <BR>> <BR>> <BR>> __________________________________________________<BR>> Do You Yahoo!?<BR>> Tired of spam? Yahoo! Mail has the best spam protection around <BR>> http://mail.yahoo.com <BR>> <BR>> <BR><BR></BLOCKQUOTE><BR><p> 
                <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>