Hi all,

I am suffering from installing PETSC the last few days. Before PETSC 
was installed, libmesh examples runs well except for those need PETSC; 
when PETSC was installed, configure libmesh again, it said compilation 
failed,  none of the example could run any more.

For installing PETSC, I have tried the following commands:
1.  ./config/configure.py --download-c-blas-lapack=1 --download-mpich=1
2.  ./config/configure.py --download-c-blas-lapack=1 --with-mpi=0

the result of "./configure" is below,  could you help me out? Many thanks.

---------------------------------------------
----------- Configuring libMesh -------------
---------------------------------------------
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
<<< C++ compiler is gcc-4.1 >>>
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for short int... yes
checking size of short int... 2
checking for int... yes
checking size of int... 4
checking for long int... yes
checking size of long int... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for void *... yes
checking size of void *... 8
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking csignal usability... yes
checking csignal presence... yes
checking for csignal... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has locale... yes
checking whether the compiler has stringstream... yes
checking hash_map usability... no
checking hash_map presence... no
checking for hash_map... no
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
checking hash_set usability... no
checking hash_set presence... no
checking for hash_set... no
checking ext/hash_set usability... yes
checking ext/hash_set presence... yes
checking for ext/hash_set... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether the compiler supports GCC C++ ABI name demangling... yes
checking whether the c++ compiler supports glibc backtrace... yes
<<< Configuring library with AMR support >>>
<<< Configuring library with periodic BC support >>>
<<< Configuring library with higher order p-FEM shapes >>>
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for xdrstdio_create... yes
<<< Configuring library with XDR support >>>
<<< Configuring library with real number support >>>
<<< Configuring library with reference counting support >>>
<<< Configuring library with Netcdf support >>>
<<< Configuring library with Exodus API support >>>
---------------------------------------------
----- Configuring for optional packages -----
---------------------------------------------
checking for /home/pgrad1/yzhu/soft/petsc-2.3.3-p8/include/petsc.h... yes
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking how to get verbose linking output from ... checking for 
Fortran libraries of ... <<< Configuring library with PETSc version 
2.3.3 support >>>
checking for ./contrib/laspack/lastypes.h... yes
<<< Configuring library with LASPACK version 1.12.3 support >>>
checking for ./contrib/sfcurves/sfcurves.h... yes
<<< Configuring library with SFC support >>>
checking for ./contrib/gzstream/gzstream.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
<<< Configuring library with gzstreams support >>>
checking for ./contrib/tecplot/lib/x86_64-unknown-linux-gnu/tecio.a... yes
checking for ./contrib/tecplot/include/TECIO.h... yes
<<< Configuring library with Tecplot API support >>>
checking for ./contrib/metis/Lib/metis.h... yes
<<< Configuring library with Metis support >>>
checking for ./contrib/parmetis/Lib/parmetis.h... yes
<<< Configuring library with ParMetis support >>>
checking for doxygen... /usr/bin/doxygen
checking for dot... /usr/bin/dot
<<< Configuring library with TetGen support >>>
<<< Configuring library with Triangle support >>>
<<< Configuring library with GMV support >>>
checking /usr/include/vtk/vtkCommonInstantiator.h usability... no
checking /usr/include/vtk/vtkCommonInstantiator.h presence... no
checking for /usr/include/vtk/vtkCommonInstantiator.h... no
VTK header files not found!
----------------------------------------------
--- Done configuring for optional packages ---
----------------------------------------------
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Make.common
config.status: creating doc/Doxyfile
config.status: creating contrib/bin/libmesh-config
config.status: creating contrib/bin/xda2mgf
config.status: creating contrib/bin/create_libmesh_release
config.status: creating doc/dot
config.status: creating include/base/libmesh_contrib_config.h
config.status: creating include/base/libmesh_config.h
---------------------------------------------
--------- Done Configuring libMesh ----------
---------------------------------------------

yunfei


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to