Package Details: slepc 3.5.3-2

Package Base: slepc
Description: Scalable library for Eigenvalue problem computations
Upstream URL: http://www.grycap.upv.es/slepc
Category: science
Licenses: GNUv3
Submitter: myles
Maintainer: myles
Last Packager: myles
Votes: 6
First Submitted: 2010-05-21 02:04
Last Updated: 2015-02-12 21:49

Latest Comments

Comment by heitzmann

2014-09-19 15:46

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

@myles
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/uninstall.py"
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 uninstall.py is required (or even correct).

Comment by jancici

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().
Aborting...
==> ERROR: Makepkg was unable to build slepc.
==> Restart building slepc ? [y/N]
==> ------------------------------

Comment by heitzmann

2014-09-10 15:50

Correcting my last comment: slepc_variables, not slepc_conf.

Comment by heitzmann

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
- uninstall.py

There could be more.

Comment by myles

2013-08-11 17:22

Now installs to /opt/slepc.

Comment by Gug

2013-08-10 15:32

Hi, if you could change the default install dir "/usr/slepc/" to "/opt/slepc", it would be nice. (Or maybe there's a reason ?)

Comment by myles

2012-05-03 18:30

@kkb110: Apparently it isn't necessary anymore, thanks for pointing that out.

Comment by kkimlabs

2012-05-03 07:32

@myles

Is that still true? On my machine, "sudo makepkg -s --asroot" just hung after "Checking PETSc installation...". So I removed the root checking code from PKGBUILD and compiled but it didn't show any error message.

Comment by myles

2011-04-20 23:25

Slepc modifies an installed petsc lib and so this currently requires root privileges, i.e.:
sudo makepkg -s --asroot