easyblock = 'AllineaBase'

name = 'PerformanceReports'
version = '5.1-43967'

homepage = 'http://www.allinea.com/products/allinea-performance-reports'
description = """Allinea Performance Reports are the most effective way
to characterize and understand the performance of HPC application runs.
One single-page HTML report elegantly answers a range of vital questions for any HPC site.
 - Is this application well-optimized for the system and the processors it is running on?
 - Does it benefit from running at this scale?
 - Are there I/O, networking or threading bottlenecks affecting performance?
 - Which hardware, software or configuration changes can we make to improve performance further.
 - How much energy did this application use?
"""

toolchain = SYSTEM

source_urls = [
    # Use manually downloaded sources
    # http://content.allinea.com/downloads/allinea-forge-latest-Redhat-6.0-x86_64+MIC-2.1-k1om.tar
    # http://content.allinea.com/downloads/allinea-reports-latest-Redhat-6.0-x86_64.tar
    # and rename it to format %(namelower)s-%(version)s.tar, so
    # forge-5.1-43967.tar ...
]

#### IMPORTANT NOTE! ####
# Right now, we do not have support for
# copying Allinea licence file to the
# installation directory
# You have to copy file manually
# to the %(installdir)s/licences/ directory!
###########################

sources = [SOURCELOWER_TAR]

skipsteps = ['configure', 'build']

sanity_check_paths = {
    'files': ['bin/perf-report'],
    'dirs': ['lib'],
}

moduleclass = 'debugger'
