[petsc-users] Unexpected error in compile

Matthew Knepley knepley at gmail.com
Tue Dec 29 07:08:11 CST 2009


It looks like your MPI installation was not built with Fortran bindings. Was
it?
If not, you can always using --download-mpich.

  Matt

On Tue, Dec 29, 2009 at 5:10 AM, Toby D. Young <tyoung at ippt.gov.pl> wrote:

>
>
> Hello,
>
> Possibly this is an easy problem to solve, but he has me stumped.
>
> Working on an ubuntu cluster, with petsc-3.0.0-p10 I get this error:
> mpif90 -c  -fPIC -Wall -Wno-unused-variable -O
> -I/home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx/include
> -I/home/tyoung/research.code/petsc-3.0.0-p10/include -I/usr/bin/include
> -o somefort.o somefort.F
> In file included from somefort.F:11:
> ../../../include/finclude/petsc.h:10: error: mpif.h: No such file or
> directory
> make[7]: [somefort.o] Error 1 (ignored)
> /usr/bin/ar cr
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx/lib/libpetsc.a
> somefort.o
> /usr/bin/ar: somefort.o: No such file or directory
> make[7]: [libf] Error 1 (ignored)
>
> I use the following configure sequence:
> ./config/configure.py --with-mpi=1 --with-shared=1 --with-clanguage=C++
> --with-mpi-dir=/usr/bin --with-x=0 --with-debugging=0
>
> Any ideas what I am missing? I guess a part of the UNIX base system(?)
> I've never seen this error message...   :-(
>
> Thanks in advance for any pushes.
>
> Best,
>        Toby
>
> -----
>
> Toby D. Young
> Assistant Professor
> Philosophy-Physics
> Polish Academy of Sciences
> Warszawa, Polska
>
> www:   http://www.ippt.gov.pl/~tyoung <http://www.ippt.gov.pl/%7Etyoung>
> skype: stenografia
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091229/986cf0e6/attachment.htm>


More information about the petsc-users mailing list