yacob sen wrote:
> Dear All,
>
> I have installed recently mpich in my linux ubuntu 7.10. I tried to compile my FORTRAN program
> using the following command:
>
> mpif90 add.f90 -o add
>
> However I did get the following error message:
>
> /usr/bin/ld: cannot find -lmpi
> collect2: ld returned 1 exit status
>
> I did also try to compile :
>
> mpif90 add.f90 -pthread -I/usr/lib add.f90 -pthread -I/usr/lib -lmpi_f90 -lmpi -lorte -lopal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl -o add
>
>
This list doesn't support mpich, but it does appear you have an
installation problem. You can't install mpich and lam in the same
directories.
|