easyblock = 'MakeCp'

name = 'piSvM'
version = '1.3'

homepage = 'http://pisvm.sourceforge.net/'
description = """piSvM is a parallel implementation of the Support Vector Machine (SVM) algorithm that allows
 efficient training and testing on a multiprocessor system."""

toolchain = {'name': 'intel', 'version': '2017b'}
toolchainopts = {'usempi': True}

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TGZ]
checksums = ['6fae03a804ea545eb76942fc386a4b3292b0312f23537965e1f9ee15ec0abdfa']

buildopts = 'CC="$CC" CXXC="$CXX" CFLAGS="$CFLAGS"'

files_to_copy = [(['pisvm-predict', 'pisvm-train'], 'bin')]

sanity_check_paths = {
    'files': ['bin/pisvm-predict', 'bin/pisvm-train'],
    'dirs': [],
}

moduleclass = 'math'
