Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scivision/scalapack
Netlib Scalapack with robust CMake
https://github.com/scivision/scalapack
scalapack
Last synced: 14 days ago
JSON representation
Netlib Scalapack with robust CMake
- Host: GitHub
- URL: https://github.com/scivision/scalapack
- Owner: scivision
- License: other
- Created: 2019-01-24T17:26:49.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-31T03:50:21.000Z (4 months ago)
- Last Synced: 2024-08-04T10:06:05.864Z (3 months ago)
- Topics: scalapack
- Language: CMake
- Homepage: https://www.netlib.org/scalapack/
- Size: 2.73 MB
- Stars: 10
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Netlib Scalapack
![Actions Status](https://github.com/scivision/scalapack/workflows/ci/badge.svg)
Scalapack with CMake enhancements to make Scalapack easier to use directly in other projects.
The Scalapack
[source code](http://www.netlib.org/scalapack/)
is unmodified.
MPI is required for Scalapack.
Scalapack 2.1 works with OpenMPI 4.x, while Scalapack 2.0 worked with OpenMPI < 4.## Prereq
* Linux: `apt install cmake gfortran libopenmpi-dev liblapack-dev`
* Mac: `brew install gcc cmake open-mpi lapack`### Windows MSYS2
```sh
pacman -S mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-msmpi mingw-w64-x86_64-lapack
```and install
[Microsoft MS-MPI](https://docs.microsoft.com/en-us/message-passing-interface/microsoft-mpi-release-notes)
to get mpiexec.exe## Build
```sh
cmake -B build
cmake --build build# optional self-tests
ctest --test-dir build
```To avoid searching for Lapack (forcing Lapack to be built) use CMake option:
```sh
cmake -B build -Dfind_lapack=off
```### options
The default is to build real32, real64.
The options for precision are just like LAPACK:```cmake
option(BUILD_SINGLE "Build single precision real" ON)
option(BUILD_DOUBLE "Build double precision real" ON)
option(BUILD_COMPLEX "Build single precision complex")
option(BUILD_COMPLEX16 "Build double precision complex")
```## Notes
Scalapack is included with
[Intel oneAPI](https://software.intel.com/content/www/us/en/develop/articles/free-intel-software-developer-tools.html),
for Windows as well.