Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Installation of SUMO-1.6.0 Latest Release on Linux failure

That solves the problem - thanks, Michael!

Kevin

On Tue, Sep 1, 2020 at 8:48 AM Michael Behrisch <oss@xxxxxxxxxxx> wrote:
Hi,
try to give a fixed number after the -j such as make -j8.
The "make -j$(nproc)" below should limit the number of parallel
processes to the number of processors in your machine. If you just start
"make -j", the process will start as many parallel processes as it can,
resulting in overloading your main memory.

Best regards,
Michael


Am 31.08.20 um 21:17 schrieb Kevin Lin:
> Hi!
>
> I'm on Ubuntu 18.04 and I'm installing sumo using the instructions below
>
> |sudo apt-get install cmake python g++ libxerces-c-dev libfox-1.6-dev libgdal-dev libproj-dev libgl2ps-dev swig
> git clone --recursive https://github.com/eclipse/sumo
>  export SUMO_HOME="$PWD/sumo"
>  mkdir sumo/build/cmake-build && cd sumo/build/cmake-build  cmake ../..
>  make -j$(nproc) |
>
> (from https://sumo.dlr.de/docs/Installing/Linux_Build.html)
>
>  cmake ../..  gives me:
>
> (bayesian_traffic) thankyou-always@thankyou:~/sumo/build/cmake-build$
>  cmake ../..
> -- CMAKE_BINARY_DIR: /home/thankyou-always/sumo/build/cmake-build
> -- CMAKE_SOURCE_DIR: /home/thankyou-always/sumo
> --
> -- Platform:
> --     Host: Linux-5.4.0-42-generic x86_64
> --     Target: Linux-5.4.0-42-generic x86_64
> --     CMake: 3.10.2
> --     CMake generator: Unix Makefiles
> --     CMake build tool: /usr/bin/make
> --     Compiler: GNU 7.5.0
> --
> -- Found Python:
> /home/thankyou-always/anaconda3/envs/bayesian_traffic/bin/python
> -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_MAIN_LIBRARY)
> -- Found Proj: /usr/lib/x86_64-linux-gnu/libproj.so
> -- Found Fox: -L/usr/lib/x86_64-linux-gnu -lFOX-1.6 -lX11 -lXext
> -lfreetype -lfontconfig -lXft -lXcursor -lfreetype -lfontconfig
> -lfreetype -lGL -lGLU -ldl -lpthread -lrt -ljpeg -lpng -ltiff -lz -lGLU -lGL
> -- Could NOT find suitable FFmpeg.
> -- Could NOT find osgGA (missing: OSGGA_LIBRARY OSGGA_INCLUDE_DIR)
> -- Could NOT find osgViewer (missing: OSGVIEWER_LIBRARY
> OSGVIEWER_INCLUDE_DIR)
> -- Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
> -- Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
> -- Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR)
> -- Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
> -- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY
> OPENTHREADS_INCLUDE_DIR)
> -- Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
> OPENSCENEGRAPH_INCLUDE_DIR) (Required is at least version "3.4.0")
> -- Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
> (Required is at least version "3.2")
> -- Found Java: /usr/bin/java (found version "11.0.8") found components:
>  Development
> -- Found Java: /usr/bin/java (found version "11.0.8")
> -- Enabled features: Linux-5.4.0-42-generic x86_64 GNU 7.5.0 Release
> Proj GUI SWIG GDAL GL2PS
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/thankyou-always/sumo/build/cmake-build
>
> -----------------------------------------------------------------------------------------------------------------------
>
> My conda env has python 3.7.0. However, when I run, make -j, I get up to
> 67% and then my laptop freezes and shuts down. Would you know what might
> be wrong? 
>
> Kevin
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
>



Back to the top