Package Details: slepc 3.7.4-2

Git Clone URL: (read-only)
Package Base: slepc
Description: Scalable library for Eigenvalue problem computations
Upstream URL:
Licenses: GNUv3
Submitter: myles
Maintainer: abilke
Last Packager: abilke
Votes: 9
Popularity: 0.000034
First Submitted: 2010-05-21 02:04
Last Updated: 2017-10-03 20:19

Latest Comments

jiri1kolar commented on 2017-10-03 19:51

slepc is currently not compatible with petsc version 3.8. :-(

heitzmann commented on 2016-10-28 10:59

slepcconf.h references the build dir.
This should fix it:

sed -i 's#'"${_build_dir}"'#'"${_install_dir}"'#g' "${pkgdir}${_install_dir}/include/slepcconf.h"

This reference seems to come from the definition in line 44 of the PKGBUILD (export SLEPC_DIR=${_build_dir}), so changing that might also fix the definition in the include file.

abilke commented on 2016-07-05 12:45

See for a patch to update to 3.7.1

myles commented on 2015-10-03 20:33

Thanks ftschindler, I've made those changes

ftschindler commented on 2015-09-29 07:58

Building dolfin fails due to a broken `slepc_rules` (reference to build dir). The following lines help (the first was already reported below but not implemented):
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/slepc/conf/slepc_rules"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/include/slepcconf.h"
In addition, there are some logs containing references to the build dir. Those should also be removed:
for ii in lib/slepc/conf/configure.log \
[ -e "${pkgdir}${_install_dir}/${ii}" ] && rm "${pkgdir}${_install_dir}/${ii}"

heitzmann commented on 2014-09-19 15:46

You should probably update your PETSc. AUR version is already 3.5.1.

Here's the sed's I've included in my PKGBUILD (line 49) to remove most references to the build directory:
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/slepc_rules"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/slepc_variables"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/slepcvariables"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/pkgconfig/SLEPc.pc"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/modules/3.5.0"

I'm not sure the one with is required (or even correct).

heitzmann commented on 2014-09-19 15:33

You should probably update your PETSc. AUR version is already 3.5.1.

Here's the 4 sed's I've included in my PKGBUILD (line 49) to remove the references to the build directory:
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/slepc_rules"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/slepc_variables"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/slepcvariables"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/"

I'm not sure the last one is required (or even correct).

jancici commented on 2014-09-12 08:30

I am installing dolphin, and getting this error about compatible with PETSc version 3.4.

thank for help

here is output:

==> slepc dependencies:
- python2 (already installed)
- gcc (already installed)
- gcc-fortran (already installed)
- petsc (already installed)

==> Edit slepc.install ? [Y/n] ("A" to abort)
==> -----------------------------------------
==> n

==> Continue building slepc ? [Y/n]
==> -------------------------------
==> Building and installing package
==> Making package: slepc 3.5.0-1 (Pi sep 12 10:26:20 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading slepc-3.5.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3121k 100 3121k 0 0 576k 0 0:00:05 0:00:05 --:--:-- 741k
==> Validating source files with md5sums...
slepc-3.5.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting slepc-3.5.0.tar.gz with bsdtar
==> Starting build()...
Checking environment...
ERROR: This SLEPc version is not compatible with PETSc version 3.4
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build slepc.
==> Restart building slepc ? [y/N]
==> ------------------------------

heitzmann commented on 2014-09-10 15:50

Correcting my last comment: slepc_variables, not slepc_conf.

heitzmann commented on 2014-09-10 15:49

The installed package keep a few references pointing at the build directory. I believe the PKGBUILD should include 'sed's to remove those, similarly to what happens for petsc.

I found those references in these files in /opt/slepc/arch-linux2-cxx-opt/conf:
- slepc_conf
- slepc_rules
- slepcvariables

There could be more.

All comments