<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Benedikt,<div class=""><br class=""></div><div class="">thank you for your quick response. Indeed, I work in Kurt Roth’s group and have been doing so since my Bachelor’s thesis :)</div><div class=""><br class=""></div><div class="">As stated in the GitLab Issue, I built ParMETIS locally because it is not available from Homebrew. I dug a bit into the <a href="https://gitlab.dune-project.org/core/dune-common/blob/master/cmake/modules/FindParMETIS.cmake" class="">FindParMETIS.cmake</a> module and noticed that it tries to locate the METIS library inside the ParMETIS root directory. I also noticed that METIS is actually included in the ParMETIS source tarball. However, the METIS library is not installed into the ParMETIS prefix directory when I execute `make install` for ParMETIS.</div><div class=""><br class=""></div><div class="">This all makes very little sense to me. Should I build both METIS and ParMETIS from source and install them into the *same* prefix directory?</div><div class=""><br class=""></div><div class="">Cheers</div><div class="">Lukas<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 21. Aug 2019, at 10:53, Benedikt Oswald <<a href="mailto:benedikt.oswald@lspr.swiss" class="">benedikt.oswald@lspr.swiss</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
  
  <div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Good morning Lukas, I attach part of my opts file for compiling
      Dune,using Parmetis on Mac OS X.</p><p class="">It works, I suggest, that you install Parmetis from the ground
      up, not using brew, if you haven't done so already.<br class="">
    </p><p class="">I understand that you work in the soil physics group of comrade
      Kurt ?</p><p class="">Greetings, Benedikt</p><p class="">====================<br class="">
    </p><p class="">USE_CMAKE=yes<br class="">
      <br class="">
      MAKE_FLAGS="-j"<br class="">
      <br class="">
      #CONFIGURE_FLAGS="--enable-parallel
      --enable-experimental-grid-extensions" <br class="">
      CONFIGURE_FLAGS="--enable-parallel
      --enable-experimental-grid-extensions CC=mpicc CXX=mpicxx
      FC=mpif90" <br class="">
      <br class="">
      ## Paths to modules automatically found by CMake<br class="">
      #CMAKE_PREFIX_PATH="\<br class="">
      #/opt/extlib/boost/1.70.0/gcc/9.1.0; \<br class="">
      #"<br class="">
      <br class="">
      <br class="">
      <br class="">
      <br class="">
      ## Debug opts<br class="">
      ## GXX_WARNING_OPTS="-Wall -pedantic" <br class="">
      ## GXX_OPTS="-O0 -g3"<br class="">
      <br class="">
      ## Release opts<br class="">
      GXX_WARNING_OPTS="-Wall"<br class="">
      #GXX_OPTS="-O2 -g3 -ftemplate-backtrace-limit=0"<br class="">
      GXX_OPTS="-O2 -g1"<br class="">
      <br class="">
      <br class="">
      ## Paths to modules manually found by Dune and Hades3d<br class="">
      CMAKE_FLAGS="-DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx
      -DCMAKE_FC_COMPILER=mpif90 -DMPI_Fortran_COMPILER=mpif90 \<br class="">
      -DCMAKE_CXX_FLAGS=\"$GXX_WARNING_OPTS $GXX_OPTS \" \<br class="">
      -DELEKTRA3D_FLAGS=\" -DHAVE_DEBUG -DHAVE_PARMETIS -DHAVE_CURVGRID
      -DHAVE_GA \" \<br class="">
      -DBOOSTROOT=\"/opt/extlib/boost/1.70.0/gcc/9.1.0\" \<br class="">
      \<br class="">
      -DMETIS_ROOT=\"/opt/extlib/metis/5.1.0/gcc/9.1.0\" \<br class="">
-DPARMETIS_ROOT=\"/opt/extlib/parmetis/4.0.3/openmpi/4.0.1/gcc/9.1.0\" \<br class="">
-DPTSCOTCH_ROOT=\"/opt/extlib/scotch/6.0.7/openmpi/4.0.1/gcc/9.1.0\" \<br class="">
      \<br class="">
-DSUPERLUDIST_ROOT=\"/opt/extlib/superludist/6.1.1/openmpi/4.0.1/gcc/9.1.0\"
      \<br class="">
      \<br class="">
      -DPETSC_ROOT=\"/opt/extlib/petsc/3.11.2/openmpi/4.0.1/gcc/9.1.0\"
      \<br class="">
      -DSLEPC_ROOT=\"/opt/extlib/slepc/3.11.1/openmpi/4.0.1/gcc/9.1.0\"
      \<br class="">
      -DFEAST_ROOT=\"/opt/extlib/feast/3.0/openmpi/4.0.1/gcc/9.1.0\" \<br class="">
      -DFEAST_ADDITIONAL_LINKER_FLAGS=\"-L/opt/intel/2019.3/mkl/lib
      -L/opt/intel/2019.3/lib -lmkl_intel_lp64 -lmkl_intel_thread
      -lmkl_core -lmkl_sequential -lmkl_lapack95_lp64 -liomp5 -lpthread
      -lm -lgfortran -lmpi_mpifh -lmpi\" \<br class="">
      -DCMAKE_PREFIX_PATH=\"$CMAKE_PREFIX_PATH\" \<br class="">
      -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE \<br class="">
      -DCMAKE_SHARED_LINKER_FLAGS=\"-L/Applications/conda/anaconda3/lib
      -lz -lpython3.7m \" \<br class="">
      "<br class="">
      =========================================<br class="">
    </p><p class=""><br class="">
    </p><p class=""><br class="">
    </p>
    <div class="moz-cite-prefix">Am 21.08.19 um 10:49 schrieb Lukas
      Riedel:<br class="">
    </div>
    <blockquote type="cite" cite="mid:C6D55278-C996-4D73-8FB0-B706DC639F2E@iup.uni-heidelberg.de" class="">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
      <div class="">Hi everybody,</div>
      <div class=""><br class="">
      </div>
      <div class="">I recently raised an Issue in the dune-istl
        repository because I’m unable to get DUNE to bind to my ParMETIS
        installation on macOS: <a href="https://gitlab.dune-project.org/core/dune-istl/issues/77" class="" moz-do-not-send="true">https://gitlab.dune-project.org/core/dune-istl/issues/77</a>.
        I am not sure if this was the right repository to raise it
        because the problem is likely rooted in the FindParMETIS.cmake
        module which is located in dune-common. But as dune-common does
        not search for ParMETIS, the problem occurs when building
        dune-istl.</div>
      <div class=""><br class="">
      </div>
      <div class="">You’ll find all logs and information on my
        configuration in the Issue.</div>
      <div class=""><br class="">
      </div>
      <div class="">Thank you in advance for any help!</div>
      <div class="">Cheers,</div>
      <div class="">Lukas</div>
      <br class="">
      <div class="">
        <div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
          <div dir="auto" style="word-wrap: break-word;
            -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
            <div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">---------------------------------------------</div>
            <div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Institute of
              Environmental Physics</div>
            <div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Im Neuenheimer Feld 229</div>
            <div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">D–69120 Heidelberg</div>
            <div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://ts.iup.uni-heidelberg.de/" class="" moz-do-not-send="true">http://ts.iup.uni-heidelberg.de</a></div>
            <div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Tel: +49 (0)6221 54 6379</div>
          </div>
        </div>
      </div>
      <br class="">
      <br class="">
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@lists.dune-project.org">Dune@lists.dune-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.dune-project.org/mailman/listinfo/dune">https://lists.dune-project.org/mailman/listinfo/dune</a></pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 

----------------------------------------------------------------------------------------------------------------------
Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone +41 43 366 90 74 - mobile +41 76 380 91 33
Grubenstrasse 9, CH-8045 Zürich, <a class="moz-txt-link-abbreviated" href="mailto:benedikt.oswald@lspr.swiss">benedikt.oswald@lspr.swiss</a> - <a class="moz-txt-link-abbreviated" href="http://www.lspr.swiss/">www.lspr.swiss</a>
----------------------------------------------------------------------------------------------------------------------
</pre>
  </div>

_______________________________________________<br class="">Dune mailing list<br class=""><a href="mailto:Dune@lists.dune-project.org" class="">Dune@lists.dune-project.org</a><br class="">https://lists.dune-project.org/mailman/listinfo/dune</div></blockquote></div><br class=""><div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">---------------------------------------------</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Institute of Environmental Physics</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Im Neuenheimer Feld 229</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">D–69120 Heidelberg</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a href="http://ts.iup.uni-heidelberg.de" class="">http://ts.iup.uni-heidelberg.de</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Tel: +49 (0)6221 54 6379</div></div></div>
</div>
<br class=""></div></body></html>