Package Details: slepc 3.21.0-2

Git Clone URL: https://aur.archlinux.org/slepc.git (read-only, click to copy)
Package Base: slepc
Description: Scalable library for Eigenvalue problem computations
Upstream URL: https://slepc.upv.es
Licenses: BSD-2-Clause
Provides: slepc4py
Submitter: heitzmann
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 8
Popularity: 0.000000
First Submitted: 2018-02-24 11:36 (UTC)
Last Updated: 2024-06-01 20:31 (UTC)

Pinned Comments

Latest Comments

1 2 3 Next › Last »

yuhldr commented on 2023-07-14 09:08 (UTC)

Sorry to delete the request, I clicked it wrong....

carlosal1015 commented on 2023-07-12 01:58 (UTC)

Done @yuhldr, let us if it is working fine.

Feel free to delete slepc4py as petsc4py 1 year ago.

yuhldr commented on 2023-06-30 14:36 (UTC) (edited on 2023-07-01 01:15 (UTC) by yuhldr)

Could you add slepc4py like petsc?

build()

python ./configure --prefix=${pkgdir}${_install_dir} --with-clean --with-slepc4py=1

package()

echo export PYTHONPATH=${_install_dir}/lib:'${PYTHONPATH}' >> ${pkgdir}/etc/profile.d/slepc.sh

carlosal1015 commented on 2022-05-03 16:52 (UTC) (edited on 2022-05-24 20:47 (UTC) by carlosal1015)

Thank you for confirm good news. This could suggest, change depends=("petsc>=${pkgver:0:4}") to depends=("petsc=${pkgver}").

Edited: 05/24/2022 I tested with petsc-complex and compiles well.

Alad commented on 2022-05-03 16:26 (UTC)

It works now with the upgrade to petsc 3.17.1.

Alad commented on 2022-04-17 13:44 (UTC) (edited on 2022-04-19 18:09 (UTC) by Alad)

Right, alad-edu/petsc was built from the aur/petsc PKGBUILD. I can test it later with petsc-complex, when I get back to my Arch install.

edit: same issue with petsc-complex (which needed upgrading to 3.17).

carlosal1015 commented on 2022-04-14 19:49 (UTC)

Thank you very much, I tested with PETSc installed without sourcing /etc/profile.d/petsc.sh, I will think about this for solve it and take a look if we need add and if-else conditional statement for slepc like openfoam. Is alad-edu/petsc the same for aur/petsc, looks like more to an updated petsc-complex from petronny. It is ok, slepc must be supporting both versions (real and complex valued scalars).

Alad commented on 2022-04-14 18:24 (UTC)

Thanks, I can clone the repository now. Unfortunately 3.17.1 results in a build failure:

==> Making package: slepc 3.17.1-1 (Thu 14 Apr 2022 08:23:38 PM CEST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (4)         New Version  Net Change

extra/boost         1.78.0-1     169.58 MiB
extra/cblas         3.10.0-1       0.20 MiB
extra/python-numpy  1.22.3-1      33.24 MiB
alad-edu/petsc      3.17.0-1      79.96 MiB

Total Installed Size:  282.97 MiB

:: Proceed with installation? [Y/n] 
(4/4) checking keys in keyring                                       [######################################] 100%
(4/4) checking package integrity                                     [######################################] 100%
(4/4) loading package files                                          [######################################] 100%
(4/4) checking for file conflicts                                    [######################################] 100%
(4/4) checking available disk space                                  [######################################] 100%
:: Processing package changes...
(1/4) installing cblas                                               [######################################] 100%
(2/4) installing python-numpy                                        [######################################] 100%
Optional dependencies for python-numpy
    openblas: faster linear algebra [installed]
(3/4) installing boost                                               [######################################] 100%
Optional dependencies for boost
    python: for python bindings [installed]
(4/4) installing petsc                                               [######################################] 100%
source /etc/profile.d/petsc.sh to set environment variables
Optional dependencies for petsc
    trilinos: support for trilinos
    ptscotch: support for ptscotch sequential and parallel graph partitioning library
    parmetis: support for parmetis parallel graph partitioning library
    metis: support for metis graph partitioning library [installed]
    pastix: support for the pastix solver
    superlu: support for the superlu sparse solver
    hypre: support for the hypre sparse system solver
    hdf5-openmpi: support for the parallel version of HDF5 [installed]
    mumps: support for the mumps sparse solver
    fftw: support for the FFTW fast Fourier transform [installed]
    triangle: support for the two-dimensional quality mesh generator and Delaunay triangulator
    suitesparse: support for the suitesparse sparse matrix libraries [installed]
    valgrind: support for valgrind to help find memory-management problems in programs [installed]
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading slepc-3.17.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5322k  100 5322k    0     0  6193k      0 --:--:-- --:--:-- --:--:-- 6196k
==> Validating source files with md5sums...
    slepc-3.17.1.tar.gz ... Passed
==> Extracting sources...
  -> Extracting slepc-3.17.1.tar.gz with bsdtar
==> Starting build()...
Checking environment... done
Checking PETSc installation... 
ERROR: Unable to link with PETSc
ERROR: See "installed-arch-linux2-c-debug/lib/slepc/conf/configure.log" file for details
==> ERROR: A failure occurred in build().
    Aborting...
==> Removing installed dependencies...
checking dependencies...

Package (4)   Old Version  Net Change 

boost         1.78.0-1     -169.58 MiB
cblas         3.10.0-1       -0.20 MiB
petsc         3.17.0-1      -79.96 MiB
python-numpy  1.22.3-1      -33.24 MiB

Total Removed Size:  282.97 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing petsc...
removing python-numpy...
removing cblas...
removing boost...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

configure.log mentioned in the output: https://gist.github.com/AladW/50bd935e8e65de00a216a9fe2af57508

carlosal1015 commented on 2022-04-05 15:16 (UTC)

Hi Alad, one month ago I experimented the same message with this repository when switch to tag v1.1.0. Thanks for reporting, I solved with this help.

Alad commented on 2022-04-05 13:24 (UTC) (edited on 2022-04-05 13:25 (UTC) by Alad)

I have some strange behavior when cloning this repostitory:

$ git clone https://aur.archlinux.org/slepc.git
Cloning into 'slepc'...
remote: Enumerating objects: 153, done.
remote: Counting objects: 100% (153/153), done.
remote: Compressing objects: 100% (127/127), done.
remote: Total 153 (delta 25), reused 153 (delta 25), pack-reused 0
Receiving objects: 100% (153/153), 46.27 KiB | 1.85 MiB/s, done.
Resolving deltas: 100% (25/25), done.
Note: switching to 'db40240edd1fed79072b6344506551fcd4f8829f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

It appears the master branch does not have the 3.17.0 commit:

git checkout master
Warning: you are leaving 1 commit behind, not connected to
any of your branches:

  db40240 Bump version to 3.17.0

If you want to keep it by creating a new branch, this may be a good time
to do so with:

 git branch <new-branch-name> db40240

branch 'master' set up to track 'origin/master'.
Switched to a new branch 'master'