← Back to team overview

dolfin team mailing list archive

dolfin build problem over arch linux

 

Hi developers

I work in Arch Linux (Linux 3.4.7-1-ARCH #1 SMP PREEMPT Sun Jul 29 22:02:56 CEST 2012 x86_64 GNU/Linux) and I had some problems with the gcc (version 4.7.1 20120721 (prerelease) (GCC)) at build time

virtual memory exhausted: Cannot allocate memory
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/generation/PolyhedralMeshGenerator.cpp.o] Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make: *** [all] Error 2

I intented to build with clang++ but I founded many errors, then I decided to use ccache

 CMAKE_CXX_COMPILER /usr/bin/ccache
 CMAKE_CXX_COMPILER_ARG1          /usr/bin/c++
 CMAKE_C_COMPILER /usr/bin/ccache
 CMAKE_C_COMPILER_ARG1            /usr/bin/gcc

and the following configuration parameters:

-- The following optional packages were found:
-- -------------------------------------------
-- (OK) OPENMP
-- (OK) MPI
-- (OK) PARMETIS
-- (OK) CGAL
-- (OK) ZLIB
-- (OK) PYTHON
--
-- The following optional packages were not enabled:
-- -------------------------------------------------
-- (--) PETSC
-- (--) TRILINOS
-- (--) SPHINX
-- (--) VTK
--
-- The following optional packages could not be found:
-- ---------------------------------------------------
-- (**) SLEPC
-- (**) UMFPACK
-- (**) CHOLMOD
-- (**) PASTIX
-- (**) SCOTCH
-- (**) HDF5

I use a processor:
model name    : Intel(R) Core(TM)2 Duo CPU     P7350  @ 2.00GHz
and 2GB RAM

I installed suitesparse but UMFPACK is not recognized, the same for HDF5 and SCOTCH

I would like to build dolfin over Arch Linux in a better way including trilinos,
petsc, umfpack and cholmod, but employing clang++.
I can do that with Dorsal?


Follow ups