Package Details: superlu_dist 8.2.1-1

Git Clone URL: https://aur.archlinux.org/superlu_dist.git (read-only, click to copy)
Package Base: superlu_dist
Description: Distributed memory, MPI based SuperLU
Upstream URL: https://github.com/xiaoyeli/superlu_dist
Licenses: custom
Submitter: ChrisTX
Maintainer: carlosal1015 (gpettinello, AutoUpdateBot)
Last Packager: AutoUpdateBot
Votes: 3
Popularity: 0.000112
First Submitted: 2018-12-16 01:58 (UTC)
Last Updated: 2023-11-18 07:56 (UTC)

Pinned Comments

Latest Comments

gpettinello commented on 2021-11-07 08:24 (UTC)

Hi ChrisTX I also updated this package:

# Maintainer: Christian Pfeiffer <cpfeiffer at live dot de>
# Contributor: Gianluca Pettinello <g_pet at hotmail dot com>
pkgname=superlu_dist
pkgver=7.1.1
pkgrel=1
pkgdesc="Set of subroutines to solve a sparse linear system (MPI parallel version)"
arch=('x86_64')
url="https://github.com/xiaoyeli/superlu_dist"
license=('custom')
depends=('lapack' 'parmetis' 'openblas')
makedepends=('cmake' 'gcc-fortran')
source=(${url}/archive/v$pkgver.tar.gz)

sha512sums=('558053b3d4a56eb661c4f04d4fcab6604018ce5db97115394c161b56c9c278ff')
options=('staticlibs')

prepare() {
  mkdir -p build

  # CombBLAS uses C++14 in its headers. Otherwise the code won't build
  sed -i "s/set(CMAKE_CXX_STANDARD 11)/set(CMAKE_CXX_STANDARD 14)/" "$srcdir/$pkgname-$pkgver/CMakeLists.txt"
}

build() {
  cd build
  cmake ../$pkgname-$pkgver/ \
    -DTPL_PARMETIS_INCLUDE_DIRS="/usr/include" \
    -DTPL_PARMETIS_LIBRARIES="/usr/lib/libparmetis.so" \
    -DTPL_ENABLE_BLASLIB=ON \
    -DTPL_ENABLE_LAPACKLIB=ON \
    -DBUILD_SHARED_LIBS=ON \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DCMAKE_INSTALL_INCLUDEDIR=include/superlu_dist \
    -DCMAKE_INSTALL_PREFIX=/usr

  make
}

package() {
  cd build

  make DESTDIR="${pkgdir}" install

  mkdir -p $pkgdir/usr/share/doc/$pkgname \
           $pkgdir/usr/share/licenses/$pkgname

  install -m644 $srcdir/$pkgname-$pkgver/README.md $pkgdir/usr/share/doc/$pkgname
  install -m644 $srcdir/$pkgname-$pkgver/License.txt $pkgdir/usr/share/licenses/$pkgname
  install -m644 $srcdir/$pkgname-$pkgver/DOC/ug.pdf $pkgdir/usr/share/doc/$pkgname/ug.pdf
}

Please update Thanks Gianluca

andersdamsgaard commented on 2021-10-08 08:00 (UTC) (edited on 2021-10-08 08:01 (UTC) by andersdamsgaard)

For the time being, this package builds successfully after creating the following symlink:

$ sudo ln -s /usr/include/CombBLAS/{Applications/,}BipartiteMatchings

Afterwards, it may be necessary to do a cleanbuild so that the cmake configuration is rebuilt.

lmartinez-mirror commented on 2021-08-09 18:09 (UTC) (edited on 2021-08-09 18:12 (UTC) by lmartinez-mirror)

This package won't build because combblas (upstream) moved the BipartiteMatching directory into an Applications folder.

Also worth mentioning that version 7 is out.

ChrisTX commented on 2020-03-08 15:32 (UTC) (edited on 2020-04-03 16:36 (UTC) by ChrisTX)

I can't update the package to 6.3.0 at the moment since a recent code restructuring prevents it from compiling. I've reported this upstream and was told a fix was inbound in a few days.

Update 4/3/20: 6.3.1 now resolves this issue, but the changes in 6.3 have dug up an underlying bug in combblas that breaks compilation when building shared libraries. I've reported it upstream and hopefully this can be resolved soon.

ChrisTX commented on 2019-01-30 15:28 (UTC)

Thanks, I forgot SuperLU included a Fortran interface. This should be fixed now.

petronny commented on 2019-01-12 07:45 (UTC) (edited on 2019-01-12 07:46 (UTC) by petronny)

Process XSDK defaults ...
USE_XSDK_DEFAULTS = 'FALSE'
-- SuperLU_DIST will be built as a shared library.
-- SuperLU_DIST will also be built as a static library.
-- The Fortran compiler identification is unknown
CMake Error at CMakeLists.txt:90 (enable_language):
  No CMAKE_Fortran_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full
  path to the compiler, or to the compiler name if it is in the PATH.

Please add the fortran compiler as a dependency.