← Back to team overview

dolfin team mailing list archive

Re: [Question #156058]: ARMADILLO_TEST_RUNS

 

Question #156058 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/156058

    Status: Answered => Open

Chunhe Lee is still having a problem:
Johannes,

I have tried to build Armadillo with BLAS as well, and it can also find
BLAS package, but it still not work when installing dolfin. Can dolfin
run well in windows?

I attached log file when installing both armadillo and dolfin, if you can find where is the problem, pleaes tell me. 
Thanks! 

Information when install armadillo:
cmake -DLAPACK_LIBRARY:FILEPATH=/home/rhome/lihe/bin/lapack/lib/ -DBLAS_LIBRARY:FILEPATH=/home/rhome/lihe/bin/lapack/lib/ -DCMAKE_INSTALL_PREFIX=/home/rhome/lihe/bin/armadillo .
-- Configuring Armadillo 1.2.0
-- Boost version: 1.46.1
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- MKL_FOUND     = NO
-- ACMLMP_FOUND  = NO
-- ACML_FOUND    = NO
-- Found a LAPACK library: /home/rhome/lihe/bin/lapack/lib
-- Found a BLAS library: /home/rhome/lihe/bin/lapack/lib
-- LAPACK_FOUND  = YES
-- BLAS_FOUND    = YES
-- CLAPACK_FOUND = NO
-- CBLAS_FOUND   = NO
-- *** 
-- *** The Armadillo run-time library component will be an alias for the following libraries:
-- *** ARMA_LIBS = /home/rhome/lihe/bin/lapack/lib;/home/rhome/lihe/bin/lapack/lib
-- *** 
-- Boost_MAJOR_VERSION = 1
-- Boost_MINOR_VERSION = 46
-- Boost_INCLUDE_DIR = /home/rhome/lihe/bin/boost/1.46.1/include
-- Looking for C++ include boost/date_time/posix_time/posix_time.hpp
-- Looking for C++ include boost/date_time/posix_time/posix_time.hpp - found
-- Performing Test ARMA_HAVE_STD_ISFINITE
-- Performing Test ARMA_HAVE_STD_ISFINITE - Success
-- Performing Test ARMA_HAVE_STD_ISINF
-- Performing Test ARMA_HAVE_STD_ISINF - Success
-- Performing Test ARMA_HAVE_STD_ISNAN
-- Performing Test ARMA_HAVE_STD_ISNAN - Success
-- Performing Test ARMA_HAVE_LOG1P
-- Performing Test ARMA_HAVE_LOG1P - Success
-- Performing Test ARMA_HAVE_STD_SNPRINTF
-- Performing Test ARMA_HAVE_STD_SNPRINTF - Success
-- Performing Test ARMA_HAVE_GETTIMEOFDAY
-- Performing Test ARMA_HAVE_GETTIMEOFDAY - Success
-- Generating 'include/armadillo_bits/config.hpp'
-- Generating 'examples/Makefile'
-- Detected 64 bit system
-- CMAKE_INSTALL_PREFIX = /home/rhome/lihe/bin/armadillo
-- INSTALL_LIB_DIR      = /home/rhome/lihe/bin/armadillo/lib64
-- INSTALL_INCLUDE_DIR  = /home/rhome/lihe/bin/armadillo/include
-- INSTALL_DATA_DIR     = /home/rhome/lihe/bin/armadillo/share
-- Generating '/home/rhome/lihe/program/install/armadillo-1.2.0/ArmadilloConfig.cmake'
-- Generating '/home/rhome/lihe/program/install/armadillo-1.2.0/ArmadilloConfigVersion.cmake'
-- Generating '/home/rhome/lihe/program/install/armadillo-1.2.0/InstallFiles/ArmadilloConfig.cmake'
-- Generating '/home/rhome/lihe/program/install/armadillo-1.2.0/InstallFiles/ArmadilloConfigVersion.cmake'
-- Configuring done
WARNING: Target "armadillo" requests linking to directory "/home/rhome/lihe/bin/lapack/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "armadillo" requests linking to directory "/home/rhome/lihe/bin/lapack/lib".  Targets may link only to libraries.  CMake is dropping the item.
-- Generating done
-- Build files have been written to: /home/rhome/lihe/program/install/armadillo-1.2.0

Information when installing dolfin:

cmake -DARMADILLO_DIR:PATH=/home/rhome/lihe/bin/armadillo .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test HAVE_PIPE
-- Performing Test HAVE_PIPE - Success
-- Performing Test HAVE_PEDANTIC
-- Performing Test HAVE_PEDANTIC - Success
-- Performing Test HAVE_STD
-- Performing Test HAVE_STD - Success
-- Performing Test HAVE_DEBUG
-- Performing Test HAVE_DEBUG - Success
-- Performing Test HAVE_O2_OPTIMISATION
-- Performing Test HAVE_O2_OPTIMISATION - Success
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   system
--   thread
-- Checking for package 'Armadillo'
-- Performing Test ARMADILLO_TEST_RUNS
-- Performing Test ARMADILLO_TEST_RUNS - Failed
-- Checking for package 'LAPACK'
-- Found LAPACK: /home/rhome/lihe/bin/lapack/lib/liblapack.a
-- Performing Test ARMADILLO_LAPACK_TEST_RUNS
-- Performing Test ARMADILLO_LAPACK_TEST_RUNS - Failed
CMake Error at /home/cluster/cmake/2.8.2/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
  Armadillo could not be found.  Be sure to set ARMADILLO_DIR.  (missing:
  ARMADILLO_TEST_RUNS)
Call Stack (most recent call first):
  cmake/modules/FindArmadillo.cmake:146 (find_package_handle_standard_args)
  CMakeLists.txt:164 (find_package)

Best regards!
Chunhe


2011-05-07

You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.