Giter VIP home page Giter VIP logo

Comments (18)

rolk avatar rolk commented on July 19, 2024

that the symbol seems to be in libopmcore.a

That is probably only the import entry; you can verify this with:

objdump  -R  lib/libopmcore.a  |  grep dagmg_mumps

from opm-core.

rolk avatar rolk commented on July 19, 2024

Unable to reproduce; maybe it is related to the version of AGMG used.

from opm-core.

blattms avatar blattms commented on July 19, 2024

On Mon, Mar 18, 2013 at 02:59:07AM -0700, @rolk wrote:

That is probably only the import entry; you can verify this with:

objdump  -R  lib/libopmcore.a  |  grep dagmg_mumps

outputs:

objdump: BlackoilPvtProperties.cpp.o: not a dynamic object
objdump: BlackoilPvtProperties.cpp.o: Invalid operation

Reply to this email directly or view it on GitHub:
#206 (comment)

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany, USt-Id: DE279960836
Tel.: +49 (0) 160 97590858 Fax: +49 (0)322 1108991658

Please notice the new address!

from opm-core.

bska avatar bska commented on July 19, 2024
objdump  -R  lib/libopmcore.a  |  grep dagmg_mumps

outputs:

objdump: BlackoilPvtProperties.cpp.o: not a dynamic object
objdump: BlackoilPvtProperties.cpp.o: Invalid operation

What about

nm lib/libopmcore.a | grep dagmg_mumps

?

from opm-core.

rolk avatar rolk commented on July 19, 2024

@blattms Please try if the patch at rolk/opm-core:206_mumps solves the issue.

(There is however another problem with that: If I include that patch is my build, it fails on compiling dagmg_mumps.f90 -- apparently this module isn't 64-bit safe)

from opm-core.

blattms avatar blattms commented on July 19, 2024

On Mon, Mar 18, 2013 at 03:04:55AM -0700, Roland Kaufmann wrote:

Unable to reproduce; maybe it is related to the version of AGMG used.

It is version 3.1.2.

It seems like dgamg_mumps.f90 is not built on my system:

ls ./CMakeFiles/opmcore.dir/home/mblatt/src/3rdParty/AGMG_3.1.2/SRC/
dagmg.f90.o  dagmg.f90.o.provides.build

from opm-core.

rolk avatar rolk commented on July 19, 2024

It seems like dgamg_mumps.f90 is not built on my system

As said: rolk/opm-core:206_mumps should fix that. It will need a version of AGMG >= 3.1, but I'm inclined put that as a requirement, and put it in if that patch works.

from opm-core.

blattms avatar blattms commented on July 19, 2024

On Mon, Mar 18, 2013 at 03:34:51AM -0700, Roland Kaufmann wrote:

As said: rolk/opm-core:206_mumps should fix that. It will need a version of AGMG >= 3.1, but I'm inclined put that as a requirement, and put it in if that patch works.

That worked with a clean AGMG src directory (otherwise some old *.mod
files get reused) and an old compiler (GNU 4.4). (Apparently AGMG
cannot be compiled with gfortran-4.7).

from opm-core.

bska avatar bska commented on July 19, 2024

Apparently AGMG cannot be compiled with gfortran-4.7

That's right. Well, maybe the actual AGMG sources can be built with a recent compiler (I haven't tried), but the MUMPS support library definitely can not. I've only been able to use GFortran <= 4.4. This is one of the reasons why I don't generally recommend AGMG. The solver is fine when it works, but building it yourself is a sobering experience.

from opm-core.

rolk avatar rolk commented on July 19, 2024

the MUMPS support library definitely can not

Is it a feasible approach to use system-provided mumps libraries (libmumps-dev on Debian), and remove the agmg prefix in front of the mumps calls inside main AGMG?

from opm-core.

blattms avatar blattms commented on July 19, 2024

On Mon, Mar 18, 2013 at 03:10:50PM -0700, Roland Kaufmann wrote:

the MUMPS support library definitely can not

Is it a feasible approach to use system-provided mumps libraries
(libmumps-dev on Debian), and remove the agmg prefix in front of
the mumps calls inside main AGMG?

Sounds like a lot of maintainance work for OPM, which should normally
be done upstream.

from opm-core.

atgeirr avatar atgeirr commented on July 19, 2024

There has been no PR for this issue, should we merge before release with your '206_*' branch, @rolk?

from opm-core.

rolk avatar rolk commented on July 19, 2024

should we merge before release with your '206_*' branch, @rolk?

I am not quite sure. To me it seems that not using the mumps part you may be able to get a sequential version going, whatever that is worth. With it, the build will probably break when using a newer toolchain. Neither is particulary good options. Someone more familiar with AGMG than me may be able to give better advise.

from opm-core.

atgeirr avatar atgeirr commented on July 19, 2024

I'll assign this to the next release then, unless there are lots of protesting.

from opm-core.

rolk avatar rolk commented on July 19, 2024

maybe the actual AGMG sources can be built with a recent compiler (I haven't tried), but the MUMPS support library definitely can not

Is it a feasible approach to use system-provided mumps libraries (libmumps-dev on Debian), and remove the agmg prefix in front of the mumps calls inside main AGMG?

Sounds like a lot of maintainance work for OPM, which should normally be done upstream.

How about providing a dummy dagmg_mumps.f90 which only contain declarations of the subroutines, and then call the ones wthout the agmg prefix (i.e. the system ones). Then we include dagmg.f90 and the dummy in our project and link with system mumps?

from opm-core.

bska avatar bska commented on July 19, 2024

How about wrapping the system MUMPS library in a dummy dagmg_mumps.f90 module whereby AGMG's prerequisites can be satisfied?

That's actually a very good idea. At least in theory. I don't know how much work it would be to actually execute this plan in practice though. Having (briefly) reviewed the AGMG source, the MUMPS library calls appear to be rather tightly coupled to the AGMG structure. At the very least we will need to study the AGMG code rather more thoroughly than I've done until now.

Does anyone have the time (and inclination) to come up with an overview of the extent of required work?

from opm-core.

rolk avatar rolk commented on July 19, 2024

May be fixed in #308; please re-test.

from opm-core.

rolk avatar rolk commented on July 19, 2024

Rendered irrelevant by #308 and #314

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.