# Built with EasyBuild version 2.2.0dev on 2015-06-29_15-38-14 easyblock = 'ConfigureMake' name = 'OpenBLAS' version = '0.2.14' lapackver = '3.5.0' versionsuffix = '-LAPACK-%s' % lapackver homepage = 'http://xianyi.github.com/OpenBLAS/' description = """OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.""" toolchain = {'name': 'GNU', 'version': '5.1.0-2.25'} lapack_src = 'lapack-%s.tgz' % lapackver large_src = 'large.tgz' timing_src = 'timing.tgz' sources = [ 'v%(version)s.tar.gz', lapack_src, large_src, timing_src, ] source_urls = [ # order matters, trying to download the LAPACK tarball from GitHub causes trouble "http://www.netlib.org/lapack/", "http://www.netlib.org/lapack/timing/", "https://github.com/xianyi/OpenBLAS/archive/", ] patches = [ (lapack_src, '.'), # copy LAPACK tarball to unpacked OpenBLAS dir (large_src, '.'), (timing_src, '.'), ] skipsteps = ['configure'] buildopts = 'BINARY=64 USE_THREAD=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 #runtest = 'PATH=.:$PATH lapack-timing' sanity_check_paths = { 'files': ['include/cblas.h', 'include/f77blas.h', 'include/lapacke_config.h', 'include/lapacke.h', 'include/lapacke_mangling.h', 'include/lapacke_utils.h', 'include/openblas_config.h', 'lib/libopenblas.a', 'lib/libopenblas.%s' % SHLIB_EXT], 'dirs': [], } moduleclass = 'numlib' # Build statistics buildstats = [{ "easybuild-framework_version": "2.2.0dev", "easybuild-easyblocks_version": "2.2.0dev", "timestamp": 1435585094, "build_time": 115.77, "install_size": 89514885, "command_line": ['--buildpath=/easybuild/build', '--from-pr=1695', '--installpath=/apps', '--installpath-modules=/apps/modules', '--installpath-software=/apps', '--module-naming-scheme=IT4IModuleNamingScheme', '--repositorypath=/easybuild/file-repository', '--robot=/easybuild/easyconfigs-salomon/easybuild/easyconfigs', '--robot-paths=/easybuild/easyconfigs-salomon/easybuild/easyconfigs', '--sourcepath=/easybuild/sources'], "modules_tool": ('EnvironmentModulesC', '/usr/bin/modulecmd', '3.2.10'), "core_count": 28, "cpu_model": "Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz", "cpu_speed": 2299.976, "cpu_vendor": "Intel", "gcc_version": "Using built-in specs.; COLLECT_GCC=gcc; COLLECT_LTO_WRAPPER=/apps/all/GCC/5.1.0-binutils-2.25/libexec/gcc/x86_64-unknown-linux-gnu/5.1.0/lto-wrapper; Target: x86_64-unknown-linux-gnu; Configured with: ../configure --enable-languages=c,c++,fortran --enable-lto --enable-checking=release --disable-multilib --enable-shared=yes --enable-static=yes --enable-threads=posix --enable-gold=default --enable-plugins --enable-ld --with-plugin-ld=ld.gold --prefix=/apps/all/GCC/5.1.0-binutils-2.25 --with-local-prefix=/apps/all/GCC/5.1.0-binutils-2.25 --enable-bootstrap --with-isl=/easybuild/build/GCC/5.1.0/dummy--binutils-2.25/gcc-5.1.0/stage2_stuff; Thread model: posix; gcc version 5.1.0 (GCC) ; ", "glibc_version": "2.12", "hostname": "login1", "os_name": "centos", "os_type": "Linux", "os_version": "6.6", "platform_name": "x86_64-unknown-linux", "python_version": "2.6.6 (r266:84292, Jan 22 2014, 09:42:36) ; [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]", "system_gcc_path": "/apps/all/GCC/5.1.0-binutils-2.25/bin/gcc", "system_python_path": "/usr/bin/python", }]