Ticket #684: part0001.4.html

File part0001.4.html, 1.8 KB (added by Alexej Mazheika, 5 months ago)

Added by email2trac

Line 
1<div><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
2 You did all wrong.  You forgot your CC/CXX/F77/F90 variable in<br>  your command.  Do<br><br>  bash: export CC=&quot;gcc -m32&quot;<br>  tcsh: setenv CC &quot;gcc -m32&quot;<br><br>  for all CC/CXX/F77/F90 before configure.  Or you can set these<br>
3  variables as part of your configure command,<br>  e.g. configure CC=&quot;gcc -m32&quot; CXX=&quot;g++ -m32&quot; ..... --prefix=...<br>  Make sure your 64bit OS has 32-bit libraries installed, check<br>  with your system admin.<br>
4<br>  A.Chan<br></blockquote></div><br>Thank you for your detailed letter. I  did everything like you had recommended. If I set under 64-bit OS &gt;export CC=&quot;gcc -m64&quot; (the same for CXX/F77/F90) it configured without any problems. But if I set &gt;export CC=&quot;gcc -m32&quot; it wrote by configuration:<br>
5  &quot;checking for gcc... -m32<br> checking for C compiler default output file name...<br>   configure: error: C compiler cannot create executables<br>   See `config.log&#39; for more details.&quot;<br>So it didn&#39;t create 32-bit binaries on a 64-bit OS.  <br>
6Under 32-bit OS it was quite the contrary: if I set -m32 it was OK; if I set -m64 - configure error.<br>By such compilation the velosity of my multiprocess calculations  with mpich2 was as usual quicklier under 32-bit OS than under 64-bit one. The same process needs 11 min under 32-bit and 12 min under 64-bit OS. So, I think, the reason doesn&#39;t lie in the procedure of configuration  before installation of mpich2. Without set of -m32 or -m64 the results of installation of mpich2 were the same.<br>
7 <br>Alex Mazheika<br>