This commit is contained in:
svcusr-spack (Resp. Germann Elsa Sylvia)
2024-07-04 15:51:03 +02:00
2 changed files with 16 additions and 1 deletions

View File

@ -13,7 +13,8 @@ packages:
- spec: 'target=sandybridge'
when: "%nvhpc"
message: "nvhpc compilers cannot target generic x86_64 microarchitecture."
require: "os=rhel7"
- spec: "os=rhel7"
target: [x86_64]
# Default GPU arch
variants:
- cuda_arch=60

View File

@ -0,0 +1,14 @@
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import os
from spack.package import *
from spack.pkg.builtin.sratoolkit import Sratoolkit as SpackSratoolkit
class Sratoolkit(Sratoolkit):
version("3.1.1", sha256="600ff38589c15033c6d0fb4d1d055519e56175ea031b949a2d3f5a74151c6c12")