Skip to content
Netlib Scalapack for Meson build system
Fortran C Other
Branch: master
Clone or download
Latest commit a1b8624 Nov 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github ci: apt update linux Nov 22, 2019
BLACS remove unneeded install_dir, libdir is all needed Aug 8, 2019
CMAKE
EXAMPLE init reference scalapack 2.0.2 unmodified Aug 5, 2019
PBLAS allow multi-precision builds e.g. real32+real64 Sep 17, 2019
REDIST
SRC allow multi-precision builds e.g. real32+real64 Sep 17, 2019
TESTING init reference scalapack 2.0.2 unmodified Aug 5, 2019
TOOLS meson: check that system blas links Oct 18, 2019
archive azure pipelines => github actions: Sep 6, 2019
subprojects
tests greatly speed up build by only building requested precision s,d,c,z Aug 5, 2019
.editorconfig init meson Aug 5, 2019
.gitattributes init meson Aug 5, 2019
.gitignore meson MPI OKtest stricter. Add lapack+blas subproject Aug 6, 2019
CMakeLists.txt init reference scalapack 2.0.2 unmodified Aug 5, 2019
CTestConfig.cmake init reference scalapack 2.0.2 unmodified Aug 5, 2019
LICENSE init reference scalapack 2.0.2 unmodified Aug 5, 2019
Makefile init reference scalapack 2.0.2 unmodified Aug 5, 2019
README
README.md CI: per-OS workflows Sep 24, 2019
SLmake.inc.example init reference scalapack 2.0.2 unmodified Aug 5, 2019
build_local.sh mpi simplify compiler wrapper use Aug 25, 2019
meson.build meson: stop build if MPI broken Nov 22, 2019
meson_options.txt meson: remove unused options Oct 25, 2019
requirements.txt doc [skip ci] Sep 3, 2019
scalapack.pc.in
scalapack_build.cmake init reference scalapack 2.0.2 unmodified Aug 5, 2019

README.md

Actions Status Actions Status

Netlib Scalapack

Use the Meson build system to build the unmodified Scalapack source code.

If example1 fails to build or run, the Scalapack library is probably not built / linked correctly.

Build

meson setup build

meson test -C build

meson install -C build

options

The default precision is d meaning real float64. The build-time parameter -Darith=d may be optionally specified:

-Darith=s  # real32
-Darith=d  # real64
-Darith=c  # complex64
-Darith=z  # complex128

use the --prefix option to install Scalapack under a directory. For example: --prefix ~/mylibs will install Scalapack under ~/mylibs/scalapack-2.0.2/


If you need to specify MPI compiler wrappers, do like:

FC=~/lib_gcc/openmpi-3.1.4/bin/mpif90 CC=~/lib_gcc/openmpi-3.1.4/bin/mpicc meson build

Notes

Original Scalapack README

On Windows, you can alternatively get Scalapack with the Intel compilers, which already have Scalapack built-in to Intel MKL.

You can’t perform that action at this time.