[petsc-users] Unexpected error in compile
Toby D. Young
tyoung at ippt.gov.pl
Tue Dec 29 05:10:23 CST 2009
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
skype: stenografia
More information about the petsc-users
mailing list