Commit 227c6da3 authored by Stepan Nassyr's avatar Stepan Nassyr
Browse files

Base packages for ACfL 22.0.1 Toolchain

parent 8afa912d
# This is a thin wrapper that depends on Modules already being installed and in the MODULEPATH
import os as local_os
easyblock = 'Bundle'
name = 'ArmBLAS'
version = '22.0.1'
homepage = 'http://www.arm.com'
description = """
ARM performance libraries as BLAS and LAPACK libraries
"""
toolchain = {'version': version, 'name': 'armlinux'}
altroot = 'armpl'
dependencies = [
('armpl/%s' % version, EXTERNAL_MODULE)
]
moduleclass = 'numlib'
# This is a thin wrapper that depends on Modules already being installed and in the MODULEPATH
import os as local_os
easyblock = 'Bundle'
name = 'ArmFFT'
version = '22.0.1'
homepage = 'http://www.arm.com'
description = """
ARM performance libraries as FFT library
"""
toolchain = {'version': version, 'name': 'armlinux'}
altroot = 'armpl'
dependencies = [
('armpl/%s' % version, EXTERNAL_MODULE)
]
moduleclass = 'numlib'
easyblock = "Toolchain"
name = 'alompi'
version = '22.0.1'
homepage = '(none)'
description = """ARM compiler for HPC based compiler toolchain,
including OpenMPI for MPI support.
"""
toolchain = SYSTEM
dependencies = [
('armlinux', version),
('OpenMPI', '4.1.2', '', ('armlinux', version)),
]
moduleclass = 'toolchain'
easyblock = 'Toolchain'
name = 'alplompi'
version = '22.0.1'
homepage = 'https://developer.arm.com/tools-and-software/server-and-hpc/arm-architecture-tools/arm-allinea-studio/download'
description = """ARM compiler for Linux based compiler toolchain, including
OpenMPI for MPI support, and ARM Performance Libraries."""
toolchain = SYSTEM
dependencies = [
('armlinux', version),
('OpenMPI', '4.1.2', '', ('armlinux', version)),
('ArmBLAS', version, '', ('armlinux', version)),
('ArmFFT', version, '', ('armlinux', version)),
('ScaLAPACK', '2.1.0', '-ArmBLAS-%s' % version, ('alompi', '22.0.1')),
]
moduleclass = 'toolchain'
# Installs the Arm Linux compiler. The installed modulefiles are then loaded by armlinux
easyblock = 'Binary'
name = 'armlinux-install'
version = '22.0.1'
homepage = 'http://www.arm.com'
description = """
ARM Compiler for Linux (armclang, armclang++, armflang)
"""
toolchain = SYSTEM
sources = [{
# 'source_urls' : ['https://developer.arm.com/-/media/Files/downloads/hpc/arm-allinea-studio/%s/ACfL/' % version.replace('.','-')],
'source_urls' : ['https://developer.arm.com/-/media/Files/downloads/hpc/arm-allinea-studio/%s/' % version.replace('.','-')],
'filename' : 'arm-compiler-for-linux_%(version)s_RHEL-8_%(arch)s.tar'
},
# {
# 'filename' : 'armlinux-module-fix-dependencies-for-lmod.patch',
# 'extract_cmd' : 'cp %s %(builddir)s'
# }
]
#patches = []
# Don't patch sources, patch as postinstallcmd instead
#skipsteps=['patch']
extract_sources = True
install_cmd = '%(builddir)s/arm-compiler-for-linux_%(version)s_RHEL-8/arm-compiler-for-linux_%(version)s_RHEL-8.sh -a -i %(installdir)s'
# Patch modulefiles so they work with LMod
#postinstallcmds = [
# 'cd %(installdir)s/modulefiles && patch -p1 < %(builddir)s/armlinux-module-fix-dependencies-for-lmod.patch'
#]
sanity_check_paths = {
'files' : ['arm-linux-compiler-%%(version)s_Generic-AArch64_RHEL-8_%%(arch)s-linux/bin/%s' % bin for bin in ['armclang','armclang++','armflang']],
'dirs' : [
'arm-linux-compiler-%(version)s_Generic-AArch64_RHEL-8_%(arch)s-linux',
'armpl-%(version)s.0_AArch64_RHEL-8_arm-linux-compiler_%(arch)s-linux',
'modulefiles',
]
}
modextrapaths = {
'MODULEPATH' : 'modulefiles'
}
moduleclass = 'compiler'
# Shim Easyconfig loading the actual modules
easyblock = 'Bundle'
name = 'armlinux'
version = '22.0.1'
homepage = 'http://www.arm.com'
description = """
ARM Compiler for Linux (armclang, armclang++, armflang)
"""
toolchain = SYSTEM
dependencies = [
('armlinux-install', version),
('acfl/%(version)s', EXTERNAL_MODULE)
]
moduleclass = 'compiler'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment