Automatic Way to install Dolfin (or Cmake)?

Asked by Alan

I tried to install FEniCS through the http://fenicsproject.org/download/installation_from_source.html#installation-from-source because I came lots of problem by installing with Dorsal.
   Everything goes fine til installing Dolfin. It firstly reminds me that I do not have 'boost'. After I figure out that, it says I do not have 'Armadillo'. After I did this, it gives that:

-- Boost version: 1.51.0
-- Found the following Boost libraries:
-- filesystem
-- program_options
-- system
-- thread
-- iostreams
-- math_tr1
-- mpi
-- serialization
-- UFC version: 2.0.5
-- Checking for package 'Armadillo'
-- Checking for package 'LAPACK'
-- LAPACK could not be found. Be sure to set LAPACK_DIR. (missing: LAPACK_LIBRARIES)
-- Checking for package 'BLAS'
-- BLAS could not be found. Be sure to set BLAS_DIR. (missing: BLAS_LIBRARIES)
CMake Error at /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
  Armadillo could not be found. Be sure to set ARMADILLO_DIR. (missing:
  ARMADILLO_TEST_RUNS)
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindArmadillo.cmake:178 (find_package_handle_standard_args)
  CMakeLists.txt:197 (find_package)

Any idea about this? I think it is about the cmake. Is there anyway that I can install all this with Cmake or Dolfin automatically?

thanks,
Alan

Question information

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

It looks like you don't have LAPACK and Armadillo needs to be built with LAPACK to work with DOLFIN.

That said, I would not recommend to give up on Dorsal just yet. Instead, let us know what the problem is and we might be able to help.

Revision history for this message
Alan (zhenglun-wei) said :
#2

Thanks Johannes,
   I answer the question about Dorsal in another thread. I will turn back on Dorsal again then.

Alan

Revision history for this message
Alan (zhenglun-wei) said :
#3

asked* not answer