<div>Hi all:</div>
<div> </div>
<div>I use the following command to configure a x86 version mpich2 on a x86_64 Linux Box (Feroda Core 10 x86_64)</div>
<div> </div>
<div>./configure CFLAGS=&quot;-m32 -fPIC&quot; CXXFLAGS=&quot;-m32 -fPIC&quot; FFLAGS=&quot;-m32 -fPIC&quot; LDFLAGS=&quot;-m32&quot; --enable-sharedlibs=gcc --enable-mpe --with-pm=smpd --with-pmi-=smpd</div>
<div> </div>
<div>The configure step is OK.</div>
<div> </div>
<div>But when doing make, I get the following error...</div>
<div> </div>
<div>/usr/bin/ld: i386 architecture of input file `.tmp/ibsendf.o&#39; is incompatible with i386:x86-64 output<br>...</div>
<div> </div>
<div> </div>
<div>Does anyone know the way to build x86 version mpich2 on x64 Linux Box ?</div>
<div>Thanks.</div>
<div> </div>
<div>regards,</div>
<div>Seifer Lin</div>
<div> </div>
<div> </div>
<div><br> </div>