easyconfigs-it4i/ARCHIVE/s/SPRNG/SPRNG-2.0b-foss-2016a.eb
Lukas Krupcik 182459da35 deleted: "a/ANSYS/\\"
deleted:    a/Anaconda2/Anaconda2-4.4.0.eb
	deleted:    a/Anaconda3/Anaconda3-2019.10.eb
	deleted:    a/Anaconda3/Anaconda3-4.4.0.eb
	deleted:    a/Anaconda3/Anaconda3-5.3.1.eb
	deleted:    a/Autotools/Autotools-20150215-GCC-6.3.0-2.27.eb
	deleted:    a/Autotools/Autotools-20170619.eb
	deleted:    a/Autotools/Autotools-20180311.eb
2022-05-05 11:22:37 +02:00

35 lines
847 B
Plaintext

easyblock = 'MakeCp'
name = 'SPRNG'
version = '2.0b'
homepage = 'http://www.sprng.org/'
description = "Scalable Parallel Pseudo Random Number Generators Library"
toolchain = {'name': 'foss', 'version': '2016a'}
toolchainopts = {'usempi': True}
source_urls = ['http://www.sprng.org/Version2.0/']
sources = ['%(namelower)s%(version)s.tar.gz']
patches = ['SPRNG-2.0_fix-metropolis-test.patch']
dependencies = [('GMP', '6.1.0')]
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'