Commit ebba84b4 authored by Lukáš Krupčík's avatar Lukáš Krupčík

new file: g/git/git-2.25.1.eb

	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
parent 66465723
Pipeline #10618 passed with stage
in 15 seconds
# IT4Innovations 2020
easyblock = 'ConfigureMake'
name = 'git'
version = "2.25.1"
homepage = 'http://git-scm.com/'
description = """Git is a free and open source distributed version control system designed
to handle everything from small to very large projects with speed and efficiency."""
toolchain = SYSTEM
source_urls = ['https://www.kernel.org/pub/software/scm/git/']
sources = ['%(name)s-%(version)s.tar.gz']
builddependencies = [
('Autoconf', '2.69', '', True)
]
preconfigopts = 'make configure && '
sanity_check_paths = {
'files': ['bin/git'],
'dirs': [],
}
moduleclass = 'tools'
# IT4Innovations 2020
easyblock = 'CmdCp'
name = 'mumax'
version = '3.10beta'
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': '3.10beta.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',
]
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'
# 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'
--- src/github.com/mumax/3/cuda/curand/generator.go.orig 2020-02-17 08:51:14.588086649 +0100
+++ src/github.com/mumax/3/cuda/curand/generator.go 2020-02-17 08:51:34.021103553 +0100
@@ -43,7 +43,7 @@
}
func (g Generator) SetSeed(seed int64) {
- err := Status(C.curandSetPseudoRandomGeneratorSeed(C.curandGenerator_t(unsafe.Pointer(uintptr(g))), _Ctype_ulonglong(seed)))
+ err := Status(C.curandSetPseudoRandomGeneratorSeed(C.curandGenerator_t(unsafe.Pointer(uintptr(g))), C.ulonglong(seed)))
if err != SUCCESS {
panic(err)
}
--- src/github.com/mumax/3/cuda/cufft/mode.go.orig 2020-02-17 08:58:59.089489954 +0100
+++ src/github.com/mumax/3/cuda/cufft/mode.go 2020-02-17 08:59:40.245525688 +0100
@@ -11,10 +11,7 @@
type CompatibilityMode int
const (
- COMPATIBILITY_NATIVE CompatibilityMode = C.CUFFT_COMPATIBILITY_NATIVE
- COMPATIBILITY_FFTW_PADDING CompatibilityMode = C.CUFFT_COMPATIBILITY_FFTW_PADDING
- COMPATIBILITY_FFTW_ASYMMETRIC CompatibilityMode = C.CUFFT_COMPATIBILITY_FFTW_ASYMMETRIC
- COMPATIBILITY_FFTW_ALL CompatibilityMode = C.CUFFT_COMPATIBILITY_FFTW_ALL
+ COMPATIBILITY_FFTW_PADDING CompatibilityMode = C.CUFFT_COMPATIBILITY_FFTW_PADDING
)
func (t CompatibilityMode) String() string {
@@ -25,7 +22,4 @@
}
var compatibilityModeString map[CompatibilityMode]string = map[CompatibilityMode]string{
- COMPATIBILITY_NATIVE: "CUFFT_COMPATIBILITY_NATIVE",
- COMPATIBILITY_FFTW_PADDING: "CUFFT_COMPATIBILITY_FFTW_PADDING",
- COMPATIBILITY_FFTW_ASYMMETRIC: "CUFFT_COMPATIBILITY_FFTW_ASYMMETRIC",
- COMPATIBILITY_FFTW_ALL: "CUFFT_COMPATIBILITY_FFTW_ALL"}
+ COMPATIBILITY_FFTW_PADDING: "CUFFT_COMPATIBILITY_FFTW_PADDING"}
......@@ -11,7 +11,7 @@ description = """Python 2.7 toolchain"""
toolchain = SYSTEM
dependencies = [
('Python', '2.7.17', '-base', ('GCC', '8.3.0-2.32')),
('Python', '2.7.17', '-base', ('GCC', '8.3.0-2.32')),
('GCC', '8.3.0-2.32'),
]
......
# IT4Innovations 2019
easyblock = "Rpm"
name = 'Python'
version = 'system'
homepage = 'http://python.org/'
description = "Python is a programming language that lets you work more quickly and integrate your systems more effectively."
toolchain = SYSTEM
toolchainopts = {'pic': True, 'opt': True, 'optarch': True}
source_urls = ['http://mirror.it4i.cz/centos/7/os/x86_64/Packages/']
sources = ['python-2.7.5-86.el7.x86_64.rpm']
dependencies = [
('rpmrebuild', '2.14'),
]
exts_list = [
('setuptools', '41.6.0', {
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
'source_tmpl': '%(name)s-%(version)s.zip',
}),
('pip', '19.3.1', {
'source_urls': ['http://pypi.python.org/packages/source/p/pip/'],
}),
('nose', '1.3.7', {
'source_urls': ['http://pypi.python.org/packages/source/n/nose/'],
}),
]
moduleclass = 'lang'
# IT4Innovations 2020
easyblock = "Tarball"
name = "rpmrebuild"
version = "2.14"
homepage = 'http://rpmrebuild.sourceforge.net/'
description = """rpmrebuild is a tool to build an RPM file from a package that has already been
installed in a basic use"""
toolchain = SYSTEM
source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
modextrapaths = {'PATH': ['']}
modextravars = {'RPMREBUILD_ROOT_DIR': '%(installdir)s'}
sanity_check_paths = {
'files': ["rpmrebuild"],
'dirs': []
}
moduleclass = 'tools'
# IT4Innovations 2020
easyblock = "PythonPackage"
name = 'wheel'
version = '0.33.4'
homepage = 'https://pypi.python.org/pypi/wheel'
description = 'A built-package format for Python.'
toolchain = {'name': 'Py', 'version': 'system'}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python2.7/site-packages/%(name)s-%(version)s-py2.7.egg'],
}
moduleclass = 'python'
Markdown is supported
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