diff --git a/README b/README index 8c7c522f..f9da5993 100644 --- a/README +++ b/README @@ -46,11 +46,17 @@ sudo apt-get install -y build-essential gfortran pkg-config libtool \ sudo apt-get install -y doxygen ghostscript texlive-latex-recommended pgf # packages necessary for version control -sudo apt-get install -y git-core git-svn subversion +sudo apt-get install -y git-core -# libraries necessary for DUNE +# basic libraries necessary for both DUNE and OPM sudo apt-get install -y libboost-all-dev libsuperlu3-dev libsuitesparse-dev +# add this repository for necessary backports (required for Ubuntu Precise) +sudo add-apt-repository -y ppa:opm/ppa + +# parts of DUNE needed +sudo apt-get install -y libdune-common-dev libdune-istl-dev + # libraries necessary for OPM sudo apt-get install -y libxml0-dev @@ -59,33 +65,14 @@ DEPENDENCIES FOR SUSE BASED DISTRIBUTIONS ----------------------------------------- # libraries -sudo zypper install blas libblas3 lapack liblapack3 libboost libxml2 umfpack +sudo zypper in blas libblas3 lapack liblapack3 libboost libxml2 umfpack # tools -sudo zypper install gcc automake autoconf git doxygen +sudo zypper in gcc automake autoconf git doxygen - -RETRIEVING AND BUILDING DUNE PREREQUISITES ------------------------------------------- - -(only necessary if you want to use opm-core as a dune module) - -# trust DUNE certificate (sic) -echo p | svn list https://svn.dune-project.org/svn/dune-common - -# checkout DUNE libraries -for module in common istl geometry grid localfunctions; do - git svn clone -s \ - https://svn.dune-project.org/svn/dune-$module/branches/release-2.2/ \ - dune-$module -done - -# building DUNE libraries -for module in common istl geometry grid localfunctions; do - env CCACHE_DISABLE=1 dune-common/bin/dunecontrol --only=dune-$module \ - --configure-opts="--enable-fieldvector-size-is-method" \ - --make-opts="-j -l 0.8" autogen : configure : make -done +# DUNE libraries +sudo zypper ar http://download.opensuse.org/repositories/science/openSUSE_12.2/science.repo +sudo zypper in dune-common dune-istl DOWNLOADING @@ -100,20 +87,10 @@ If you want to contribute, fork OPM/opm-core on github. BUILDING -------- -(standalone opm-core:) - - cd ../opm-core + cd opm-core autoreconf -i ./configure make - sudo make install - -(using opm-core as a dune module:) - - # note: this is done from the parent directory of opm-core - env CCACHE_DISABLE=1 dune-common/bin/dunecontrol --only=opm-core \ - --configure-opts="" --make-opts="-j -l 0.8" autogen : configure : make - DOCUMENTATION