[MPICH] Problem compiling programs with intel f90 on intel xeon 64

Rajeev Thakur thakur at mcs.anl.gov
Wed Jan 31 13:14:57 CST 2007


It sounds like a 32-bit object file is being linked with 64-bit library or
vice-versa. You need to build MPICH2 with the same compiler options as your
application program. You can do so by setting the environment variables
CFLAGS, FFLAGS, and F90FLAGS before running configure. 

Rajeev 

> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov 
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of williams at ufpa.br
> Sent: Wednesday, January 31, 2007 12:01 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: [MPICH] Problem compiling programs with intel f90 on 
> intel xeon 64
> 
> Hi friends,
> I got the following error when trying to compile a program
> with mpich2 and intel fortran compiler.
> 
> ----begin make output----
> 
> ld: skipping incompatible /usr/local/mpich2/lib/libmpich.a 
> when searching for
> -lmpich
> ld: skipping incompatible /usr/local/mpich2/lib/libmpich.a 
> when searching for
> -lmpich
> ld: cannot find -lmpich
> 
> 
> ----End make output----
> 
> System:
>   Intel Xeon dual core (64bit)
>   mpich2 1.0.5
>   Intel Fortran Compiler version: 9.1.036
> 
> Could anybody help me with it!!?
> 
> Very thanks.
> 
> 
> -----------------------------------------------------------
> Esta mensagem foi enviada atraves da pagina Correio.UFPA.BR
> 
> 
> 




More information about the mpich-discuss mailing list