Thank You this was helpful. I was able to fix the problem using option 3, mentioned below. <br><br><div class="gmail_quote">On Mon, Mar 5, 2012 at 12:43 PM, Anthony Chan <span dir="ltr"><<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
>From your c.txt:<br>
<br>
configure: error: **** Incompatible Fortran and C Object File Types! ****<br>
F77 Object File Type produced by "ifort " is : : ELF 32-bit LSB relocatable, Intel 80386, version 1 (GNU/Linux), not stripped.<br>
C Object File Type produced by "gcc -O2" is : : ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped.<br>
<br>
The error says that your Intel Fortran compiler ifort and GNU C compiler gcc generate incompatible binary format, one is 32-bit and the other is 64bits. There are multiple ways to resolve this issue, it depends on what you<br>
have and what you need.<br>
<br>
1) If you don't need Fortran binding support, you could disable it<br>
by adding configure options: "--disable-f77 --disable-fc".<br>
2) If you do need Fortran support, you have the complete intel compiler suite,<br>
you could configure mpich2 with "CC=icc CXX=icpc F77=ifort FC=ifort" as part of configure command.<br>
3) If you prefer to use GNU compiler suite, you could do "CC=gcc CXX=g++ F77=gfortran FC=gfortran".<br>
4) If you are OK with mixing GNU C/C++ with Intel Fortran compilers, then you could simply use<br>
configure options "FFLAGS=-m64 FCFLAGS=-m64"<br>
5) Since you have a 64bit machine, ifort should generate 64bit binary by default. May be you could<br>
reconfigure ifort to generate 64bit object without -m64 (not sure if this is possible in your setup).<br>
<br>
A.Chan<br>
<div><div class="h5"><br>
----- Original Message -----<br>
> Hello,<br>
><br>
> I am trying to install MPICH2 Release 1.4.1p1 on my personal laptop<br>
> workstation (Dell Precision M4500). In the CONFIGURE step 1.(d) I<br>
> received<br>
> the attached c.txt file. Can you please help me understand the error<br>
> at<br>
> the bottom of the file?<br>
><br>
> Thank you,<br>
><br>
> Saumil<br>
><br>
</div></div>> _______________________________________________<br>
> mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
_______________________________________________<br>
mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</blockquote></div><br>