dorsal build on ubuntu 11.10 dolfin conifg failure

Asked by osman

Hello,
I downloaded a recent development version trying to build fenics 1.2. The last failure is while configuring dolfin :
...
Writing /home/osman/Work/FEniCS/lib/python2.7/site-packages/instant-1.2.0-py2.7.egg-info
ESC[1;32mFetching dolfin-1.2.0ESC[0m
ESC[1;32mUnpacking dolfin-1.2.0ESC[0m
ESC[1;32mBuilding dolfin-1.2.0ESC[0m
-- 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 /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Armadillo could not be found. Be sure to set ARMADILLO_DIR. (missing:
  ARMADILLO_TEST_RUNS) (Required is at least version "2.4.2")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindArmadillo.cmake:241 (find_package_handle_standard_args)
  CMakeLists.txt:259 (find_package)

-- Configuring incomplete, errors occurred!
ESC[1;31mFailure with exit status: 1ESC[0m

Looks like can't find armadillo, but is was successfully build by dorsal earlier. Work/FEniCS/src/armadillo-3.6.1 has a file called dorsal_successful_build.
What could be the problem?
Thanks in advance

cmake version 2.8.5, gcc 4.6.1

Question information

Language:
English Edit question
Status:
Solved
For:
Dorsal Edit question
Assignee:
No assignee Edit question
Solved by:
Johannes Ring
Solved:
Last query:
Last reply:
Revision history for this message
Johannes Ring (johannr) said :
#1

It looks like DOLFIN is picking up an old version of Armadillo. Make sure that "armadillo" is listed in your platform file and that it is not commented out by a '#'.

Revision history for this message
osman (osman) said :
#2

I have not changed the platform files. It is listed as the first name for PACKAGES list. Not commented out.
How can I find out what it is picking (location etc) so I can remove it. I don't see it on my system:
aptitude search armadil
p libarmadillo-dev - streamlined C++ linear algebra library - Headers
c libarmadillo2 - streamlined C++ linear algebra library

my /usr/lib and /usr/local/lib and /opt, /usr/include, /usr/local/include do not have it either.

Revision history for this message
Best Johannes Ring (johannr) said :
#3

Look in /home/osman/Work/FEniCS/src/dolfin-1.2.0/dorsal_build_dir/CMakeFiles/CMakeError.log. It should tell you way it fails.

Revision history for this message
osman (osman) said :
#4

Thanks. It pointed to a problem with my system. Moving the intel install (renaming it) solved the armadillo problem.
Now I have to take care of vtk5.10 lib in my /usr/local not having shared versions. I had built it for another project which did not need the shared version. The ubuntu release of vtk is earlier but complete, so I need to move my libs to somewhere dolfin cmake will not find. My problems are due to my system (or my actions), I should be able to fix. I was able to build earlier fenics without any problems.

Revision history for this message
osman (osman) said :
#5

Thanks Johannes Ring, that solved my question.