Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= hpl |
4 |
PORTNAME= hpl |
5 |
PORTVERSION= 2.1 |
5 |
DISTVERSION= 2.2 |
6 |
PORTREVISION= 10 |
|
|
7 |
CATEGORIES= benchmarks |
6 |
CATEGORIES= benchmarks |
8 |
MASTER_SITES= NETLIB/benchmark/hpl |
7 |
MASTER_SITES= NETLIB/benchmark/hpl |
9 |
|
8 |
|
Lines 11-17
Link Here
|
11 |
COMMENT= High Performance Computing Linpack Benchmark |
10 |
COMMENT= High Performance Computing Linpack Benchmark |
12 |
|
11 |
|
13 |
LIB_DEPENDS= libblas.so:math/blas \ |
12 |
LIB_DEPENDS= libblas.so:math/blas \ |
14 |
libmpich.so:net/mpich2 |
13 |
libmpich.so:net/mpich |
15 |
|
14 |
|
16 |
USES= fortran |
15 |
USES= fortran |
17 |
USE_LDCONFIG= yes |
16 |
USE_LDCONFIG= yes |
Lines 32-38
Link Here
|
32 |
s|ARCH[ )]|_&|g ; \ |
31 |
s|ARCH[ )]|_&|g ; \ |
33 |
s|^HPL_OPTS[ ]*=.*$$|HPL_OPTS =| ; \ |
32 |
s|^HPL_OPTS[ ]*=.*$$|HPL_OPTS =| ; \ |
34 |
s|^LAlib[ ]*=.*$$|LAlib = $$\(LAdir\)/lib/libblas.a| ; \ |
33 |
s|^LAlib[ ]*=.*$$|LAlib = $$\(LAdir\)/lib/libblas.a| ; \ |
35 |
s|libpmpich.a|libmpl.a -lpthread|' \ |
34 |
s|libmpich.a|libmpich.so -lpthread| ; \ |
|
|
35 |
s|libpmpich.a|libmpl.so -lpthread|' \ |
36 |
${WRKSRC}/setup/Make.${HPL_ARCH} |
36 |
${WRKSRC}/setup/Make.${HPL_ARCH} |
37 |
@${REINPLACE_CMD} -e 's|HPL\.dat|${PREFIX}/etc/${PORTNAME}/&|' \ |
37 |
@${REINPLACE_CMD} -e 's|HPL\.dat|${PREFIX}/etc/${PORTNAME}/&|' \ |
38 |
${WRKSRC}/testing/ptest/HPL_pdinfo.c |
38 |
${WRKSRC}/testing/ptest/HPL_pdinfo.c |