Giter Club home page Giter Club logo

Comments (3)

lovettchris avatar lovettchris commented on July 17, 2024 4

> ImportError: libmpi_cxx.so.1: cannot open shared object file: No such file or directory

I wonder if "sudo apt-get install libopenmpi-dev" will solve this problem?

There's a lot more CNTK Linux instructions if that doesn't work, one would assume the conda cntk python package should have taken care of all these prerequisites, but perhaps it has a bug...

from ell.

codelast avatar codelast commented on July 17, 2024

@lovettchris Thank you for providing the info, I'll try it later.

from ell.

codelast avatar codelast commented on July 17, 2024

@lovettchris
sudo apt-get install libopenmpi-dev can't solve the problem because on Ubuntu 14.04 the package installed by this way is too old:

[codelast@ ~]$ apt-cache show libopenmpi-dev
Version: 1.6.5-8

[codelast@ ~]$ ll /usr/lib/libmpi.so*
lrwxrwxrwx 1 root root 27 7 12 00:03 /usr/lib/libmpi.so -> /etc/alternatives/libmpi.so
lrwxrwxrwx 1 root root 15 12 29 2013 /usr/lib/libmpi.so.1 -> libmpi.so.1.0.8
lrwxrwxrwx 1 root root 27 12 29 2013 /usr/lib/libmpi.so.1.0.8 -> openmpi/lib/libmpi.so.1.0.8

While ELL requires libmpi.so.12, so I have to do the following things:

(1) uninstall all the openmpi-related packages on my Ubuntu 14.04:

sudo apt-get remove libmpich-dev mpi-default-dev libopenmpi-dev libopenmpi1.6 openmpi-common

(2) download the openmpi-1.10.2.tar.gz package on this web page, and then :

tar zxf openmpi-1.10.2.tar.gz
cd openmpi-1.10.2/
./configure
make
sudo make install

(3) check the installation:

[codelast@ ~]$ sudo find ./ -name libmpi.so.12
./usr/local/lib/libmpi.so.12

That's it! Problem solved!

from ell.

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.