← Back to team overview

dorsal team mailing list archive

Re: Downgrading to DOLFIN 0.9.9 and Armadillo 0.8.0

 

On 03/10/2011 06:04 PM, Johannes Ring wrote:
On Thu, Mar 10, 2011 at 6:00 PM, Johannes Ring<johannr@xxxxxxxxx>  wrote:
On Thu, Mar 10, 2011 at 5:53 PM, Marie E. Rognes<meg@xxxxxxxxx>  wrote:

I'm desperately trying to install DOLFIN 0.9.9(!) As far as I remember, that
requires an armadillo version<  1.0.0 (for instance 0.8.0).

Installing said armadillo and DOLFIN 0.9.9 via dorsal gives me

Building dolfin-0.9.9
-- Checking for package 'Armadillo'
-- Checking for package 'LAPACK'
CMake Error at
/usr/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:139 (find_package_handle_standard_args)
  CMakeLists.txt:156 (find_package)

Could someone remind me of what variables to set to what to get this
rolling?

When I built DOLFIN 0.9.9 recently I simply replaced
cmake/modules/FindArmadillo.cmake with the one from DOLFIN-dev. Then
you should be able to use whatever Armadillo version you want.

BTW, there are some other build related fixes that I stole from
DOLFIN-dev when I built 0.9.9 that also might be useful (see attached
patch).


Looking very promising -- thanks!

--
Marie




References