Giter Site home page Giter Site logo

Segmentation fault 11 Error about eems HOT 2 CLOSED

dipetkov avatar dipetkov commented on September 5, 2024
Segmentation fault 11 Error

from eems.

Comments (2)

dipetkov avatar dipetkov commented on September 5, 2024

No, I don't have an idea. I can build and run EEMS on macOS after installing Eigen and Boost with Homebrew.

I can also build and run EEMS on a Linux server. Here are instructions how I did it on a Ubuntu server on AWS E2.

Choose the following Ubuntu AMI

Ubuntu Server 18.04 LTS (HVM), SSD Volume Type - ami-06358f49b5839867c (64-bit x86)

launch a t2.small instance and follow these steps to download Eigen and Boost, to compile and install Boost, to build and run EEMS:

git clone https://github.com/dipetkov/eems.git
sudo apt-get install gcc libxml2-dev g++ make

wget -c http://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2
wget -c https://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.bz2

tar jxf 3.3.7.tar.bz2
sudo mkdir -p /usr/local/opt/eigen/include
sudo mv eigen-eigen-323c052e1731/ /usr/local/opt/eigen/include/eigen3

tar jxf boost_1_62_0.tar.bz2
cd boost_1_62_0/
sudo ./bootstrap.sh --prefix=/usr/local/
sudo ./b2 --with-program_options --with-filesystem --with-system install

cd ../eems/runeems_sats/src/
make linux

./runeems_sats --params params-chain1.ini --seed 123

Installation is easy with sudo rights. Also EEMS needs only three Boost libraries. So instead of

sudo ./b2 install

it is sufficient to do

sudo ./b2 --with-program_options --with-filesystem --with-system install

That’s it!

from eems.

dipetkov avatar dipetkov commented on September 5, 2024

With sudo it's much easier to install on ubuntu. Follow these steps:

  1. Install boost with sudo apt-get install libboost-all-dev.
  2. Install eigen3 with sudo apt-get install libeigen3-dev.
  3. Update EIGEN_INC in the Makefile.
    EIGEN_INC = /usr/include/eigen3
    

from eems.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.