FFTW-2.1.5-gompi-1.5.12.eb 1.3 KB
Newer Older
Lukáš Krupčík's avatar
Lukáš Krupčík committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
easyblock = 'ConfigureMake'

name = 'FFTW'
version = '2.1.5'

homepage = 'http://www.fftw.org'
description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT)
 in one or more dimensions, of arbitrary input size, and of both real and complex data."""

toolchain = {'name': 'gompi', 'version': '1.5.12'}
toolchainopts = {'optarch': True, 'pic': True}

sources = [SOURCELOWER_TAR_GZ]
source_urls = [homepage]

common_configopts = "--enable-shared --enable-type-prefix --enable-threads --with-pic"

configopts = [
    common_configopts + " --enable-float --enable-mpi",
    common_configopts + " --enable-mpi",  # default as last
]

sanity_check_paths = {
Lukáš Krupčík's avatar
Lukáš Krupčík committed
24 25 26 27 28 29 30 31 32 33 34 35 36
    'files': [
        'include/%sfftw%s.h' %
        (x, y) for x in [
            'd', 'dr', 's', 'sr'] for y in [
                '', '_mpi', '_threads']] + [
                    'lib/lib%sfftw%s.a' %
                    (x, y) for x in [
                        'd', 'dr', 's', 'sr'] for y in [
                            '', '_mpi', '_threads']] + [
                                'lib/lib%sfftw%s.%s' %
                                (x, y, SHLIB_EXT) for x in [
                                    'd', 'dr', 's', 'sr'] for y in [
                                        '', '_mpi', '_threads']], 'dirs': [], }
Lukáš Krupčík's avatar
Lukáš Krupčík committed
37 38

moduleclass = 'numlib'