Compare commits

...

10 Commits

Author SHA1 Message Date
Arne Morten Kvarving
5ada546545 bump packaging version to 2017.04 final 2017-04-26 11:22:03 +02:00
Arne Morten Kvarving
91812f7907 bump version to 2017.04 2017-04-26 11:21:55 +02:00
Arne Morten Kvarving
f49e16bf89 bump packaging version to 2017.04 rc2 2017-04-21 15:19:38 +02:00
Arne Morten Kvarving
9c833a6a06 bump version to 2017.04-rc2 2017-04-21 15:18:42 +02:00
Tor Harald Sandve
35219cb87c FIX memory leakage in well_controls
The Alq and vfp is set free in well_controls_destroy to avoid memory
leakage.
2017-04-21 13:18:20 +02:00
Andreas Lauser
e0b27eb877 fix non-MPI builds
some headers must be included unconditionally.
2017-04-21 13:18:12 +02:00
Arne Morten Kvarving
e97ffd6f62 bump packaging versions to 2017.04 rc1 2017-04-18 12:18:02 +02:00
Arne Morten Kvarving
ddd0d37e28 remove binary package
no binaries left here
2017-04-18 12:18:02 +02:00
Arne Morten Kvarving
1bd1353738 add new dependencies 2017-04-18 12:16:56 +02:00
Andreas Lauser
bd23e2ab11 Change the version to 2017.04 2017-04-13 12:58:55 +02:00
8 changed files with 16 additions and 57 deletions

14
debian/changelog vendored
View File

@ -1,17 +1,5 @@
opm-core (2013.10-2~precise) precise; urgency=low
opm-core (2017.04-rfinal-1~xenial) xenial; urgency=low
* New release
-- Arne Morten Kvarving <arne.morten.kvarving@sintef.no> Tue, 22 Oct 2013 12:22:29 +0200
opm-core (2013.03-2) precise; urgency=low
* Now compatible with precise + launchpad
-- Arne Morten Kvarving <arne.morten.kvarving@sintef.no> Wed, 03 Apr 2013 12:27:52 +0200
opm-core (2013.03-1) precise; urgency=low
* Initial release
-- Arne Morten Kvarving <arne.morten.kvarving@sintef.no> Mon, 14 Jan 2013 15:33:54 +0100

22
debian/control vendored
View File

@ -9,7 +9,8 @@ Build-Depends: build-essential, debhelper (>= 9), libboost-filesystem-dev,
libopm-material-dev, texlive-latex-extra, texlive-latex-recommended,
ghostscript, libboost-iostreams-dev, libopm-common-dev,
libopm-material-dev, libopenmpi-dev, mpi-default-bin,
libtrilinos-zoltan-dev, libopm-output-dev
libtrilinos-zoltan-dev, libopm-output-dev,
libopm-grid-dev, libdune-geometry-dev, libdune-grid-dev
Standards-Version: 3.9.2
Section: libs
Homepage: http://opm-project.org
@ -54,25 +55,6 @@ Description: OPM core library
* Utilities (input and output processing, unit conversion)
* Wells (basic well handling)
Package: libopm-core1-bin
Section: science
Pre-Depends: ${misc:Pre-Depends}, multiarch-support
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: libopm-core-bin
Description: OPM core library -- applications
The OPM core library is the core library within OPM and contains
* Eclipse deck input and preprosessing
* Fluid properties (basic PVT models and rock properties)
* Grid handling (cornerpoint grids, unstructured grid interface)
* Linear Algebra (interface to different linear solvers)
* Pressure solvers (various discretization schemes, flow models)
* Simulators (some basic examples of simulators based on sequential splitting schemes)
* Transport solvers (various discretization schemes, flow models)
* Utilities (input and output processing, unit conversion)
* Wells (basic well handling)
Package: libopm-core1-doc
Section: doc
Architecture: all

View File

@ -1 +0,0 @@
usr/bin/*

2
debian/rules vendored
View File

@ -21,7 +21,7 @@ override_dh_auto_build:
# consider using -DUSE_VERSIONED_DIR=ON if backporting
override_dh_auto_configure:
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_MPI=1 -DSTRIP_DEBUGGING_SYMBOLS=ON -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-core1 -DWHOLE_PROG_OPTIM=ON -DUSE_RUNPATH=OFF
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_MPI=1 -DSTRIP_DEBUGGING_SYMBOLS=ON -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-core1 -DWHOLE_PROG_OPTIM=ON -DUSE_RUNPATH=OFF -DWITH_NATIVE=OFF
override_dh_auto_install:
dh_auto_install -- install-html

View File

@ -5,8 +5,8 @@
Module: opm-core
Description: Open Porous Media Initiative Core Library
Version: 2017.04-pre
Label: 2017.04-pre
Version: 2017.04
Label: 2017.04
Maintainer: atgeirr@sintef.no
MaintainerName: Atgeirr F. Rasmussen
Url: http://opm-project.org

View File

@ -27,6 +27,12 @@
#include <boost/any.hpp>
#include <exception>
#include <algorithm>
#include <functional>
#include <limits>
#include <numeric>
#include <type_traits>
#if HAVE_MPI && HAVE_DUNE_ISTL
#include <opm/common/utility/platform_dependent/disable_warnings.h>
@ -37,12 +43,6 @@
#include <dune/common/enumset.hh>
#include <opm/common/utility/platform_dependent/reenable_warnings.h>
#include <algorithm>
#include <functional>
#include <limits>
#include <numeric>
#include <type_traits>
namespace Opm
{
namespace

View File

@ -127,6 +127,8 @@ well_controls_destroy(struct WellControls *ctrl)
free (ctrl->distr);
free (ctrl->target);
free (ctrl->type);
free (ctrl->alq);
free (ctrl->vfp);
}
free(ctrl);

View File

@ -2,10 +2,10 @@
# spec file for package opm-core
#
%define tag rc3
%define tag final
Name: opm-core
Version: 2013.10
Version: 2017.04
Release: 0
Summary: Open Porous Media - core library
License: GPL-3.0
@ -51,15 +51,6 @@ BuildArch: noarch
%description doc
This package contains the documentation files for opm-core
%package bin
Summary: Applications in opm-core
Group: Scientific
Requires: %{name} = %{version}
Requires: libopm-core1 = %{version}
%description bin
This package contains the applications for opm-core
%prep
%setup -q -n %{name}-release-%{version}-%{tag}
@ -97,6 +88,3 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_datadir}/cmake/*
%files bin
%{_bindir}/*