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.30
First Submitted: 2006-11-07 17:51 (UTC)
Last Updated: 2023-12-26 07:08 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 16 Next › Last »

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

carlosal1015 commented on 2022-06-13 16:46 (UTC)

I found that openssh is a checkdependency since latest openmpi 4.1.4 upgrade.

If this package is not installed as checkdependency, the check() function becomes an error.

carlosal1015 commented on 2022-01-06 20:39 (UTC) (edited on 2022-01-10 17:13 (UTC) by carlosal1015)

Edited 2022-01-10

Thank you is fixed now, as GitHub runner or GitLab runner.

Edited 2022-01-07

Building scotch 7.0.0-2 with GitHub runner: (full log here).

You are right @lahwaacz.

lahwaacz commented on 2022-01-06 20:10 (UTC)

@carlosal1015 As far as I understand, your runner has only 1 vCPU: https://docs.gitlab.com/ee/ci/runners/saas/linux_saas_runner.html So you can't use that as an argument that everything should be all right...

gpettinello commented on 2022-01-06 16:27 (UTC)

latest commit freezes during dgord test. Noticed that formerly the mod was:

sed -i "s/-DSCOTCH_PTHREAD/-DSCOTCH_PTHREAD -DSCOTCH_PTHREAD_MPI/" Makefile.inc

and now it is

sed -i "s/-DSCOTCH_PTHREAD/-DSCOTCH_PTHREAD -g/" Makefile.inc

reverting fixes the compiling

MartinDiehl commented on 2021-07-05 08:26 (UTC)

6.1.1 works for me, but export FC=gfortran is needed in check.

vanja_z commented on 2021-05-06 09:01 (UTC) (edited on 2021-05-06 09:03 (UTC) by vanja_z)

I cannot build this package either, was running a previous version fine but 6.1.0-1 fails with:

Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
make[2]: *** [Makefile:582: check_prog_dgpart] Error 159
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:577: check_prog_dgord] Error 159
make[2]: *** [Makefile:588: check_prog_dgscat-dggath] Error 159
make[2]: *** [Makefile:410: check_scotch_dgraph_grow] Error 159
make[2]: *** [Makefile:596: check_prog_dgtst] Error 159
make[2]: *** [Makefile:383: check_scotch_dgraph_band] Error 159
make[2]: *** [Makefile:392: check_scotch_dgraph_coarsen] Error 159
make[2]: *** [Makefile:428: check_scotch_dgraph_redist] Error 159
make[2]: *** [Makefile:419: check_scotch_dgraph_induce] Error 159
make[2]: *** [Makefile:401: check_scotch_dgraph_check] Error 159
make[2]: Leaving directory '/home/vanja/.cache/rua/build/scotch/src/scotch-v6.1.0/src/check'
make[1]: *** [Makefile:83: ptcheck] Error 2
make[1]: Leaving directory '/home/vanja/.cache/rua/build/scotch/src/scotch-v6.1.0/src/check'
make: *** [Makefile:116: ptcheck] Error 2
==> ERROR: A failure occurred in check().
    Aborting...

sylphio commented on 2021-05-01 13:58 (UTC)

I get the following build error on the latest version:

../../bin/gdump: symbol lookup error: ../../bin/gdump: undefined symbol: SCOTCH_graphDump
make[2]: *** [Makefile:303: test_scotch_graph_dump2.c] Error 127

Can anyone reprodudce this? Should I report it upstream?