Dear All,<br><br>How can I pass the -m32 (gcc) option to mpicxx to build 32-bit applications on my 64-bit machine? I suppose I could have to separate installations of mpich2, but I'd like to be able to use the same installation. This is the error I get now if I try to use -m32:<br>
<br>$ mpicxx -m32 hello.cpp<br>/usr/bin/ld: skipping incompatible /usr/local/mpich2-1.0.5p4-ssm/lib/libmpichcxx.a when searching for -lmpichcxx<br>/usr/bin/ld: cannot find -lmpichcxx<br>collect2: ld returned 1 exit status<br>
<br>Thanks,<br><br>Kevin<br clear="all"><br>