Skip to content
Snippets Groups Projects
Commit 3f2f445c authored by Jens Henrik Göbbert's avatar Jens Henrik Göbbert
Browse files

add cuda to julia-default

parent 913d0d4b
Branches
Tags
No related merge requests found
easyblock = 'JuliaBundle'
name = 'Julia.CUDA'
version = '1.6.1'
homepage = 'https://juliagpu.gitlab.io/CUDA.jl'
description = """The CUDA.jl package is the main entrypoint for for programming NVIDIA GPUs using CUDA.
The package makes it possible to do so at various abstraction levels,
from easy-to-use arrays down to hand-written kernels using low-level CUDA APIs.
"""
site_contacts = 'j.goebbert@fz-juelich.de'
toolchain = {'name': 'gcccoremkl', 'version': '9.3.0-2020.2.254'}
toolchainopts = {'pic': True}
builddependencies = [
('binutils', '2.34'),
]
dependencies = [
('Julia', '1.6.1'),
('CUDA', '11.0', '', SYSTEM),
]
arch_name = 'gpu'
exts_defaultclass = 'JuliaPackage'
exts_list = [
('CUDA.jl', '3.1.0', {
'source_tmpl': 'v3.1.0.tar.gz',
'source_urls': ['https://github.com/JuliaGPU/CUDA.jl/archive/']
}),
]
modextravars = {
'JULIA_CUDA_USE_BINARYBUILDER': 'false',
}
moduleclass = 'tools'
...@@ -26,6 +26,7 @@ builddependencies = [ ...@@ -26,6 +26,7 @@ builddependencies = [
dependencies = [ dependencies = [
('Python', '3.8.5'), ('Python', '3.8.5'),
('GMP', '6.2.0'), ('GMP', '6.2.0'),
('CUDA', '11.0', '', SYSTEM),
('SciPy-Stack', '2020', '-Python-%(pyver)s'), ('SciPy-Stack', '2020', '-Python-%(pyver)s'),
] ]
...@@ -36,7 +37,7 @@ buildopts = " USE_SYSTEM_GMP=1 USE_INTEL_MKL=1 " ...@@ -36,7 +37,7 @@ buildopts = " USE_SYSTEM_GMP=1 USE_INTEL_MKL=1 "
installopts = "prefix=%(installdir)s " installopts = "prefix=%(installdir)s "
system_name = local_os.environ['SYSTEMNAME'] system_name = local_os.environ['SYSTEMNAME']
# arch_name = 'gpu' arch_name = 'gpu'
exts_defaultclass = 'JuliaPackage' exts_defaultclass = 'JuliaPackage'
exts_list = [ exts_list = [
...@@ -169,8 +170,17 @@ exts_list = [ ...@@ -169,8 +170,17 @@ exts_list = [
'source_tmpl': 'v0.14.19.tar.gz', 'source_tmpl': 'v0.14.19.tar.gz',
'source_urls': ['https://github.com/JuliaPlots/StatsPlots.jl/archive/'], 'source_urls': ['https://github.com/JuliaPlots/StatsPlots.jl/archive/'],
}), }),
# CUDA
('CUDA.jl', '3.1.0', {
'source_tmpl': 'v3.1.0.tar.gz',
'source_urls': ['https://github.com/JuliaGPU/CUDA.jl/archive/']
}),
] ]
modextravars = {
'JULIA_CUDA_USE_BINARYBUILDER': 'false',
}
sanity_check_paths = { sanity_check_paths = {
'files': ['bin/julia', 'include/julia/julia.h', 'lib/libjulia.so'], 'files': ['bin/julia', 'include/julia/julia.h', 'lib/libjulia.so'],
'dirs': ['bin', 'etc', 'include', 'lib', 'share'] 'dirs': ['bin', 'etc', 'include', 'lib', 'share']
......
...@@ -26,6 +26,7 @@ builddependencies = [ ...@@ -26,6 +26,7 @@ builddependencies = [
dependencies = [ dependencies = [
('Python', '3.8.5'), ('Python', '3.8.5'),
('GMP', '6.2.0'), ('GMP', '6.2.0'),
('CUDA', '11.0', '', SYSTEM),
('SciPy-Stack', '2020', '-Python-%(pyver)s', ('gcccoremkl', '9.3.0-2020.2.254')), ('SciPy-Stack', '2020', '-Python-%(pyver)s', ('gcccoremkl', '9.3.0-2020.2.254')),
] ]
...@@ -36,7 +37,7 @@ buildopts = " USE_SYSTEM_GMP=1 USE_INTEL_MKL=1 " ...@@ -36,7 +37,7 @@ buildopts = " USE_SYSTEM_GMP=1 USE_INTEL_MKL=1 "
installopts = "prefix=%(installdir)s " installopts = "prefix=%(installdir)s "
system_name = local_os.environ['SYSTEMNAME'] system_name = local_os.environ['SYSTEMNAME']
# arch_name = 'gpu' arch_name = 'gpu'
exts_defaultclass = 'JuliaPackage' exts_defaultclass = 'JuliaPackage'
exts_list = [ exts_list = [
...@@ -176,6 +177,11 @@ exts_list = [ ...@@ -176,6 +177,11 @@ exts_list = [
'source_tmpl': 'v0.17.2.tar.gz', 'source_tmpl': 'v0.17.2.tar.gz',
'source_urls': ['https://github.com/JuliaParallel/MPI.jl/archive/'], 'source_urls': ['https://github.com/JuliaParallel/MPI.jl/archive/'],
}), }),
# CUDA
('CUDA.jl', '3.1.0', {
'source_tmpl': 'v3.1.0.tar.gz',
'source_urls': ['https://github.com/JuliaGPU/CUDA.jl/archive/']
}),
] ]
modextravars = { modextravars = {
...@@ -184,7 +190,8 @@ modextravars = { ...@@ -184,7 +190,8 @@ modextravars = {
# 'JULIA_MPIEXEC_ARGS': '', # 'JULIA_MPIEXEC_ARGS': '',
'JULIA_MPI_ABI': 'OpenMPI', 'JULIA_MPI_ABI': 'OpenMPI',
'JULIA_MPI_BINARY': 'system', 'JULIA_MPI_BINARY': 'system',
'JULIA_MPI_PATH': '$::env(EBROOTOPENMPI)' 'JULIA_MPI_PATH': '$::env(EBROOTOPENMPI)',
'JULIA_CUDA_USE_BINARYBUILDER': 'false',
} }
sanity_check_paths = { sanity_check_paths = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment