> rm -rf * && \
cmake \
-DDEAL_II_WITH_MPI:BOOL=ON \
-DDEAL_II_WITH_PETSC:BOOL=ON \
-DDEAL_II_WITH_TRILINOS:BOOL=ON \
-DDEAL_II_WITH_METIS:BOOL=ON \
-DDEAL_II_WITH_P4EST:BOOL=OFF \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/home/redclient04/Software/INSTALL \
.. 2>&1 | tee cmake.log && \
make -j20 2>&1 | tee make.log && \
make test 2>&1 | tee test.log
.
.
[ 32%] Building CXX object source/fe/CMakeFiles/obj_fe.debug.dir/fe.cc.o/home/redclient04/Software/dealii/source/distributed/tria.cc:302:9: error: ‘p4est_connectivity_join_faces’ was not declared in this scope = p4est_connectivity_join_faces; ^/home/redclient04/Software/dealii/source/distributed/tria.cc:677:9: error: ‘p8est_connectivity_join_faces’ was not declared in this scope = p8est_connectivity_join_faces; ^.
.
> ./p4est-setup-dealii.sh p4est-0.3.4.1.tar.gz /home/redclient04/Software/p4est/p4est-0.3.4.1
> export P4EST_DIR=/home/redclient04/Software/p4est/p4est-0.3.4.1/DEBUG
###
#
# deal.II configuration:
# CMAKE_BUILD_TYPE: DebugRelease
# BUILD_SHARED_LIBS: ON
# CMAKE_INSTALL_PREFIX: /home/redclient04/Software/INSTALL
# CMAKE_SOURCE_DIR: /home/redclient04/Software/dealii
# (version 8.4.2, shortrev 0752c81)
# CMAKE_BINARY_DIR: /home/redclient04/Software/dealii/build5
# CMAKE_CXX_COMPILER: GNU 4.8.5 on platform Linux x86_64
# /usr/bin/c++
#
# Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION = ON):
# ( DEAL_II_WITH_64BIT_INDICES = OFF )
# DEAL_II_WITH_ARPACK set up with external dependencies
# DEAL_II_WITH_BOOST set up with external dependencies
# DEAL_II_WITH_BZIP2 set up with external dependencies
# DEAL_II_WITH_CXX11 = ON
# ( DEAL_II_WITH_CXX14 = OFF )
# DEAL_II_WITH_HDF5 set up with external dependencies
# DEAL_II_WITH_LAPACK set up with external dependencies
# DEAL_II_WITH_METIS set up with external dependencies
# DEAL_II_WITH_MPI set up with external dependencies
# DEAL_II_WITH_MUPARSER set up with external dependencies
# DEAL_II_WITH_NETCDF set up with external dependencies
# ( DEAL_II_WITH_OPENCASCADE = OFF )
# DEAL_II_WITH_P4EST set up with external dependencies
# DEAL_II_WITH_PETSC set up with external dependencies
# ( DEAL_II_WITH_SLEPC = OFF )
# DEAL_II_WITH_THREADS set up with external dependencies
# DEAL_II_WITH_TRILINOS set up with external dependencies
# DEAL_II_WITH_UMFPACK set up with external dependencies
# DEAL_II_WITH_ZLIB set up with external dependencies
#
# Component configuration:
# ( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
# DEAL_II_COMPONENT_EXAMPLES
# ( DEAL_II_COMPONENT_PACKAGE = OFF )
# ( DEAL_II_COMPONENT_PARAMETER_GUI = OFF )
#
# Detailed information (compiler flags, feature configuration) can be found in detailed.log
#
# Run $ make info to print a help message with a list of top level targets
#
###
With only p4est enabled, and P4EST_DIR pointing to the DEBUG folder of version 0.3.4.1, I get the following errors associated with undeclared variables in scope. The rest of the output can be found in the attached make.log:
> ./p4est-setup-dealii.sh p4est-0.3.4.1.tar.gz /home/redclient04/Software/p4est/p4est-0.3.4.1
> export P4EST_DIR=/home/redclient04/Software/p4est/p4est-0.3.4.1/DEBUG
/home/redclient04/Software/p4est/p4est-0.3.4.1
Best,
Bruno
.
.
configure:3902: checking for C compiler versionconfigure:3911: mpicc --version >&5gcc (SUSE Linux) 6.2.1 20161121 [gcc-6-branch revision 242657]Copyright (C) 2016 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3922: $? = 0configure:3911: mpicc -v >&5Using built-in specs.COLLECT_GCC=/home/redclient04/bin/gccCOLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/6/lto-wrapperTarget: x86_64-suse-linuxConfigured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go --enable-offload-targets=hsa --enable-checking=release --with-gxx-include-dir=/usr/include/c++/6 --enable-ssp --disable-libssp --disable-libvtv --disable-libcc1 --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --with-default-libstdcxx-abi=gcc4-compatible --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-6 --without-system-libunwind --enable-multilib --with-arch-32=x86-64 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linuxThread model: posixgcc version 6.2.1 20161121 [gcc-6-branch revision 242657] (SUSE Linux) configure:3922: $? = 0configure:3911: mpicc -V >&5gcc: error: unrecognized command line option '-V'gcc: fatal error: no input filescompilation terminated.configure:3922: $? = 1configure:3911: mpicc -qversion >&5gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?gcc: fatal error: no input filescompilation terminated.configure:3922: $? = 1configure:3942: checking whether the C compiler worksconfigure:3964: mpicc -O2 -DSC_LOG_PRIORITY=SC_LP_ESSENTIAL conftest.c >&5configure:3968: $? = 0configure:4017: result: yes
.
.
.
.
configure:6560: mpicc -c -O2 -DSC_LOG_PRIORITY=SC_LP_ESSENTIAL conftest.c >&5configure:6563: $? = 0configure:7273: checking how to run the C preprocessorconfigure:7304: mpicc -E -DSC_LOG_PRIORITY=SC_LP_ESSENTIAL conftest.cconfigure:7304: $? = 0configure:7318: mpicc -E -DSC_LOG_PRIORITY=SC_LP_ESSENTIAL conftest.cconftest.c:17:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^compilation terminated.configure:7318: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "p4est"| #define PACKAGE_TARNAME "p4est"| #define PACKAGE_VERSION "0.3.4.1"| #define PACKAGE_STRING "p4est 0.3.4.1".
.