Hi Pedro, Pedro Guarderas writes:
> 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 It could be that you need some more memory, I seem to remember this steps needs about 1GB. > 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 I put some PKGBUILD scripts in the AUR maybe you can adapt them to your needs. Search for dolfin-dev. Myles _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp