mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-10 17:02:11 +01:00
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
This commit is contained in:
parent
6646572383
commit
ebba84b460
28
g/git/git-2.25.1.eb
Normal file
28
g/git/git-2.25.1.eb
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# 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'
|
53
m/mumax/mumax-3.10beta-CUDA-10.2.89.eb
Normal file
53
m/mumax/mumax-3.10beta-CUDA-10.2.89.eb
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# 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'
|
53
m/mumax/mumax-3.9.3-CUDA-10.2.89.eb
Normal file
53
m/mumax/mumax-3.9.3-CUDA-10.2.89.eb
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# 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'
|
11
m/mumax/mumax-go.patch
Normal file
11
m/mumax/mumax-go.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- 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)
|
||||||
|
}
|
23
m/mumax/mumax-new-cuda.patch
Normal file
23
m/mumax/mumax-new-cuda.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
--- 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
|
toolchain = SYSTEM
|
||||||
|
|
||||||
dependencies = [
|
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'),
|
('GCC', '8.3.0-2.32'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
34
p/Python/Python-system.eb
Normal file
34
p/Python/Python-system.eb
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# 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'
|
25
r/rpmrebuild/rpmrebuild-2.14.eb
Normal file
25
r/rpmrebuild/rpmrebuild-2.14.eb
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# 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'
|
20
w/wheel/wheel-0.33.4-Py-system.eb
Normal file
20
w/wheel/wheel-0.33.4-Py-system.eb
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# 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'
|
Loading…
x
Reference in New Issue
Block a user