On 04/10/13 14:30, Tomasz Malkiewicz wrote:
Hello,

As advised by Johannes Ring, I'm reposting my question, accompanied with
CMakeFiles/CMakeError.log, to the support mailing list:


The issue described below holds for the latest version of Armadillo,
i.e. armadillo-3.910.0.


The development version of DOLFIN no longer depends on Armadillo (one of the reasons it was removed is that it can be hard to link). Try building the development version of DOLFIN - it does require Eiegn3 to be installed.

Garth


I've tried also many other things like exporting to the PATH (export
PATH=/XXX/fenics/armadillo-3.910.0/:$PATH, etc. :


I've successfully installed Armadillo in folder
/XXX/fenics/armadillo-3.800.3

When trying to configure Dolfin with:

"cmake -DCMAKE_INSTALL_PREFIX=/XXX/fenics/fenics-project-dolfin-
4d42718cd88f -DDOLFIN_ENABLE_MPI:BOOL=FALSE
-DARMADILLO_DIR:PATH=/XXX/fenics/armadillo-3.800.3 . "

or

"cmake -DCMAKE_INSTALL_PREFIX=/XXX/fenics/fenics-project-dolfin-
4d42718cd88f -DDOLFIN_ENABLE_MPI:BOOL=FALSE
-DARMADILLO_DIR:PATH=$ARMADILLO_DIR . " where "echo $ARMADILLO_DIR
/XXX/fenics/armadillo-3.800.3/"


I'm still getting "Armadillo could not be found." error message:

"
-- UFC version: 2.2.0+
-- Checking for package 'Armadillo'
-- A library with BLAS API found.
-- A library with BLAS API found.
-- A library with LAPACK API found.
CMake Error at
/v/linux26_x86_64/opt/cmake/2.8.5/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91
(MESSAGE):
Armadillo could not be found. Be sure to set ARMADILLO_DIR.
(missing:
ARMADILLO_LIBRARIES ARMADILLO_TEST_RUNS ARMADILLO_VERSION
ARMADILLO_VERSION_OK) (Required is at least version "2.4.2")
Call Stack (most recent call first):

/v/linux26_x86_64/opt/cmake/2.8.5/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
(_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindArmadillo.cmake:241
(find_package_handle_standard_args)
CMakeLists.txt:261 (find_package)
"


Best regards, Tomasz Malkiewicz, CSC




_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to