94 lines
3.6 KiB
Python
94 lines
3.6 KiB
Python
# Copyright 2013-2022 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)
|
|
|
|
from spack.package import *
|
|
|
|
|
|
@IntelOneApiPackage.update_description
|
|
class IntelOneapiCcl(IntelOneApiLibraryPackage):
|
|
"""The Intel oneAPI Collective Communications Library (oneCCL) enables
|
|
developers and researchers to more quickly train newer and
|
|
deeper models. This is done by using optimized communication
|
|
patterns to distribute model training across multiple
|
|
nodes. The library is designed for easy integration into deep
|
|
learning frameworks, whether you are implementing them from
|
|
scratch or customizing existing ones.
|
|
|
|
"""
|
|
|
|
maintainers = ["rscohn2"]
|
|
|
|
# oneAPI Collective Communications Library
|
|
homepage = (
|
|
"https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/oneccl.html"
|
|
)
|
|
|
|
depends_on("intel-oneapi-mpi")
|
|
|
|
version(
|
|
"2021.8.0",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/19135/l_oneapi_ccl_p_2021.8.0.25371_offline.sh",
|
|
sha256="c660405fcc29bddd5bf9371b8e586c597664fb1ae59eb17cb02685cc662db82c",
|
|
expand=False,
|
|
)
|
|
version(
|
|
"2021.7.1",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/19029/l_oneapi_ccl_p_2021.7.1.16948_offline.sh",
|
|
sha256="daab05a0779db343b600253df8fea93ab0ed20bd630d89883dd651b6b540b1b2",
|
|
expand=False,
|
|
)
|
|
version(
|
|
"2021.7.0",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18891/l_oneapi_ccl_p_2021.7.0.8733_offline.sh",
|
|
sha256="a0e64db03868081fe075afce8abf4cb94236effc6c52e5049118cfb2ef81a6c7",
|
|
expand=False,
|
|
)
|
|
version(
|
|
"2021.6.0",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18697/l_oneapi_ccl_p_2021.6.0.568.sh",
|
|
sha256="e3c50c9cbeb350e8f28488b2e8fee54156116548db8010bb2c2443048715d3ea",
|
|
expand=False,
|
|
)
|
|
version(
|
|
"2021.5.1",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18472/l_oneapi_ccl_p_2021.5.1.494_offline.sh",
|
|
sha256="237f45d3c43447460e36eb7d68ae3bf611aa282015e57c7fe06c2004d368a68e",
|
|
expand=False,
|
|
)
|
|
version(
|
|
"2021.5.0",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18371/l_oneapi_ccl_p_2021.5.0.478_offline.sh",
|
|
sha256="47584ad0269fd13bcfbc2cd0bb029bdcc02b723070abcb3d5e57f9586f4e74f8",
|
|
expand=False,
|
|
)
|
|
version(
|
|
"2021.4.0",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18188/l_oneapi_ccl_p_2021.4.0.433_offline.sh",
|
|
sha256="004031629d97ef99267d8ea962b666dc4be1560d7d32bd510f97bc81d9251ef6",
|
|
expand=False,
|
|
)
|
|
version(
|
|
"2021.3.0",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/17920/l_oneapi_ccl_p_2021.3.0.343_offline.sh",
|
|
sha256="0bb63e2077215cc161973b2e5029919c55e84aea7620ee9a848f6c2cc1245e3f",
|
|
expand=False,
|
|
)
|
|
version(
|
|
"2021.2.0",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/17731/l_oneapi_ccl_p_2021.2.0.269_offline.sh",
|
|
sha256="18b7875030243295b75471e235e91e5f7b4fc15caf18c07d941a6d47fba378d7",
|
|
expand=False,
|
|
)
|
|
version(
|
|
"2021.1.1",
|
|
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/17391/l_oneapi_ccl_p_2021.1.1.54_offline.sh",
|
|
sha256="de732df57a03763a286106c8b885fd60e83d17906936a8897a384b874e773f49",
|
|
expand=False,
|
|
)
|
|
|
|
@property
|
|
def component_dir(self):
|
|
return "ccl"
|