[Dune] Fails to build dune-istl: Cannot find source file: dotproducttest.cc

Lars Vingli Odsæter LAODS at statoil.com
Mon Mar 11 14:42:18 CET 2013


Hi list.

I am trying to build the DUNE modules dune-common, dune-geometry, dune-grid and dune-istl on a Redhat 5.8 workstation. I want to build version 2.2 with cmake and found the repos 'https://svn.dune-project.org/svn/dune-{common,geometry,grid,istl}/branches/release-cmake-2.2'. I use dunecontrol for building:

dune-common/bin/dunecontrol --use-cmake --opts=config.opts all

My config.opts file looks like this:

CMAKE_FLAGS="-DCMAKE_PREFIX_PATH=\"/project/res/x86_64_RH_5/share/opm/boost;/project/res/x86_64_RH_5/share/opm/SuperLU_4.0\" "

dune-common, geometry and grid build just fine, but dune-istl fails with the following error message:


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

--- calling all for dune-istl ---
--- calling autogen for dune-istl ---
Skipping dune-autogen because of CMake
--- calling configure for dune-istl ---
LOCAL_USE_CMAKE=yes /private/laods/opm/RH5/realization_cmake/dune2.2/dune-istl/CMakeLists.txt
/private/laods/opm/RH5/realization_cmake/dune2.2/dune-istl/build-cmake
cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_MODULE_PATH=""  "-Ddune-common_DIR=/private/laods/opm/RH5/realization_cmake/dune2.2/dune-common/build-cmake" -DCMAKE_PREFIX_PATH="/project/res/x86_64_RH_5/share/opm/boost;/project/res/x86_64_RH_5/share/opm/SuperLU_4.0" /private/laods/opm/RH5/realization_cmake/dune2.2/dune-istl
-- Dependencies: dune-common (versions: >= 2.2) DUNE_DEPENDS=dune-common (>= 2.2)
-- Performing tests specific to dune-common from file /private/laods/opm/RH5/realization_cmake/dune2.2/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Setting dune-common_INCLUDE_DIRS=/private/laods/opm/RH5/realization_cmake/dune2.2/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Dependencies for dune-common:
--  Performing tests specific to dune-istl from file /private/laods/opm/RH5/realization_cmake/dune2.2/dune-istl/cmake/modules/DuneIstlMacros.cmake.
-- Checking whether the Boost::FUSION library is available
-- Could NOT find ParMETIS (missing:  PARMETIS_INCLUDE_DIR PARMETIS_LIBRARY PARMETIS_FOUND)
ALLTESTS=vectorcommtest;matrixmarkettest;matrixredisttest;basearraytest;bvectortest;bcrsbuildtest;dotproducttest;iotest;matrixiteratortest;matrixtest;matrixutilstest;mv;scaledidmatrixtest;seqmatrixmarkettest;vbvectortest;superlutest;superluztest;superluctest;superlustest;overlappingschwarztest
MPITESTS=vectorcommtest;matrixmarkettest;matrixredisttest
-- Using scripts from /private/laods/opm/RH5/realization_cmake/dune2.2/dune-common/cmake/scripts for creating doxygen stuff.
-- using /private/laods/opm/RH5/realization_cmake/dune2.2/dune-common/doc/doxygen/Doxystyle to create doxystyle file
-- Adding custom target for config.h generation
-- Configuring done
CMake Error at dune/istl/test/CMakeLists.txt:41 (add_executable):
  Cannot find source file:

    dotproducttest.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


-- Build files have been written to: /private/laods/opm/RH5/realization_cmake/dune2.2/dune-istl/build-cmake
--- calling make for dune-istl ---
make
make: *** No targets specified and no makefile found.  Stop.
--- Failed to build dune-istl ---
Terminating dunecontrol due to previous errors!

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


I have tried to track down the file dotproducttest.cc, but it seems to be missing. Is this a bug, or what else is wrong?


Cheers,
Lars Vingli Odsæter

-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you




More information about the Dune mailing list