← Back to team overview

yade-users team mailing list archive

[Question #217584]: virtual memory exhausted: on using "make"

 

New question #217584 on Yade:
https://answers.launchpad.net/yade/+question/217584

Hi, all
   I have trouble installing YADE. At first, I followed the steps normally. However, the error occured on when I used "make" .

 ( The source is "yade-trunk-0.90.3.tar.gz", ( Platform:ubuntun 12.04))

how to do with it, thank you very much!

lxg@ubuntu:~$ cd ~/yade
lxg@ubuntu:~/yade$ mkdir ./build
lxg@ubuntu:~/yade$ cd ./build
lxg@ubuntu:~/yade/build$ cmake .
-- Found Qt4: /usr/bin/qmake (found version "4.8.3") 
-- Version is set to 0.90.3
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   python
--   thread
--   date_time
--   filesystem
--   iostreams
--   regex
--   serialization
--   Boost_VERSION: 104900
--   Boost_LIB_VERSION: 1_49
--   Boost_INCLUDE_DIRS: /usr/include
--   Boost_LIBRARIES: /usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so
-- Found Eigen3
-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GTS
-- Found Qt4: /usr/bin/qmake (found version "4.8.3") 
-- Found QGLViewer: /usr/lib/i386-linux-gnu/libqglviewer-qt4.so
-- Found GUI-LIBS
-- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so /usr/lib/i386-linux-gnu/libgmpxx.so
-- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so /usr/lib/i386-linux-gnu/libgmpxx.so
-- Found CGAL
-- Found GL2PS
Yade will be installed to default path /usr/local, if you want to override it use -DINSTALL_PREFIX option.
-- Suffix is set to -0.90.3
-- LIBRARY_OUTPUT_PATH is set to lib
-- runtimePREFIX is set to /usr/local
-- ===========================================================
-- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL GL2PS
-- Disabled features:
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lxg/yade/build

lxg@ubuntu:~/yade/build$ make -j 4

...
[ 19%] Built target _gts
[ 19%] Built target _packObb
[ 19%] Built target support
[ 19%] [ 19%] [ 19%] [ 19%] Building CXX object CMakeFiles/core.dir/core/InteractionContainer.cpp.o
Building CXX object CMakeFiles/core.dir/core/Clump.cpp.o
Building CXX object CMakeFiles/core.dir/core/Interaction.cpp.o
Building CXX object CMakeFiles/core.dir/core/TimeStepper.cpp.o
virtual memory exhausted: 无法分配内存
make[2]: *** [CMakeFiles/core.dir/core/Clump.cpp.o] 错误 1
make[2]: *** 正在等待未完成的任务....
virtual memory exhaustedvirtual memory exhausted: : 无法分配内存
无法分配内存
virtual memory exhausted: 无法分配内存
make[2]: *** [CMakeFiles/core.dir/core/Interaction.cpp.o] 错误 1
make[2]: *** [CMakeFiles/core.dir/core/InteractionContainer.cpp.o] 错误 1
make[2]: *** [CMakeFiles/core.dir/core/TimeStepper.cpp.o] 错误 1
make[1]: *** [CMakeFiles/core.dir/all] 错误 2
make: *** [all] 错误 2


You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.