-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add cray-mpich libs method for gtl * cray-mpich libs method * Add libs method for spectrum-mpi spack package * license * Remove redundant MPI ldflags * cmake mpi link flag * Fix saxy gtl --------- Co-authored-by: Riyaz Haque <[email protected]> Co-authored-by: pearce8 <[email protected]>
- Loading branch information
1 parent
ef81107
commit 2e25190
Showing
4 changed files
with
38 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright 2023 Lawrence Livermore National Security, LLC and other | ||
# Benchpark Project Developers. See the top-level COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
from spack.package import * | ||
from spack.pkg.builtin.spectrum_mpi import SpectrumMpi as BuiltinSM | ||
|
||
|
||
class SpectrumMpi(BuiltinSM): | ||
@property | ||
def libs(self): | ||
libnames = [ | ||
'mpi_ibm', | ||
'mpi_ibm_mpifh', | ||
'mpiprofilesupport', | ||
'mpi_ibm_usempi', | ||
] | ||
libs = list('lib' + x for x in libnames) | ||
return find_libraries( | ||
libs, | ||
self.spec.prefix, | ||
shared=True, | ||
recursive=True | ||
) |