[Dune] alugrid problem in Dune 2.4

Ganesh Diwan gcdiwan83 at gmail.com
Wed Mar 11 13:36:58 CET 2015


Dear Dune

I have a problem with alugrid when making the installation for Dune 2.4.
Cmake and make install fail.

First, I try to build with cmake in my alugrid build directory

$ sudo cmake ../../Dune_Source/dune-alugrid/

-- Dependencies for dune-alugrid: dune-grid (>= 2.3)
-- Dependencies for dune-grid: dune-common (>= 2.4);dune-geometry (>= 2.4)
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- Performing tests specific to dune-common from file
/home/gcd3/Documents/Dune_Source/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing:  GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB
GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Setting
dune-common_INCLUDE_DIRS=/home/gcd3/Documents/Dune_Source/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Setting
dune-geometry_INCLUDE_DIRS=/home/gcd3/Documents/Dune_Source/dune-geometry
-- Setting dune-geometry_LIBRARIES=dunegeometry
-- Performing tests specific to dune-grid from file
/home/gcd3/Documents/Dune_Source/dune-grid/cmake/modules/DuneGridMacros.cmake.
-- checking for module 'alugrid'
--   package 'alugrid' not found
-- checking for module 'alugrid'
--   package 'alugrid' not found
-- Could NOT find ALUGrid (missing:  ALUGRID_VERSION ALUGRID_INCLUDE_PATH
ALUGRID_LIB ALUGRID_LIB_PATH ALULIB_FUNCTIONAL HAVE_ALUGRID_SERIAL_H)
-- Found alberta libraries for dimensions 1;2;3
CMake Warning at
/home/gcd3/Documents/Dune_Source/dune-grid/cmake/modules/FindAlberta.cmake:107
(message):
  Internal Inconsistency: Invalid Alberta version reported:
$ALBERTA_VERSION.
Call Stack (most recent call first):

/home/gcd3/Documents/Dune_Source/dune-grid/cmake/modules/DuneGridMacros.cmake:12
(find_package)

/home/gcd3/Documents/Dune_Source/dune-common/cmake/modules/DuneMacros.cmake:505
(include)

/home/gcd3/Documents/Dune_Source/dune-common/cmake/modules/DuneMacros.cmake:641
(dune_process_dependency_macros)
  CMakeLists.txt:26 (dune_project)


CMake Warning at
/home/gcd3/Documents/Dune_Source/dune-grid/cmake/modules/UseUG.cmake:31
(message):
  UG was not configured for DUNE.  Did you pass --enable-dune to its
  configure?
Call Stack (most recent call first):

/home/gcd3/Documents/Dune_Source/dune-grid/cmake/modules/DuneGridMacros.cmake:14
(include)

/home/gcd3/Documents/Dune_Source/dune-common/cmake/modules/DuneMacros.cmake:505
(include)

/home/gcd3/Documents/Dune_Source/dune-common/cmake/modules/DuneMacros.cmake:641
(dune_process_dependency_macros)
  CMakeLists.txt:26 (dune_project)


-- Could NOT find UG (missing:  HAVE_UG)
-- Could NOT find Grape (missing:  GRAPE_INCLUDE_DIR GRAPE_LIBRARY
_GRAPE_LIB_FUNCTIONAL _GRAPE_HEADER_USABLE)
-- checking for one of the modules 'psurface'
-- checking for module 'psurface'
--   package 'psurface' not found
-- Could NOT find psurface (missing:  PSURFACE_INCLUDE_DIR
PSURFACE_LIBRARY)
-- Could NOT find AmiraMesh (missing:  AMIRAMESH_INCLUDE_DIR
AMIRAMESH_LIBRARY)
-- Setting dune-grid_INCLUDE_DIRS=/home/gcd3/Documents/Dune_Source/dune-grid
-- Setting dune-grid_LIBRARIES=dunegrid
-- Performing tests specific to dune-alugrid from file
/home/gcd3/Documents/Dune_Source/dune-alugrid/cmake/modules/DuneAlugridMacros.cmake.
-- Could NOT find SIONlib (missing:  SIONLIB_INCLUDE_DIR SIONLIB_LIBRARY
SIONLIB_HEADER_USABLE SIONLIB_LIB_WORKS SIONLIB_LIB_SIONSER_WORKS)
-- Could NOT find DLMalloc (missing:  DLMALLOC_INCLUDE_DIR
DLMALLOC_SOURCE_USABLE)
Zoltan Dir: ZOLTAN_INCLUDE_DIR-NOTFOUND
-- Could NOT find ZOLTAN (missing:  ZOLTAN_INCLUDE_DIR ZOLTAN_LIBRARY
ZOLTAN_HEADER_USABLE)
CMake Warning (dev) at cmake/modules/DuneAlugridMacros.cmake:49 (message):
  TODO: Improve module test.
Call Stack (most recent call first):

/home/gcd3/Documents/Dune_Source/dune-common/cmake/modules/DuneMacros.cmake:505
(include)

/home/gcd3/Documents/Dune_Source/dune-common/cmake/modules/DuneMacros.cmake:641
(dune_process_dependency_macros)
  CMakeLists.txt:26 (dune_project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Adding custom target for config.h generation
-- 
-- The following OPTIONAL packages have been found:

 * LATEX
 * UnixCommands
 * Doxygen
 * PkgConfig
 * BLAS
 * LAPACK
 * Inkscape
 * METIS
 * UG (required version >= 3.11.0)
 * X11
 * OpenGL
 * ZLIB
 * MPI
 * Threads
 * PTScotch
 * ParMETIS

-- The following REQUIRED packages have been found:

 * dune-common
 * dune-grid
 * dune-geometry

-- The following features have been disabled:

 * Experimental grid extensions , Enables additional grid features.

-- The following OPTIONAL packages have not been found:

 * GMP
 * ALUGrid
 * Alberta
 * Grape
 * Psurface
 * AmiraMesh
 * SIONlib
 * DLMalloc
 * ZOLTAN

-- Configuring done
-- Generating done
-- Build files have been written to:
/home/gcd3/Documents/Dune_Build/dune-alugrid
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




I do have zoltan in my system and can see headers and library in
/usr/local/include and /usr/local/lib locations resp.
Clearly make install fails with:



$ sudo make install
[100%] Built target dunealugrid
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/lib/dunecontrol/dune-alugrid/dune.module
-- Up-to-date:
/usr/local/lib/x86_64-linux-gnu/cmake/dune-alugrid/dune-alugrid-config.cmake
-- Up-to-date:
/usr/local/lib/x86_64-linux-gnu/cmake/dune-alugrid/dune-alugrid-config-version.cmake
-- Up-to-date: /usr/local/share/dune-alugrid/config.h.cmake
-- Up-to-date: /usr/local/lib/x86_64-linux-gnu/pkgconfig/dune-alugrid.pc
-- Up-to-date: /usr/local/include/dune/alugrid/dgf.hh
-- Up-to-date: /usr/local/include/dune/alugrid/grid.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/alu2dinclude.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/entity_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/2d/geometry_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/2d/grid_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/2d/intersection.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/iterator.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/entity.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/geometry.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/grid.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/indexsets.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/intersection_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/2d/iterator_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/2d/datahandle.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/gridfactory.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/gridfactory.cc
-- Up-to-date: /usr/local/include/dune/alugrid/2d/alugrid.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/bndprojection.hh
-- Up-to-date: /usr/local/include/dune/alugrid/2d/intersection.cc
-- Up-to-date: /usr/local/include/dune/alugrid/2d/entityseed.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/alu3dinclude.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/communication.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/datacollectorcaps.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/datahandle.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/grid.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/grid_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/3d/grid_inline.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/mappings.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/mappings_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/3d/topology.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/entity.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/entity_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/3d/entity_inline.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/entityseed.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/faceutility.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/faceutility_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/3d/geometry.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/geometry_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/3d/gridfactory.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/gridfactory.cc
-- Up-to-date: /usr/local/include/dune/alugrid/3d/gridview.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/indexsets.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/iterator.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/iterator.cc
-- Up-to-date: /usr/local/include/dune/alugrid/3d/iterator_imp.cc
-- Up-to-date: /usr/local/include/dune/alugrid/3d/alu3diterators.hh
-- Up-to-date: /usr/local/include/dune/alugrid/3d/alugrid.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/alugrid_assert.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/backuprestore.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/bndprojection.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/capabilities.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/declaration.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/defaultindexsets.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/geostorage.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/hsfc.hh
-- Up-to-date:
/usr/local/include/dune/alugrid/common/intersectioniteratorwrapper.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/interfaces.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/ldbhandleif.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/macrogridview.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/memory.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/objectfactory.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/persistentcontainer.hh
-- Up-to-date:
/usr/local/include/dune/alugrid/common/structuredgridfactory.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/transformation.hh
-- Up-to-date: /usr/local/include/dune/alugrid/common/writeparalleldgf.hh
-- Up-to-date: /usr/local/include/dune/alugrid/impl/binaryio.hh
-- Up-to-date: /usr/local/include/dune/alugrid/impl/byteorder.hh
-- Up-to-date: /usr/local/include/dune/alugrid/impl/indexstack.h
-- Up-to-date: /usr/local/include/dune/alugrid/impl/macrofileheader.hh
-- Up-to-date: /usr/local/include/dune/alugrid/impl/projectvertex.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/gatherscatter.hh
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/ghost_elements.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/ghost_info.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/gitter_hexa_top.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/gitter_impl.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/gitter_mgb.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/gitter_sti.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/gitter_tetra_top.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/iterator_sti.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/key.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/lock.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/mapp_cube_3d.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/mapp_tetra_3d_ext.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/mapp_tetra_3d.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/myalloc.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/parallel.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/refcount.hh
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/refinementrules.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/serialize.h
-- Up-to-date: /usr/local/dune/alugrid/impl/serial/walk.h
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/alumetis.hh
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/alusfc.hh
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/aluzoltan.hh
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/gitter_hexa_top_pll.h
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/gitter_pll_impl.h
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/gitter_pll_ldb.h
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/gitter_pll_mgb.h
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/gitter_pll_sti.h
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/gitter_tetra_top_pll.h
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/mpAccess.h
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/mpAccess_MPI.h
-- Up-to-date: /usr/local/dune/alugrid/impl/parallel/mpAccess_MPI_inline.h
-- Up-to-date: /usr/local/dune/alugrid/impl/duneinterface/gitter_dune_impl.h
-- Up-to-date:
/usr/local/dune/alugrid/impl/duneinterface/gitter_dune_pll_impl.h
-- Up-to-date: /usr/local/include/dune/alugrid/impl/2d/grid.h
-- Up-to-date: /usr/local/include/dune/alugrid/impl/2d/handle.h
-- Up-to-date: /usr/local/include/dune/alugrid/impl/2d/listwalk.h
-- Up-to-date: /usr/local/include/dune/alugrid/impl/2d/triang.h
-- Up-to-date: /usr/local/include/dune/alugrid/impl/2d/vmmap.h
-- Up-to-date: /usr/local/include/dune/alugrid/impl/2d/vtx_btree.h
-- Up-to-date: /usr/local/include/dune/alugrid/impl/2d/vtxprojection.h
-- Up-to-date: /usr/local/lib/x86_64-linux-gnu/libdunealugrid.a
-- Up-to-date:
/usr/local/lib/x86_64-linux-gnu/cmake/dune-alugrid/dune-alugrid-targets.cmake
-- Installing:
/usr/local/lib/x86_64-linux-gnu/cmake/dune-alugrid/dune-alugrid-targets-noconfig.cmake
-- Up-to-date: /usr/local/bin/../lib/dunealugridam2cmake.lib
-- Up-to-date: /usr/local/share/aclocal/dune-alugrid.m4
-- Up-to-date: /usr/local/share/aclocal/alugridtype.m4
-- Up-to-date: /usr/local/share/aclocal/dlmalloc.m4
-- Up-to-date: /usr/local/share/aclocal/sionlib.m4
-- Up-to-date: /usr/local/share/aclocal/zlib.m4
-- Up-to-date: /usr/local/share/aclocal/zoltan.m4
CMake Error at cmake/modules/cmake_install.cmake:36 (file):
  file INSTALL cannot find

"/home/gcd3/Documents/Dune_Source/dune-alugrid/cmake/modules/AddSIONlibFlags.cmake;AddZOLTANFlags.cmake;ALUGridType.cmake;CMakeLists.txt;DuneAlugridMacros.cmake;FindDLMalloc.cmake;FindSIONlib.cmake;FindZOLTAN.cmake".
Call Stack (most recent call first):
  cmake_install.cmake:60 (include)


make: *** [install] Error 1


Appreciate your help,
Regards
Ganesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150311/36abc27a/attachment.htm>


More information about the Dune mailing list