Package Details: scotch 7.0.4-2

Git Clone URL: https://aur.archlinux.org/scotch.git (read-only, click to copy)
Package Base: scotch
Description: Software package and libraries for graph, mesh and hypergraph partitioning, static mapping, and sparse matrix block ordering. This is the all-inclusive version (MPI/serial/esmumps).
Upstream URL: https://gitlab.inria.fr/scotch/scotch
Licenses: custom:CeCILL-C
Conflicts: ptscotch-openmpi, scotch_esmumps, scotch_esmumps5
Provides: ptscotch, ptscotch-openmpi, scotch_esmumps, scotch_ptesmumps
Submitter: None
Maintainer: ioquatix (MartinDiehl)
Last Packager: MartinDiehl
Votes: 39
Popularity: 0.83
First Submitted: 2006-11-07 17:51 (UTC)
Last Updated: 2023-12-26 07:08 (UTC)

Latest Comments

1 2 3 4 5 6 .. 15 Next › Last »

lahwaacz commented on 2023-12-24 11:22 (UTC)

Please don't hardcode the amount of build parallelism with --parallel 4. If you want to enforce parallelism, it is best to add ninja to makedepends and -G Ninja to CMake's configure flags, otherwise just leave it up to users to define their MAKEFLAGS environment variable as they like.

lahwaacz commented on 2023-10-27 08:52 (UTC)

@igoutta, @a.kudelin: The tests getting stuck is most likely an issue due to the openmpi package.

igoutta commented on 2023-10-26 21:54 (UTC) (edited on 2023-10-26 21:55 (UTC) by igoutta)

I have the same result as @a.kudelin. I tried changing the jobs to my 4 cores but the check stays locked in:

Start 46: test_scotch_dgraph_band_bump

<deleted-account> commented on 2023-09-30 10:20 (UTC)

While running yay -S scotch, the process end up being stuck on the check "Start 46: test_scotch_dgraph_band_bump" as commented before. Anyone knows a fix, please?

Full output of yay -S scotch: https://dpaste.com/5EX6H4WQG

a.kudelin commented on 2023-04-06 20:39 (UTC)

The check step is getting stuck at Start 46: test_scotch_dgraph_band_bump.

tocic commented on 2023-03-23 05:15 (UTC)

Please fix a typo in the upstream URL.

nauaneed commented on 2023-01-14 15:52 (UTC)

I encountered the following errors with this pkgbuild:

CMake Error at src/CMakeLists.txt:66 (message):
  Bison required to compile Scotch and PT-Scotch

and

CMake Error at src/CMakeLists.txt:74 (message):
  Flex required to compile Scotch and PT-Scotch

It suceeded after I installed flex and bison. So, just wanted to suggest addition of flex and bison to dependencies.

carlosal1015 commented on 2022-12-29 03:09 (UTC)

No errors from my side.

jedbrown commented on 2022-12-29 02:41 (UTC)

==> Starting check()...
/home/jed/.cache/yay/scotch/PKGBUILD: line 29: [: too many arguments

You'll probably want to apply this:

diff --git i/PKGBUILD w/PKGBUILD
index f603567..d287359 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -26,7 +26,7 @@ build() {
 }

 check() {
-  if [ -z $(ldconfig -p | grep libcuda.so.1) ]; then
+  if [ -z "$(ldconfig -p | grep libcuda.so.1)" ]; then
     export _libcuda=0
   fi
   cmake --build build --parallel --target test

ggs commented on 2022-12-12 16:19 (UTC) (edited on 2022-12-12 17:35 (UTC) by ggs)

Hello,

This PKGBUILD introduces a bashism which is not required and causing issues. If user's default shell, /usr/bin/sh, is pointed to say /usr/bin/dash this build will fail to install properly because curly bracket expansions are specific to bash. Additionally, Makefile already accomplishes what the bashism tries to do. Then, below part is not required since esmumps header files are already copied by the Makefile. Below lines should be removed, or SHELL variable should be introduced in Makefile and it should be set to /usr/bin/bash.

# To install headers and libs also for esmumps
sed -i 's/scotch\*/{scotch,esmumps}\*/g' Makefile

Secondly, patch aimed to fix creation of directories is not required anymore since mkdir calls already includes a -p tag. Following lines may be removed for clarity.

# Fix the creation of directories
sed -i "s/mkdir/mkdir\ -p/" Makefile.inc

Upstream fixes could be seen below.

esmumps fix: https://gitlab.inria.fr/scotch/scotch/-/commit/023f5eee83b2f38bb0e4ecbf8c21b35ab5e08316

mkdir -p fix: https://gitlab.inria.fr/scotch/scotch/-/commit/752fad66830a0c982eba2b132ed659d79468fb81