Commit Graph

15 Commits

Author SHA1 Message Date
Todd Gamblin
93377942d1 Update copyright year to 2022 2022-01-14 22:50:21 -08:00
luker
0277067e5f
blaspp: set BLA_VENDOR for cray (#28104)
* for Cray's libsci in blaspp, set BLA_VENDOR=all

* Update package.py

* Update package.py

* Update package.py
2022-01-08 15:41:50 -05:00
Todd Gamblin
24c01d57cf
imports: sort imports everywhere in Spack (#24695)
* fix remaining flake8 errors

* imports: sort imports everywhere in Spack

We enabled import order checking in #23947, but fixing things manually drives
people crazy. This used `spack style --fix --all` from #24071 to automatically
sort everything in Spack so PR submitters won't have to deal with it.

This should go in after #24071, as it assumes we're using `isort`, not
`flake8-import-order` to order things. `isort` seems to be more flexible and
allows `llnl` mports to be in their own group before `spack` ones, so this
seems like a good switch.
2021-07-08 22:12:30 +00:00
G-Ragghianti
a45cb952b7
Packages: BLAS++ and LAPACK++ (#23372)
* Adding hip support

* Added new blaspp version and rocm support.  Fixed error in mesa18 package.

* Correcting variant name.

* Code style fixes

* Change of name of library

* Change "make check" to correctly run from the build directory.

* Upgraded version to fix testing errors

* Fixed testing directory

* Removed unnecessary variant entry (already inherited from CudaPackage)

* Generalization of version matching logic

* Code style

* Corrected version requirement
2021-05-05 08:16:15 -07:00
Axel Huebl
8c613fadf0
BLAS++: OpenMP for AppleClang (#22211)
We need to install OpenMP for Apple's Clang.
2021-03-10 10:12:04 +01:00
Axel Huebl
49c015e391
BLAS++: CUDA default (false) (#22067)
For opt-in packages in Spack, its common that the `cuda` variant
is disabled by default.

This also simplifies downstream usage in multi-variants for
backends in user code.
2021-03-04 12:07:48 +01:00
Axel Huebl
bcc370102f
openblas: add "locking" variant, updated blaspp (#21770)
BlasPP by ECP SLATE will fail to install by default
(`spack install blaspp`) because:
- the default BLAS installation in Spack is OpenBLAS
- BlasPP conflicts with `threads=none` for all recent OpenBLAS releases

OpenBLAS introduced a threadsafe compile option
with 0.3.7+ aka `USE_LOCKING`:
```
   61 # If you want to build a single-threaded OpenBLAS, but expect to call this
   62 # from several concurrent threads in some other program, comment this in for
   63 # thread safety. (This is done automatically for USE_THREAD=1 , and should not
   64 # be necessary when USE_OPENMP=1)
   65 # USE_LOCKING = 1
```

According to tests, with `spack install --test root blaspp`,
this exactly addresses the issues in BlasPP tests.

It also seems to be a good option to set by default for OpenBLAS and
users that do not need this safety net can always disable it.

Solve issues with newer OpenBLAS by requiring
`+locking` over none-default threading options.
2021-02-23 09:16:02 +01:00
G-Ragghianti
335c5ed5cb
Updated with requirements for openblas dependency (#20956)
* Updated with requirements for openblas dependency

* Python style fixes
2021-01-18 16:34:21 -06:00
Todd Gamblin
a8ccb8e116 copyrights: update all files with license headers for 2021
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files
- [x] update all licensed files to say 2013-2021 using
      `spack license update-copyright-year`
- [x] appease mypy with some additions to package.py that needed
      for oneapi.py
2021-01-02 12:12:00 -08:00
G-Ragghianti
0bed9a1990
SLATE package: New versions of slate, blaspp, and lapackpp with CMake build support (#19587)
* New versions of slate, blaspp, and lapackpp with CMake build support

* Fixing formatting
2020-10-29 10:13:02 -05:00
G-Ragghianti
d61c236db4
Lapackpp package update (#19447)
* Updated blaspp package

* Modified lapackpp for newest release

* Formatting

* Updates to lapackpp package for new version

* Added dependency on cblas

* Removed cblas dependency

* updated to lapackpp

* Added new version for blaspp and lapackpp

* Removed debugging output

* Converted version matching logic for for loop
2020-10-21 17:09:25 -05:00
G-Ragghianti
1bf87447ad
Blaspp: added v2020.10.0, v2020.09.0, reworked recipe (#19311) 2020-10-15 14:58:31 +02:00
Teodor Nikolov
902fac185a
blaspp: added explicit dependency on CUDA (#17965) 2020-08-09 20:44:05 +02:00
G-Ragghianti
54cfec025f
blaspp: moved to new git repo (#17184)
Extended the list of maintainers
2020-06-22 14:21:46 +02:00
Teodor Nikolov
9627cbbe1b
lapackpp and blaspp: added packages (develop branch) (#16373) 2020-04-30 16:05:45 +02:00