RT8907 && mgolas LSMS support

This commit is contained in:
Lukáš Krupčík 2017-03-20 08:09:31 +01:00
parent 2040e43b91
commit da323d1f94
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,19 @@
easyblock = 'ConfigureMake'
name = 'GSL'
version = '2.3'
homepage = 'http://www.gnu.org/software/gsl/'
description = """The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers.
The library provides a wide range of mathematical routines such as random number generators, special functions
and least-squares fitting."""
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'unroll': True, 'pic': True}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
configopts = "--with-pic"
moduleclass = 'numlib'

View File

@ -20,6 +20,7 @@ sources = [
large_src,
timing_src,
]
source_urls = [
# order matters, trying to download the LAPACK tarball from GitHub causes trouble
"http://www.netlib.org/lapack/",
@ -35,7 +36,7 @@ patches = [
skipsteps = ['configure']
buildopts = 'BINARY=64 USE_THREAD=1 CC="$CC" FC="$F77" NO_AFFINITY=1'
buildopts = 'BINARY=64 USE_THREAD=1 USE_OPENMP=1 CC="$CC" FC="$F77" NO_AFFINITY=1'
installopts = "USE_THREAD=1 PREFIX=%(installdir)s"
# extensive testing can be enabled by uncommenting the line below