← Back to team overview

dolfin team mailing list archive

[Question #140285]: dolfin installation

 

New question #140285 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/140285

Hi

This might have already been discussed but I cannot really figure out how to set the PATH for MTL4, PETSC, ... to install  dolfin-0.9.9 on a redhat linux. No success with the dorsal installation so I resort to manual installation but I get:


-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test HAVE_PIPE
-- Performing Test HAVE_PIPE - Success
-- Performing Test HAVE_PEDANTIC
-- Performing Test HAVE_PEDANTIC - Success
-- Performing Test HAVE_STD
-- Performing Test HAVE_STD - Success
-- Performing Test HAVE_DEBUG
-- Performing Test HAVE_DEBUG - Success
-- Performing Test HAVE_O2_OPTIMISATION
-- Performing Test HAVE_O2_OPTIMISATION - Success
-- Boost version: 1.45.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   system
-- Checking for package 'Armadillo'
-- Performing Test ARMADILLO_TEST_RUNS
-- Performing Test ARMADILLO_TEST_RUNS - Success
-- Found Armadillo: TRUE 
-- Found LibXml2: /usr/lib64/libxml2.so 
-- Found PythonInterp: /usr/local/bin/python2.6 
-- Found PythonLibs: /usr/local/lib/libpython2.6.so 
-- NumPy headers found
-- Found SWIG: /usr/bin/swig (found version "1.3.29")
-- Could NOT find MPI (missing:  MPI_LIBRARY MPI_INCLUDE_PATH) 
-- Checking for package 'AMD'
-- Found AMD: /usr/include/suitesparse 
-- Checking for package 'BLAS'
-- Found BLAS: /usr/include 
-- Checking for package 'UMFPACK'
-- Performing Test UMFPACK_TEST_RUNS
-- Performing Test UMFPACK_TEST_RUNS - Success
-- Found UMFPACK: /usr/include/suitesparse 
-- Checking for package 'CHOLMOD'
-- Checking for package 'AMD'
-- Checking for package 'BLAS'
-- ParMETIS could not be found/configured. (missing:  PARMETIS_TEST_RUNS PARMETIS_INCLUDE_DIRS PARMETIS_LIBRARIES) 
-- Checking for package 'LAPACK'
-- Found LAPACK: /usr/lib64/atlas/liblapack.so 
-- Performing Test CHOLMOD_TEST_RUNS
-- Performing Test CHOLMOD_TEST_RUNS - Success
-- Found CHOLMOD: /usr/include/suitesparse 
-- Found CHOLMOD: /usr/lib64/libcholmod.so;/usr/lib64/libamd.so;/usr/lib64/libcamd.so;/usr/lib64/libcolamd.so;/usr/lib64/libccolamd.so;/usr/lib64/atlas/libatlas.so;/usr/lib64/atlas/liblapack.so
-- Checking for package 'Trilinos'
-- Checking for package 'MTL4'
-- Checking for package 'BLAS'
-- MTL4 could not be found. Be sure to set MTL4_DIR (missing:  MTL4_INCLUDE_DIRS MTL4_TEST_RUNS) 
-- Checking for package 'PETSc'
-- PETSC_DIR is PETSC_DIR-NOTFOUND
-- PETSC_ARCH is empty
-- Unable to find petscconf.h
-- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH. (missing:  PETSC_DIR PETSC_INCLUDE_DIRS PETSC_LIBRARIES PETSC_TEST_RUNS) 
-- Checking for package 'CGAL'
CMake Warning at cmake/modules/FindCGAL.cmake:12 (find_package):
  Could not find a configuration file for package CGAL.

  Set CGAL_DIR to the directory containing a CMake configuration file for
  CGAL.  The file will have one of the following names:

    CGALConfig.cmake
    cgal-config.cmake

Call Stack (most recent call first):
  CMakeLists.txt:235 (find_package)


-- CGAL could not be found. Be sure to set CGAL_DIR (missing:  CGAL_LIBRARIES CGAL_INCLUDE_DIRS CGAL_TEST_RUNS) 
-- Found ZLIB: /usr/include (found version "1.2.3")
-- Checking for package 'CPPUNIT'
-- Found CPPUNIT: /usr/include/cppunit 
-- 
-- The following optional packages were found:
-- -------------------------------------------
-- (OK) UMFPACK
-- (OK) CHOLMOD
-- (OK) ZLIB
-- (OK) PYTHON
-- 
-- The following optional packages were not enabled:
-- -------------------------------------------------
-- (--) GMP
-- 
-- The following optional packages could not be found:
-- ---------------------------------------------------
-- (**) MPI
-- (**) PETSC
-- (**) SLEPC
-- (**) TRILINOS
-- (**) MTL4
-- (**) SCOTCH
-- (**) PARMETIS
-- (**) CGAL
-- 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named ufc
CMake Warning at dolfin/CMakeLists.txt:233 (message):
  Unable to import UFC.  Install latest UFC or check that PYTHONPATH is set
  appropriately.  Python will be disabled.


-- Configuring done
-- Generating done

I have installed everything else using dorsal with no error. Where should I set the path for those unfound packages? Is the path where they are installed in the dorsal installation directory?

Many thanks for your help. 

Best,
S.


You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups