[MPICH] libmpich.a incompatible

Anthony Chan chan at mcs.anl.gov
Thu Oct 11 13:30:19 CDT 2007


What is the command you used to compile pi3f90.f90 ?

On Thu, 11 Oct 2007, Venkattraman A wrote:

> Hi,
>
>    I was trying to compile the example programmes(the f90 file pi3f90.f90)
> in mpich2-1.0.6 and I got an error message
>
> ld: skipping incompatible /home/xguo/Desktop/mpich2-1.0.6/lib/libmpich.a
> when searching for -lmpich
> ld: skipping incompatible /usr/local/lib/libmpich.a when searching for
> -lmpich
> ld: cannot find -lmpich
> However the corresponding example in cxx works fine. I got the same problem
> with the earlier versions also(2-1.0.5 and 2-1.0.4). I work with Mandriva
> Linux and the processor is a 64 bit AMD.
>
> Any suggestions?
>
> -- 
> Venkattraman
>




More information about the mpich-discuss mailing list