From joaho at statoil.com Wed May 10 11:45:06 2017 From: joaho at statoil.com (Joakim Hove) Date: Wed, 10 May 2017 11:45:06 +0000 Subject: [Opm] Change from ERT to libecl Message-ID: Hello, we have split the rather large ERT repository in three parts. The part relevant to OPM is now called 'libecl' and can be found here: https://github.com/Statoil/libecl The libecl repository contains the parts from ERT relevant to OPM/Resinsight. The build system has been updated to find either ert or libecl, so for the time beeing no changes are required - but at some stage in the future you are encouraged to replace ert on your system with libecl. The libecl package is of course a much smaller and more easily managed dependency; no promises just yet - but we are certainly approaching a situation where we should be able to promise binary compatibility between OPM releases. With some assistance from Arne Morten libecl now generates cmake configuration files, so as an alternative to the FindERT+++ macros (which still work) in the opm-common/cmake system you can do: find_package( libecl ) ... ... target_link_libraries( target ${libecl_LIBRARIES} ) Joakim ------------------------------------------------------------------- The information contained in this message may be CONFIDENTIAL and is intended for the addressee only. Any unauthorised use, dissemination of the information or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From kingaj at us.ibm.com Fri May 19 20:05:34 2017 From: kingaj at us.ibm.com (Alan King) Date: Fri, 19 May 2017 20:05:34 +0000 Subject: [Opm] Extracting matrices and right-hand sides Message-ID: An HTML attachment was scrubbed... URL: From and at poware.org Fri May 19 22:16:49 2017 From: and at poware.org (Andreas Lauser) Date: Sat, 20 May 2017 00:16:49 +0200 Subject: [Opm] Extracting matrices and right-hand sides In-Reply-To: References: Message-ID: <2199072.PB97rJTLjf@singularius> Hi, On Freitag, 19. Mai 2017 22:05:34 CEST Alan King wrote: > I'd like to be able to extract the matrices and right-hand sides that are > sent to the solvers. Does anyone have some pointers on where in the code I > can look to write a dump routine? Easy, look here: https://github.com/OPM/opm-simulators/blob/master/opm/autodiff/ BlackoilModelEbos.hpp#L451 The residual can be printed simply by using std::cout << ebosResid; For its Jacobian matrix, I recommend Dune::printSparseMatrix(std::cout, ebosJac, "J", "row"); Because you probably don't want to be flooded by dozens of millions of boring zero entries. If I remember correctly, there are also some routines in Dune which output matrices and vectors to standardized format like MatrixMarket. I haven't personally used them yet, though. cheers Andreas -- Just because a patch doesn't solve world hunger isn't really a good reason to reject it. -- Daniel Vetter -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: This is a digitally signed message part. URL: From markus at dr-blatt.de Sat May 20 09:20:51 2017 From: markus at dr-blatt.de (Markus Blatt) Date: Sat, 20 May 2017 11:20:51 +0200 Subject: [Opm] Extracting matrices and right-hand sides In-Reply-To: <2199072.PB97rJTLjf@singularius> References: <2199072.PB97rJTLjf@singularius> Message-ID: <20170520092051.GA2092@boromir.dr-blatt.de> Hi, On Sat, May 20, 2017 at 12:16:49AM +0200, Andreas Lauser wrote: > ... zero entries. If I remember correctly, there are also some routines in Dune > which output matrices and vectors to standardized format like MatrixMarket. I > haven't personally used them yet, though. Sure there are. Located in dune-istl dune/istl/matrixmarket.hh Dune::writeMatrixMarket https://www.dune-project.org/doxygen/2.5.0/group__ISTL__IO.html#ga8da01d126c9f37e57fa4f719e1d05487 Cheers, Markus -- 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: From markus at dr-blatt.de Mon May 29 08:36:21 2017 From: markus at dr-blatt.de (Markus Blatt) Date: Mon, 29 May 2017 10:36:21 +0200 Subject: [Opm] Travis flooded with CMake warnings Message-ID: <20170529083621.GA6718@boromir.dr-blatt.de> Hi, looks like somebody updated the CMake version on the build server and did not update the CMake scripts with policy settings. No the travis logs are flooded with policy warnings and not displayed completely because of their length (This log is too long to be displayed. Please reduce the verbosity of your build or download the raw log.) https://travis-ci.org/OPM/opm-simulators/builds/235220937?utm_source=github_status&utm_medium=notification Could we either downgrade CMake, set the correct policies, or simply use -Wno-dev to suppress these warnings when building- Cheers, Markus -- 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 From joakim.hove at gmail.com Mon May 29 09:21:00 2017 From: joakim.hove at gmail.com (Joakim Hove) Date: Mon, 29 May 2017 11:21:00 +0200 Subject: [Opm] Travis flooded with CMake warnings In-Reply-To: <20170529083621.GA6718@boromir.dr-blatt.de> References: <20170529083621.GA6718@boromir.dr-blatt.de> Message-ID: Hello; what has happened here is: 1. libecl requires cmake 2.8.12 (seems there are quite large changes in the 2.8.xx series of cmake). 2. Travis will by default build on Ubuntu 12.04; with this: https://github.com/OPM/opm-parser/blob/master/.travis.yml#L11 a backport of cmake 2.8.12 is installed on the travis build. 3. A large chunk of these warnings come from Eigen - they should have been silenced with this: https://github.com/OPM/opm-simulators/pull/1187 So - all in all; I agree with the problem you describe - however I think the main culprit has been fixed? Joakim On Mon, May 29, 2017 at 10:36 AM, Markus Blatt wrote: > Hi, > > looks like somebody updated the CMake version on the build server and > did not update the CMake scripts with policy settings. No the travis > logs are flooded with policy warnings and not displayed completely > because of their length (This log is too long to be displayed. Please > reduce the verbosity of your build or download the raw log.) > https://travis-ci.org/OPM/opm-simulators/builds/235220937? > utm_source=github_status&utm_medium=notification > > Could we either downgrade CMake, set the correct policies, or simply > use -Wno-dev to suppress these warnings when building- > > Cheers, > > Markus > -- > 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 > _______________________________________________ > Opm mailing list > Opm at opm-project.org > http://opm-project.org/cgi-bin/mailman/listinfo/opm > -------------- next part -------------- An HTML attachment was scrubbed... URL: