added INTEL_parallel-make.patch, MPI-LIBLINEAR-2.11-intel-2017a.eb

This commit is contained in:
Marek Pecha 2017-04-24 18:14:26 +02:00 committed by Vaclav Hapla
parent e5fdae36ea
commit 58408305ca
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#This patch fixes the detection of Intel MPI C++ and C compilers.
#made by PERMON team (http://permon.it4i.cz/)
--- Makefile.orig 2016-11-08 06:23:58.000000000 +0100
+++ Makefile 2017-04-24 15:17:54.000000000 +0200
@@ -1,5 +1,5 @@
-CXX = mpic++
-CC = mpicc
+CXX = mpiicpc
+CC = mpiicc
CFLAGS = -Wall -Wconversion -O3 -fPIC
LIBS = blas/blas.a
SHVER = 3

View File

@ -0,0 +1,30 @@
easyblock = 'MakeCp'
name = 'MPI-LIBLINEAR'
version = '2.1-1'
homepage = 'https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/distributed-liblinear/mpi/'
description = """MPI LIBLINEAR is an extension of LIBLINEAR on distributed environments. The usage and the data format are the same as LIBLINEAR.
It supports L2-regularized logistic regression, L2-regularized logistic regression, L2-regularized L2-loss linear SVM (primal trust-region Newton),
L2-regularized L1-loss linear SVM (dual), L2-regularized logistic regression (primal limited common directions),
L2-regularized L2-loss linear SVM (primal limited common directions). Module created by the PERMON Team (http://permon.it4i.cz)."""
toolchain = {'name': 'intel', 'version': '2017a'}
source_urls = [homepage]
sources = [SOURCELOWER_ZIP]
patches = ['INTEL_parallel-make.patch']
files_to_copy = [(['train', 'predict', 'split.py'], 'bin')]
sanity_check_paths = {
'files': ['bin/%s' % x for x in ['train', 'predict', 'split.py']],
'dirs': [],
}
modextrapaths = {
'PATH': ['bin'],
}
moduleclass = 'numlib'