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