Package Details: metis 5.2.1-2

Git Clone URL: https://aur.archlinux.org/metis.git (read-only, click to copy)
Package Base: metis
Description: Serial Graph Partitioning and Fill-reducing Matrix Ordering
Upstream URL: https://github.com/KarypisLab/METIS
Licenses: Apache
Submitter: arojas
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 29
Popularity: 1.30
First Submitted: 2022-11-21 21:22 (UTC)
Last Updated: 2023-07-30 14:55 (UTC)

Latest Comments

1 2 Next › Last »

lahwaacz commented on 2023-08-02 10:31 (UTC)

@SvenMeyer The problem is that it runs /home/sum/.local/bin/cmake instead of /usr/bin/cmake. You need to solve that on your own.

SvenMeyer commented on 2023-08-02 09:53 (UTC)

On latest Manjaro version, I get an error when trying to update ...

Building gklib...
==> Making package: gklib 5.1.1-3 (Wed 02 Aug 2023 11:52:50)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found METIS-v5.1.1-DistDGL-0.5.tar.gz
  -> Found gk_GetProcVmPeak.patch
  -> Found gk_creadfilebin.patch
==> Validating source files with sha512sums...
    METIS-v5.1.1-DistDGL-0.5.tar.gz ... Passed
    gk_GetProcVmPeak.patch ... Passed
    gk_creadfilebin.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting METIS-v5.1.1-DistDGL-0.5.tar.gz with bsdtar
==> Starting prepare()...
patching file gk_proto.h
Hunk #1 succeeded at 117 (offset -2 lines).
patching file memory.c
patching file gk_proto.h
patching file io.c
Hunk #1 succeeded at 284 (offset 1 line).
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Traceback (most recent call last):
  File "/home/sum/.local/bin/cmake", line 5, in <module>
    from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
==> ERROR: A failure occurred in build().
    Aborting...

carlosal1015 commented on 2023-07-30 14:56 (UTC)

Many thanks for help @lahwaacz.

lahwaacz commented on 2023-07-30 12:24 (UTC)

Patch to address my last comments:

diff --git a/PKGBUILD b/PKGBUILD
index 4a6f8d8..d7daf20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,18 +19,14 @@ options=(docs)
 source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
 sha512sums=('69127b7a777f9ba14cf399a7122000af9d6094a5f44be600a28384cfc0495c024fb0c6eab37c4473a5763ec1077cd9f30d9bcbb3c952462f6c9ead31c6b9e790')

+prepare() {
+  cd ${_base}-${pkgver}
+  echo "target_link_libraries(metis PUBLIC \"-lGKlib\")" >> "libmetis/CMakeLists.txt"
+}
+
 build() {
   cd ${_base}-${pkgver}
   make config \
-    i64=0 \
-    r64=0 \
-    gdb=0 \
-    assert=0 \
-    assert2=0 \
-    debug=0 \
-    gprof=0 \
-    valgrind=0 \
-    openmp=0 \
     shared=1 \
     cc=gcc \
     prefix=/usr \

lahwaacz commented on 2023-07-30 06:17 (UTC)

Also: libmetis.so should link to the dependency libGKlib.so:

$ ldd /usr/lib/libmetis.so
    linux-vdso.so.1 (0x00007ffc707ec000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f71a1141000)
    /usr/lib64/ld-linux-x86-64.so.2 (0x00007f71a13a9000)

lahwaacz commented on 2023-07-30 06:10 (UTC)

You are setting i64=0 r64=0 etc. for make config to presumably disable 64bit data types, but this is not how the Makefile works - it compares just against the default value not-set: https://github.com/KarypisLab/METIS/blob/master/Makefile#L32-L37

TheLillo commented on 2023-05-15 12:15 (UTC)

New Package available:

https://github.com/KarypisLab/METIS/releases/tag/v5.2.1

carlosal1015 commented on 2023-02-20 01:06 (UTC)

Hello Archers, there is a new version of METIS. Is it okay for us to do an update?

https://github.com/KarypisLab/METIS/releases/tag/v5.2.1

carlosal1015 commented on 2023-02-17 04:18 (UTC)

I'm not sure, but petsc has been maintaining this package for a long time, adding patches, pNN. Since metis is not receiving updates.