Hello, I did as Garth advised - I tried to build the development version of DOLFIN, indeed I had to install Eigen3.
Now the problem occurs for SWIG, and this is quite surprising, since I installed SWIG 2.0.10 some months ago and used it for UFC installation without problems. With SWIG 2.0.10 added to the PATH and SWIG_DIR set (and verified with echo $SWIG_DIR), I'm getting: " CMake Error at /usr/share/cmake28/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find SWIG (missing: SWIG_DIR) " The full output in P.S. below. I've tried 10+ times (always did rm CMakeCache.txt) and twice from scratch i.e. removing everything and downloading Dolfin from bitbucket.org. Best regards, Tomasz P.S. cmake28 -DCMAKE_INSTALL_PREFIX=../fenics/fenics-project-dolfin-2cfcc3b17338/ -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- program_options -- system -- thread -- iostreams -- mpi -- serialization -- timer -- chrono -- UFC version: 2.2.0+ CMake Error at /usr/share/cmake28/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find SWIG (missing: SWIG_DIR) Call Stack (most recent call first): /usr/share/cmake28/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake28/Modules/FindSWIG.cmake:67 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:267 (find_package) -- Configuring incomplete, errors occurred! ----- Original Message ----- From: "Garth N. Wells" <[email protected]> To: [email protected] Sent: Friday, 4 October, 2013 4:34:47 PM Subject: Re: [FEniCS-support] Armadillo not found when configuring Dolfin 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 _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
