Coder Social home page Coder Social logo

Comments (6)

xgdgsc avatar xgdgsc commented on July 18, 2024

What OS is it and how did you install MPI?

from somoclu.

peterwittek avatar peterwittek commented on July 18, 2024

Please also look into the relevant flags of the configure script to fine-tune the location of the MPI directories:

--with-mpi=MPIROOT      Use MPI root directory.
--with-mpi-compilers=DIR or --with-mpi-compilers=yes
                          use MPI compiler (mpicxx) found in directory DIR, or
                          in your PATH if =yes
--with-mpi-incdir=DIR   MPI include directory [default MPIROOT/include]
--with-mpi-libdir=DIR   MPI library directory [default MPIROOT/lib]

from somoclu.

usptact avatar usptact commented on July 18, 2024

Thanks for replies. I tried under Debian 7.0 and Ubuntu 14.04. I installed the mpich packages (dev versions as well) from the software repository. I checked that the system include directories actually have the mpi.h file. This is how I was certain (more or less) that MPI has been installed.

Do you need more details?

from somoclu.

peterwittek avatar peterwittek commented on July 18, 2024

MPICH is a bit quirkier than, say, OpenMPI, but I compiled and ran Somoclu with it before. What do you get for find /usr -name mpi.h?

In any case, please note that MPI is required if you want to run it on a cluster. If you only want to run it on a multicore machine, then that level of parallelism is taken care of by OpenMP, so you might not need MPI at all.

from somoclu.

xgdgsc avatar xgdgsc commented on July 18, 2024

@usptact I just tried in a ubuntu 14.04 machine.
Installing mpich with:

apt install mpich

and run the configure script with:

./configure --with-mpi=/usr/

works.

from somoclu.

usptact avatar usptact commented on July 18, 2024

The ``--with-mpi=/usr/'' parameter was the key! Everything compiles and runs on both machines! Thanks for all your work and help with this issue!

from somoclu.

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.