mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

new file: m/mumax/mumax-3.10beta-CUDA-10.2.89.eb new file: m/mumax/mumax-3.9.3-CUDA-10.2.89.eb new file: m/mumax/mumax-go.patch new file: m/mumax/mumax-new-cuda.patch modified: p/Py/Py-2.7.eb new file: p/Python/Python-system.eb new file: r/rpmrebuild/rpmrebuild-2.14.eb new file: w/wheel/wheel-0.33.4-Py-system.eb
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
# IT4Innovations 2020
|
|
|
|
easyblock = 'CmdCp'
|
|
|
|
name = 'mumax'
|
|
version = '3.9.3'
|
|
versionsuffix = '-CUDA-10.2.89'
|
|
|
|
homepage = 'https://github.com/mumax/3'
|
|
description = "GPU accelerated micromagnetic simulator."
|
|
|
|
toolchain = SYSTEM
|
|
|
|
#source_urls = ['https://github.com/mumax/3/archive']
|
|
#sources = ['v3.9.3.tar.gz']
|
|
|
|
sources = [{
|
|
'source_urls': ['https://github.com/mumax/3/archive/'],
|
|
'filename': 'v3.9.3.tar.gz',
|
|
# 'download_filename': 'archive.gz',
|
|
'extract_cmd': "mkdir -p src/github.com/mumax/3 && tar xfvz %s -C src/github.com/mumax/3 --strip-components=1",
|
|
}]
|
|
|
|
patches = [
|
|
'mumax-go.patch',
|
|
'mumax-new-cuda.patch'
|
|
]
|
|
|
|
dependencies = [
|
|
('CUDA', '10.2.89'),
|
|
]
|
|
|
|
builddependencies = [
|
|
('Go', '1.13.1'),
|
|
]
|
|
|
|
local_commands = "export GOPATH=%(builddir)s && "
|
|
local_commands += "cd src/github.com/mumax/3/cmd/mumax3 && go install"
|
|
|
|
cmds_map = [('.*', local_commands)]
|
|
|
|
start_dir = "%(builddir)s"
|
|
|
|
files_to_copy = [
|
|
(['bin/mumax3'], 'bin'),
|
|
]
|
|
|
|
sanity_check_paths = {
|
|
'files': ['bin/mumax3'],
|
|
'dirs': [''],
|
|
}
|
|
|
|
moduleclass = 'phys'
|