Compilation of dealii v.6.2.1 fails on my Intel dual core machine Linux
kernel v.2.6.29
The compilation error message is:
=====base=============debug========== data_out_base.cc
source/data_out_base.cc: In static member function 'static void
dealii::DataOutBase::write_tecplot_binary(const
std::vector<dealii::DataOutBase::Patch<dim, spacedim>,
std::allocator<dealii::DataOutBase::Patch<dim, spacedim> > >&, const
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&, const
std::vector<boost::tuples::tuple<unsigned int, unsigned int,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type>, std::allocator<boost::tuples::tuple<unsigned
int, unsigned int, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type> > >&, const
dealii::DataOutBase::TecplotFlags&, std::ostream&)':
source/data_out_base.cc:3476: error: 'patch' was not declared in this scope
make[1]: *** [/root/dir/deal.II/lib/base/data_out_base.g.o] Error 1
The configuration options were:
./configure --with-blas --with-lapack
See attachment for response.
Can anyone help?
Configuring deal.II version 6.2.1
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
---------------- configuring C/C++ compilers ----------------
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc... /usr/bin/gcc
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g++... /usr/bin/g++
C++ compiler is gcc4.3 (subversion gcc4.3.x)
checking if the compiler is built for MPI... no
checking whether compiler has a flag to support C++1x... yes
checking for std::array... yes
checking for std::condition_variable... no
checking for std::function and std::bind... yes
checking for std::bind works with rvalues... no
checking for std::shared_ptr... yes
checking for std::thread... no
checking for std::mutex... no
checking for std::tuple... yes
checking whether C++1x support is complete enough... no
checking whether qualifiers in return types lead to a warning... no
checking for std::advance warning... no
checking whether -ggdb works... yes
C compiler is gcc-4.3
checking whether compiler understands option -Wl,-rpath... yes
checking whether AssertThrow works with debug flags... yes
checking whether AssertThrow works with optimized flags... yes
checking for local computed template typedef bug... no
checking for partially specialized template access control bug... no
checking for template member operator instantiation bug... no
checking for 1st template friend in namespace bug... no
checking for 2nd template friend in namespace bug... no
checking for template specialization friend bug... no
checking for bug with implementing pure functions... yes. using workaround
checking for template template typedef bug... no
checking for address of template template function bug... no
checking for nested classes are implicit friends bug... no
checking for nested template class friends bug... yes. using workaround
checking for member variable specialization bug... no
checking for member array specialization bug... no
checking for template member function specialization bug... no
checking for long double optimization bug... no
checking for anonymous namespace and name mangling bug... no
checking for anonymous namespace and weak linkage bug... no
checking for bogus warning with anonymous namespaces... no
checking for SFINAE bug... no
checking for template operator disambiguation bug... no
checking for array assignment in conditional bug... no
checking for explicit template constructor bug... no
checking for warning bug with type qualifiers... yes
checking for problem with -Wsynth and std::complex... no
checking for problem with -Wctor-dtor-privacy... no
checking for __PRETTY_FUNCTION__... yes
checking for std::iterator class... yes
checking for std::i/ostringstream classes... yes
checking for std::numeric_limits classes... yes
checking for <ostream> header... yes
checking for <iosfwd> header... yes
checking for __builtin_expect... yes
checking for __verbose_terminate_handler... yes
checking for glibc-like stacktrace information... yes
checking whether compiler accepts -rdynamic... yes
checking for libstdc++ demangler... yes
checking for minimal std::vector<T> capacity... 1
checking for minimal std::vector<bool> capacity... 32
checking for exception specifications on abort()... yes
checking whether getrusage is properly declared... yes
checking whether isnan is declared with debug flags... yes
checking whether isnan is declared with optimized flags... yes
checking for std::isfinite... yes
checking for rand_r... no
checking for quad vs. quad_t define... no
checking for definitions of error codes in errno.h... yes
checking for gethostname... yes
checking for getpid... yes
checking how to run the C++ preprocessor... /usr/bin/g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/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 sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for bad socket functions/FPU interaction... no
checking boost/shared_ptr.hpp usability... yes
checking boost/shared_ptr.hpp presence... yes
checking for boost/shared_ptr.hpp... yes
checking boost/type_traits.hpp usability... yes
checking boost/type_traits.hpp presence... yes
checking for boost/type_traits.hpp... yes
checking boost/tuple/tuple.hpp usability... yes
checking boost/tuple/tuple.hpp presence... yes
checking for boost/tuple/tuple.hpp... yes
checking for boost::shared_ptr assignment operator= template buglet... no
----------------- configuring F77 compilers -----------------
checking for gfortran... /usr/bin/gfortran
F77 compiler is gcc-4.3
checking for e_wsfe in -lg2c... no
checking for _gfortran_allocate in -lgfortran... no
checking for _gfortran_st_write_done in -lgfortran... yes
-------------- configuring shared/static libs ---------------
checking whether compiler understands option -Wl,-soname... yes
checking whether compiler understands option -Wl,-dynamic,-install_name... no
checking for ar... ar
checking for ar... /usr/bin/ar
checking for ranlib... ranlib
checking for ranlib... /usr/bin/ranlib
---------------- configuring additional libs ----------------
checking for PETSc library directory... not found
checking for SLEPc include directory... not found
checking for Trilinos directory... not found
checking for Trilinos header directory... not found
checking for Trilinos library directory... not found
checking for daxpy_ in -lblas... yes
checking for HSL subroutines... none found
Adding FORTRAN libraries -lgfortran
checking for crc32 in -lz... yes
checking for /usr/local/tecplot/lib/tecio.a... yes
checking for /usr/local/tecplot/include/TECIO.h... yes
checking netcdfcpp.h usability... no
checking netcdfcpp.h presence... no
checking for netcdfcpp.h... no
checking for nc_open in -lnetcdf... no
checking for dgbsv_ in -llapack... yes
checking for daxpy_... yes
checking for daxpy_... (cached) yes
checking for saxpy_... yes
checking for dgemv_... yes
checking for sgemv_... yes
checking for dgeev_... no
checking for sgeev_... no
checking for dgeevx_... no
checking for sgeevx_... no
checking for dgesvd_... no
checking for sgesvd_... no
checking for dgemm_... yes
checking for sgemm_... yes
checking for dgetrf_... no
checking for sgetrf_... no
checking for dgetri_... yes
checking for sgetri_... yes
checking for dgetrs_... yes
checking for sgetrs_... yes
checking for dstev_... no
checking for sstev_... no
------------------ checking compiler flags ------------------
checking for CPU to optimize for... none given or not recognized
checking for consistency of CXXFLAGSG flags... yes
checking for consistency of CXXFLAGSO flags... yes
---------------- configuring other programs -----------------
checking for doxygen... /usr/bin/doxygen
checking doxygen version... 1.5.x or later
checking for dot... no
checking for perl... /usr/local/bin/perl
--------------------- generating output ---------------------
configure: creating ./config.status
config.status: creating common/Make.global_options
config.status: creating common/Makefile.template
config.status: creating common/scripts/make_dependencies.pl
config.status: creating Version
config.status: creating doc/Makefile
config.status: creating doc/doxygen/Makefile
config.status: creating doc/doxygen/options.dox
config.status: creating doc/doxygen/options.136
config.status: creating doc/doxygen/header.html
config.status: creating doc/doxygen/header.136
config.status: creating doc/doxygen/header.tex
config.status: creating common/template-arguments
config.status: creating base/include/base/config.h
=== configuring in contrib (/root/dir/deal.II/contrib)
configure: running /bin/sh ./configure '--prefix=/root/dir/deal.II'
'--with-blas' '--with-lapack' --cache-file=/dev/null --srcdir=.
---------------- configuring contrib subdir -----------------
configure: creating ./config.status
config.status: creating Makefile
=== configuring in utilities (/root/dir/deal.II/contrib/utilities)
configure: running /bin/sh ./configure '--prefix=/root/dir/deal.II'
'--with-blas' '--with-lapack' --cache-file=/dev/null --srcdir=.
configure: creating ./config.status
config.status: creating Makefile
-------------------------------------------------------------
The deal.II library is now configured. In order to
compile it and to generate the documentation, just
call 'make' without arguments for a list of options.
For more information, see the doc/readme.html file.
-------------------------------------------------------------
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii