Giter VIP home page Giter VIP logo

Comments (10)

rolk avatar rolk commented on July 19, 2024

Purely speculation: When MPI is not available, DUNE compiles in "serial" mode; however, when the MPI libraries suddenly "appears", DUNE detects this and wants to enable MPI support but there is some problem which then cascades up.

You'll have to do the REPORTING ISSUES dance from the bottom of the README (it really should be more visible) and post it here.

from opm-core.

andlaus avatar andlaus commented on July 19, 2024

When MPI is not available, DUNE compiles in "serial" mode

even worse: by default, it compiles in sequential mode even if MPI is around, unless the --enable-parallel switch is explicitly passed to the configure scripts. fun with libraries...

from opm-core.

rolk avatar rolk commented on July 19, 2024

it compiles in sequential mode even if MPI is around, unless the --enable-parallel switch is explicitly passed

That kind of goes against my hypothesis. I guess we'll have to wait for the logs to see what's really wrong.

from opm-core.

rolk avatar rolk commented on July 19, 2024

@laods Is this issue solved by a side-effect of some other change, or is it still relevant?

from opm-core.

laods avatar laods commented on July 19, 2024

I have not tested since I reported this issue, and because my position at Statoil is finished I will not be able to follow it up. I think @alfbr will have to decide whether this issue should be closed or if someone else will take responsibility for it.

from opm-core.

bska avatar bska commented on July 19, 2024

Issue re-assigned to @alfbr for evaluation. Should this be deferred to the 2014.03 release?

from opm-core.

rolk avatar rolk commented on July 19, 2024

The "on RHEL5 everything builds fine" that @laods mentioned in the first comment is:

-- Finding package MPI using module mode
-- Found MPI_C: /project/res/x86_64_RH_5.2/lib/libmpich.a;/usr/lib64/libpthread.so;/usr/lib64/librt.so 
-- Found MPI_CXX: /project/res/x86_64_RH_5.2/lib/libmpichcxx.a;/project/res/x86_64_RH_5.2/lib/libmpich.a;/usr/lib64/libpthread.so;/usr/lib64/librt.so 

(This is from the log of build 136 of opm-benchmarks; I have added it here as an illustration as that one is not publicly available). Notice that one uses MPICH and one uses OpenMPI. It is unknown (to me) whether MPICH is also installed on RHEL6.

My new hypothesis is now that the MPI libraries don't get added in cmake/Modules/OpmPackage.cmake:284 because the MPI package is "special" (see cmake/Modules/OpmFind.cmake:164).

from opm-core.

bska avatar bska commented on July 19, 2024

I'll defer this to (at least) the next release. If no resolution presents by that time, we'll reevaluate.

from opm-core.

rolk avatar rolk commented on July 19, 2024

My new hypothesis is now that the MPI libraries don't get added ... because the MPI package is "special"

I no longer believe this, since OpmPackage uses the same find_ routine as everything else, and I've also tested it on a Mac (where I can easily pull away MPI by doing brew unlink openmpi), and I cannot reproduce this problem.

from opm-core.

atgeirr avatar atgeirr commented on July 19, 2024

Since the issue is old, inactive and has not been reproduced by others, I will close it. Reopen if necessary.

from opm-core.

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.