mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00
35 lines
845 B
Plaintext
35 lines
845 B
Plaintext
easyblock = 'MakeCp'
|
|
|
|
name = 'SPRNG'
|
|
version = '2.0a'
|
|
|
|
homepage = 'http://www.sprng.org/'
|
|
description = "Scalable Parallel Pseudo Random Number Generators Library"
|
|
|
|
toolchain = {'name': 'ictce', 'version': '5.5.0'}
|
|
toolchainopts = {'usempi': True}
|
|
|
|
source_urls = ['http://www.sprng.org/Version2.0/']
|
|
sources = ['%(namelower)s%(version)s.tgz']
|
|
|
|
patches = ['SPRNG-2.0_fix-metropolis-test.patch']
|
|
|
|
dependencies = [('GMP', '5.1.3')]
|
|
|
|
buildopts = 'PLAT=INTEL MPIDEF="-DSPRNG_MPI" CC="$CC" F77="$F77" PMLCGDEF="-DUSE_PMLCG" GMPLIB="-L$EBROOTGMP/lib -lgmp" FFXN="-DAdd_"'
|
|
|
|
# does not support parallel build
|
|
parallel = 1
|
|
|
|
files_to_copy = [
|
|
(['lib/libsprng.a'], 'lib'),
|
|
(['include/interface.h', 'include/sprng.h', 'include/sprng_f.h'], 'include'),
|
|
]
|
|
|
|
sanity_check_paths = {
|
|
'files': ["lib/libsprng.a"],
|
|
'dirs': [],
|
|
}
|
|
|
|
moduleclass = 'lib'
|