Package Details: scotch 6.0.4-3

Git Clone URL: https://aur.archlinux.org/scotch.git (read-only)
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: http://www.labri.fr/perso/pelegrin/scotch/
Licenses: custom:CeCILL-C
Conflicts: ptscotch-openmpi, scotch_esmumps, scotch_esmumps5
Provides: ptscotch, ptscotch-openmpi, scotch_esmumps, scotch_ptesmumps
Submitter: None
Maintainer: ioquatix
Last Packager: ioquatix
Votes: 30
Popularity: 0.051411
First Submitted: 2006-11-07 17:51
Last Updated: 2017-01-25 00:12

Latest Comments

zoidberg commented on 2018-01-07 08:03

I am unable to build this package on an up-to-date Arch system. I have pasted the last few lines of the build output below.

make[2]: Entering directory '/home/kishore/.cache/pacaur/scotch/src/scotch_6.0.4/src/check'
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_common_random.c -o test_common_random -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_common_thread.c -o test_common_thread -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_strat_seq.c -o test_strat_seq -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_scotch_graph_coarsen.c -o test_scotch_graph_coarsen -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_scotch_graph_coarsen_build.c -o test_scotch_graph_coarsen_build -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_scotch_graph_color.c -o test_scotch_graph_color -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_scotch_graph_map.c -o test_scotch_graph_map -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_scotch_graph_map_copy.c -o test_scotch_graph_map_copy -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_scotch_graph_order.c -o test_scotch_graph_order -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME  -Drestrict=__restrict -DIDXSIZE64 -I../../include -L../../lib test_scotch_graph_part_ovl.c -o test_scotch_graph_part_ovl -lscotch -lscotcherrexit -lz -lbz2 -lm -lrt -pthread
../../bin/gord data/bump.grf /dev/null -vt
../../bin/gord: symbol lookup error: ../../bin/gord: undefined symbol: fileBlockInit
make[2]: *** [Makefile:152: check_prog_gord] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/kishore/.cache/pacaur/scotch/src/scotch_6.0.4/src/check'
make[1]: *** [Makefile:65: check] Error 2
make[1]: Leaving directory '/home/kishore/.cache/pacaur/scotch/src/scotch_6.0.4/src/check'
make: *** [Makefile:103: check] Error 2
==> ERROR: A failure occurred in check().
    Aborting...

AsmundEr commented on 2017-04-04 06:53

Further investigation revealed this was just me being stupid and running out of space in /tmp, so the check() function couldn't create /tmp/rand.dat. Sorry about the noise, everything seems to work fine now.

ioquatix commented on 2017-04-03 11:30

Can you try cloning the repo for this package and building somewhere other than tmp?

AsmundEr commented on 2017-04-03 11:29

To be specific, I am installing using yaourt, and the check() function failed saying

./test_common_random /tmp/rand.dat 0
ERROR: main: cannot replay random sequence

Is this just a file it can't find during testing?

ioquatix commented on 2017-04-03 11:28

What does the check function do? I know the maintainer of scotch was receptive to improvements in the build system. I already pointed him at all the hacks in the PKGBUILD...

AsmundEr commented on 2017-04-03 11:27

I may have just cracked the riddle: when it failed for me, it first failed in the check() function saying "cannot replay random sequence". So I commented that out, and restarted the build, upon which it gave the error message mentioned on 2017-03-29. But now I tried a fresh build where I commented the check() out before the first build, and it now works fine!

ioquatix commented on 2017-04-03 11:13

For me, SCOTCH_archInit is defined in "src/scotch_6.0.4/src/libscotch/library_arch.c".

ioquatix commented on 2017-04-03 11:10

Ah right. I have nothing to do with "scotch_esmumps" nor "OpenFOAM". But, I did help maintain this package because it was a bit broken before, and I used OpenFOAM 3.x for a while.

I just tried building the package again and it is working for me. That's odd. I looked for the specific line you quoted, and I have it, and it works fine.

What version of GCC are you using? Is your system up to date?

AsmundEr commented on 2017-04-03 10:53

@ioquatix When I tried to install OpenFOAM, I had scotch installed from an old package "scotch_esmumps" that provides "scotch", so when OpenFOAM PKGBUILD checks "is scotch provided?" the answer is "yes", but then their PKGBUILD calls "pacman -Q scotch" to get the scotch version, and that command fails and stalls the build.

What details do you need about my system? It is an up-to-date 64bit Arch box with Intel Core i7-3770, 32 GB memory.

ioquatix commented on 2017-03-29 23:03

@AsmundER Thanks for the update. Please report problem to OpenFOAM and let me know what happens. This package is called scotch, so I'm a little bit confused about the problem you are having.

I have not seen that error before. Can you provide some more details about your system?

All comments