CXXFLAGSG="$CXXFLAGSG -I$use_p4est/DEBUG/include"
CXXFLAGSO="$CXXFLAGSO -I$use_p4est/FAST/include"
+
+ AC_MSG_CHECKING(for p4est library directory)
+ if test -d "$use_p4est/DEBUG/lib64" -a -d "$use_p4est/FAST/lib64" ; then
+ AC_MSG_RESULT(lib64)
+ DEAL_II_P4EST_LIBDIR_NAME=lib64
+ else
+ if test -d "$use_p4est/DEBUG/lib" -a -d "$use_p4est/FAST/lib" ; then
+ AC_MSG_RESULT(lib)
+ DEAL_II_P4EST_LIBDIR_NAME=lib
+ else
+ AC_MSG_ERROR(could not determine whether p4est stores its library in lib/ or lib64/ directories)
+ fi
+ fi
+ AC_SUBST(DEAL_II_P4EST_LIBDIR_NAME)
+
else
AC_MSG_RESULT(no)
fi
USE_CONTRIB_P4EST = @USE_CONTRIB_P4EST@
DEAL_II_P4EST_DIR = @DEAL_II_P4EST_DIR@
+DEAL_II_P4EST_LIBDIR_NAME = @DEAL_II_P4EST_LIBDIR_NAME@
DEAL_II_USE_MPI = @DEAL_II_USE_MPI@
else
include-path-petsc-bmake = $(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/include
endif
-include-path-slepc = $(DEAL_II_SLEPC_DIR)/include
+include-path-slepc = $(DEAL_II_SLEPC_DIR)/include
include-path-slepc-bmake = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/include
include-path-slepc-conf = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/conf
include-path-trilinos = $(DEAL_II_TRILINOS_INCDIR)
USE_CONTRIB_BLAS
NEEDS_F77LIBS
DEAL_II_USE_BLAS
+DEAL_II_USE_P4EST
+DEAL_II_P4EST_LIBDIR_NAME
DEAL_II_P4EST_DIR
USE_CONTRIB_P4EST
-DEAL_II_USE_P4EST
DEAL_II_DEFINE_DEAL_II_USE_MUMPS
DEAL_II_BLACS_ARCH
DEAL_II_BLACS_DIR
$as_echo "#define DEAL_II_USE_P4EST 1" >>confdefs.h
USE_CONTRIB_P4EST=yes
- export USE_CONTRIB_P4EST
+
DEAL_II_P4EST_DIR=${use_p4est}
- export DEAL_II_P4EST_DIR
+
CXXFLAGSG="$CXXFLAGSG -I$use_p4est/DEBUG/include"
CXXFLAGSO="$CXXFLAGSO -I$use_p4est/FAST/include"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for p4est library directory" >&5
+$as_echo_n "checking for p4est library directory... " >&6; }
+ if test -d "$use_p4est/DEBUG/lib64" -a -d "$use_p4est/FAST/lib64" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: lib64" >&5
+$as_echo "lib64" >&6; }
+ DEAL_II_P4EST_LIBDIR_NAME=lib64
+ else
+ if test -d "$use_p4est/DEBUG/lib" -a -d "$use_p4est/FAST/lib" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: lib" >&5
+$as_echo "lib" >&6; }
+ DEAL_II_P4EST_LIBDIR_NAME=lib
+ else
+ as_fn_error $? "could not determine whether p4est stores its library in lib/ or lib64/ directories" "$LINENO" 5
+ fi
+ fi
+
+
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
<ol>
+<li>
+Fixed: On some systems, the p4est library we use for distributed
+parallel computations installs its libraries into a <code>lib64/</code>
+directory instead of the usual <code>lib/</code>. deal.II can now deal
+with this.
+<br>
+(Wolfgang Bangerth, 2012/07/25)
+
<li>
New: step-43 is an extension of step-21 that shows efficient methods
to solve multi-phase flow.
# and p4est
ifeq ($(USE_CONTRIB_P4EST),yes)
- deplibs.g += $(DEAL_II_P4EST_DIR)/DEBUG/lib/libp4est$(shared-lib-suffix) \
- $(DEAL_II_P4EST_DIR)/DEBUG/lib/libsc$(shared-lib-suffix) \
- $(call DEAL_II_RPATH,$(DEAL_II_P4EST_DIR)/DEBUG/lib)
- deplibs.o += $(DEAL_II_P4EST_DIR)/FAST/lib/libp4est$(shared-lib-suffix) \
- $(DEAL_II_P4EST_DIR)/FAST/lib/libsc$(shared-lib-suffix) \
- $(call DEAL_II_RPATH,$(DEAL_II_P4EST_DIR)/FAST/lib)
+ deplibs.g += $(DEAL_II_P4EST_DIR)/DEBUG/$(DEAL_II_P4EST_LIBDIR_NAME)/libp4est$(shared-lib-suffix) \
+ $(DEAL_II_P4EST_DIR)/DEBUG/$(DEAL_II_P4EST_LIBDIR_NAME)/libsc$(shared-lib-suffix) \
+ $(call DEAL_II_RPATH,$(DEAL_II_P4EST_DIR)/DEBUG/$(DEAL_II_P4EST_LIBDIR_NAME))
+ deplibs.o += $(DEAL_II_P4EST_DIR)/FAST/$(DEAL_II_P4EST_LIBDIR_NAME)/libp4est$(shared-lib-suffix) \
+ $(DEAL_II_P4EST_DIR)/FAST/$(DEAL_II_P4EST_LIBDIR_NAME)/libsc$(shared-lib-suffix) \
+ $(call DEAL_II_RPATH,$(DEAL_II_P4EST_DIR)/FAST/$(DEAL_II_P4EST_LIBDIR_NAME))
endif
# for cygwin and darwin, also llapack and such are necessary