View | Details | Raw Unified | Return to bug 72265
Collapse All | Expand All

(-)math/scalapack/Makefile (-2 / +14 lines)
Lines 32-41 Link Here
32
F77?=	f77
32
F77?=	f77
33
USE_REINPLACE=	yes
33
USE_REINPLACE=	yes
34
34
35
ARCH2FIX=	PBLAS/SRC PBLAS/SRC/PBBLAS PBLAS/SRC/PTOOLS PBLAS/SRC/PTZBLAS \
36
		REDIST/SRC SRC TOOLS TOOLS/LAPACK
37
38
DATADIR=	${PREFIX}/share/${PORTNAME:U}
39
EXAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME:U}
40
PKGMESSAGE=	${WRKDIR}/pkg-message
41
35
.include "files/manpages"
42
.include "files/manpages"
36
43
37
post-patch:
44
post-patch:
38
	${REINPLACE_CMD} -e 's,@WRKSRC@,${WRKSRC},g ; s,@PREFIX@,${PREFIX},g ; s,@CC@,${CC},g ; s,@CFLAGS@,${CFLAGS},g ; s,@F77@,${F77},g ; s,@FFLAGS@,${FFLAGS},g ; s,@F77EXTRAFLAGS@,${F77EXTRAFLAGS},g' ${WRKSRC}/SLmake.inc
45
	${REINPLACE_CMD} -e 's,@WRKSRC@,${WRKSRC},g ; s,@PREFIX@,${PREFIX},g ; s,@CC@,${CC},g ; s,@CFLAGS@,${CFLAGS},g ; s,@F77@,${F77},g ; s,@FFLAGS@,${FFLAGS},g ; s,@F77EXTRAFLAGS@,${F77EXTRAFLAGS},g ; s,^ARCH *.= ar,ARCMD = ar,' ${WRKSRC}/SLmake.inc
46
.for mkf in ${ARCH2FIX}
47
	${REINPLACE_CMD} -e 's|\$$(ARCH)|$$(ARCMD)|' ${WRKSRC}/${mkf}/Makefile
48
.endfor
39
49
40
do-build:
50
do-build:
41
	(cd ${WRKSRC}; make ; make exe)
51
	(cd ${WRKSRC}; make ; make exe)
Lines 72-77 Link Here
72
.endif
82
.endif
73
83
74
post-install:
84
post-install:
75
	@${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}
85
	@${SED} -e 's,/usr/local,${PREFIX},g' ${FILESDIR}/pkg-message.in \
86
		> ${PKGMESSAGE}
87
	@${CAT} ${PKGMESSAGE}
76
88
77
.include <bsd.port.mk>
89
.include <bsd.port.mk>
(-)math/scalapack/files/pkg-message.in (+21 lines)
Line 0 Link Here
1
***********************************************************************
2
 Please test your scalapack installation
3
 Example programs are located at /usr/local/share/SCALAPACK/examples
4
5
 Test programs are located at /usr/local/share/SCALAPACK/TESTING
6
7
 Example:
8
  % cd /usr/local/share/SCALAPACK/TESTING
9
  % /usr/local/mpich/bin/mpirun -np 4 xcbrd
10
  % /usr/local/mpich/bin/mpirun -np 4 xcdblu
11
   etc., etc. ...
12
13
  to perform all the tests,
14
  % cd /usr/local/share/SCALAPACK/TESTING
15
  % csh
16
  % foreach i (x*)
17
  ? /usr/local/mpich/bin/mpirun -np 4 $i >& ~/$i.log
18
  ? end
19
You can change -np 4 to any number to meet your environment.
20
See files at /usr/local/share/doc/scalapack for detail.
21
**********************************************************************
(-)math/scalapack/pkg-message (-21 lines)
Lines 1-21 Link Here
1
***********************************************************************
2
 Please test your blacs installation
3
 Example programs are located at /usr/local/share/SCALAPACK/examples
4
5
 Test programs are located at /usr/local/share/SCALAPACK/TESTING
6
7
 Example:
8
  % cd /usr/local/share/SCLAPACK/TESTING
9
  % mpirun -np 4 xcbrd 
10
  % mpirun -np 4 xcdblu
11
   etc., etc. ...
12
13
  to perform all the tests,
14
  % cd /usr/local/share/SCLAPACK/TESTING
15
  % csh
16
  % foreach i (x*)
17
  ? mpirun -np 4 $i >& ~/$i.log
18
  ? end 
19
You can change -np 4 to any number to meet your environment.
20
See files at /usr/local/share/doc/scalapack for detail.
21
**********************************************************************
(-)math/scalapack/pkg-plist (-157 / +157 lines)
Lines 5-164 Link Here
5
include/pblas.h
5
include/pblas.h
6
include/scalapack.h
6
include/scalapack.h
7
lib/libscalapack.a
7
lib/libscalapack.a
8
share/SCALAPACK/TESTING/BLLT.dat
8
%%DATADIR%%/TESTING/BLLT.dat
9
share/SCALAPACK/TESTING/BLU.dat
9
%%DATADIR%%/TESTING/BLU.dat
10
share/SCALAPACK/TESTING/BRD.dat
10
%%DATADIR%%/TESTING/BRD.dat
11
share/SCALAPACK/TESTING/EVC.dat
11
%%DATADIR%%/TESTING/EVC.dat
12
share/SCALAPACK/TESTING/GEMR2D.dat
12
%%DATADIR%%/TESTING/GEMR2D.dat
13
share/SCALAPACK/TESTING/HRD.dat
13
%%DATADIR%%/TESTING/HRD.dat
14
share/SCALAPACK/TESTING/INV.dat
14
%%DATADIR%%/TESTING/INV.dat
15
share/SCALAPACK/TESTING/LLT.dat
15
%%DATADIR%%/TESTING/LLT.dat
16
share/SCALAPACK/TESTING/LS.dat
16
%%DATADIR%%/TESTING/LS.dat
17
share/SCALAPACK/TESTING/LU.dat
17
%%DATADIR%%/TESTING/LU.dat
18
share/SCALAPACK/TESTING/NEP.dat
18
%%DATADIR%%/TESTING/NEP.dat
19
share/SCALAPACK/TESTING/PCBLAS1TIM.dat
19
%%DATADIR%%/TESTING/PCBLAS1TIM.dat
20
share/SCALAPACK/TESTING/PCBLAS1TST.dat
20
%%DATADIR%%/TESTING/PCBLAS1TST.dat
21
share/SCALAPACK/TESTING/PCBLAS2TIM.dat
21
%%DATADIR%%/TESTING/PCBLAS2TIM.dat
22
share/SCALAPACK/TESTING/PCBLAS2TST.dat
22
%%DATADIR%%/TESTING/PCBLAS2TST.dat
23
share/SCALAPACK/TESTING/PCBLAS3TIM.dat
23
%%DATADIR%%/TESTING/PCBLAS3TIM.dat
24
share/SCALAPACK/TESTING/PCBLAS3TST.dat
24
%%DATADIR%%/TESTING/PCBLAS3TST.dat
25
share/SCALAPACK/TESTING/PDBLAS1TIM.dat
25
%%DATADIR%%/TESTING/PDBLAS1TIM.dat
26
share/SCALAPACK/TESTING/PDBLAS1TST.dat
26
%%DATADIR%%/TESTING/PDBLAS1TST.dat
27
share/SCALAPACK/TESTING/PDBLAS2TIM.dat
27
%%DATADIR%%/TESTING/PDBLAS2TIM.dat
28
share/SCALAPACK/TESTING/PDBLAS2TST.dat
28
%%DATADIR%%/TESTING/PDBLAS2TST.dat
29
share/SCALAPACK/TESTING/PDBLAS3TIM.dat
29
%%DATADIR%%/TESTING/PDBLAS3TIM.dat
30
share/SCALAPACK/TESTING/PDBLAS3TST.dat
30
%%DATADIR%%/TESTING/PDBLAS3TST.dat
31
share/SCALAPACK/TESTING/PSBLAS1TIM.dat
31
%%DATADIR%%/TESTING/PSBLAS1TIM.dat
32
share/SCALAPACK/TESTING/PSBLAS1TST.dat
32
%%DATADIR%%/TESTING/PSBLAS1TST.dat
33
share/SCALAPACK/TESTING/PSBLAS2TIM.dat
33
%%DATADIR%%/TESTING/PSBLAS2TIM.dat
34
share/SCALAPACK/TESTING/PSBLAS2TST.dat
34
%%DATADIR%%/TESTING/PSBLAS2TST.dat
35
share/SCALAPACK/TESTING/PSBLAS3TIM.dat
35
%%DATADIR%%/TESTING/PSBLAS3TIM.dat
36
share/SCALAPACK/TESTING/PSBLAS3TST.dat
36
%%DATADIR%%/TESTING/PSBLAS3TST.dat
37
share/SCALAPACK/TESTING/PZBLAS1TIM.dat
37
%%DATADIR%%/TESTING/PZBLAS1TIM.dat
38
share/SCALAPACK/TESTING/PZBLAS1TST.dat
38
%%DATADIR%%/TESTING/PZBLAS1TST.dat
39
share/SCALAPACK/TESTING/PZBLAS2TIM.dat
39
%%DATADIR%%/TESTING/PZBLAS2TIM.dat
40
share/SCALAPACK/TESTING/PZBLAS2TST.dat
40
%%DATADIR%%/TESTING/PZBLAS2TST.dat
41
share/SCALAPACK/TESTING/PZBLAS3TIM.dat
41
%%DATADIR%%/TESTING/PZBLAS3TIM.dat
42
share/SCALAPACK/TESTING/PZBLAS3TST.dat
42
%%DATADIR%%/TESTING/PZBLAS3TST.dat
43
share/SCALAPACK/TESTING/QR.dat
43
%%DATADIR%%/TESTING/QR.dat
44
share/SCALAPACK/TESTING/SEP.dat
44
%%DATADIR%%/TESTING/SEP.dat
45
share/SCALAPACK/TESTING/SVD.dat
45
%%DATADIR%%/TESTING/SVD.dat
46
share/SCALAPACK/TESTING/TRD.dat
46
%%DATADIR%%/TESTING/TRD.dat
47
share/SCALAPACK/TESTING/TRMR2D.dat
47
%%DATADIR%%/TESTING/TRMR2D.dat
48
share/SCALAPACK/TESTING/xcbrd
48
%%DATADIR%%/TESTING/xcbrd
49
share/SCALAPACK/TESTING/xcdblu
49
%%DATADIR%%/TESTING/xcdblu
50
share/SCALAPACK/TESTING/xcdtlu
50
%%DATADIR%%/TESTING/xcdtlu
51
share/SCALAPACK/TESTING/xcevc
51
%%DATADIR%%/TESTING/xcevc
52
share/SCALAPACK/TESTING/xcgblu
52
%%DATADIR%%/TESTING/xcgblu
53
share/SCALAPACK/TESTING/xcgemr
53
%%DATADIR%%/TESTING/xcgemr
54
share/SCALAPACK/TESTING/xcgsep
54
%%DATADIR%%/TESTING/xcgsep
55
share/SCALAPACK/TESTING/xchrd
55
%%DATADIR%%/TESTING/xchrd
56
share/SCALAPACK/TESTING/xcinv
56
%%DATADIR%%/TESTING/xcinv
57
share/SCALAPACK/TESTING/xcllt
57
%%DATADIR%%/TESTING/xcllt
58
share/SCALAPACK/TESTING/xcls
58
%%DATADIR%%/TESTING/xcls
59
share/SCALAPACK/TESTING/xclu
59
%%DATADIR%%/TESTING/xclu
60
share/SCALAPACK/TESTING/xcnep
60
%%DATADIR%%/TESTING/xcnep
61
share/SCALAPACK/TESTING/xcpblas1tim
61
%%DATADIR%%/TESTING/xcpblas1tim
62
share/SCALAPACK/TESTING/xcpblas1tst
62
%%DATADIR%%/TESTING/xcpblas1tst
63
share/SCALAPACK/TESTING/xcpblas2tim
63
%%DATADIR%%/TESTING/xcpblas2tim
64
share/SCALAPACK/TESTING/xcpblas2tst
64
%%DATADIR%%/TESTING/xcpblas2tst
65
share/SCALAPACK/TESTING/xcpblas3tim
65
%%DATADIR%%/TESTING/xcpblas3tim
66
share/SCALAPACK/TESTING/xcpblas3tst
66
%%DATADIR%%/TESTING/xcpblas3tst
67
share/SCALAPACK/TESTING/xcpbllt
67
%%DATADIR%%/TESTING/xcpbllt
68
share/SCALAPACK/TESTING/xcptllt
68
%%DATADIR%%/TESTING/xcptllt
69
share/SCALAPACK/TESTING/xcqr
69
%%DATADIR%%/TESTING/xcqr
70
share/SCALAPACK/TESTING/xcsep
70
%%DATADIR%%/TESTING/xcsep
71
share/SCALAPACK/TESTING/xctrd
71
%%DATADIR%%/TESTING/xctrd
72
share/SCALAPACK/TESTING/xctrmr
72
%%DATADIR%%/TESTING/xctrmr
73
share/SCALAPACK/TESTING/xdbrd
73
%%DATADIR%%/TESTING/xdbrd
74
share/SCALAPACK/TESTING/xddblu
74
%%DATADIR%%/TESTING/xddblu
75
share/SCALAPACK/TESTING/xddtlu
75
%%DATADIR%%/TESTING/xddtlu
76
share/SCALAPACK/TESTING/xdgblu
76
%%DATADIR%%/TESTING/xdgblu
77
share/SCALAPACK/TESTING/xdgemr
77
%%DATADIR%%/TESTING/xdgemr
78
share/SCALAPACK/TESTING/xdgsep
78
%%DATADIR%%/TESTING/xdgsep
79
share/SCALAPACK/TESTING/xdhrd
79
%%DATADIR%%/TESTING/xdhrd
80
share/SCALAPACK/TESTING/xdinv
80
%%DATADIR%%/TESTING/xdinv
81
share/SCALAPACK/TESTING/xdllt
81
%%DATADIR%%/TESTING/xdllt
82
share/SCALAPACK/TESTING/xdls
82
%%DATADIR%%/TESTING/xdls
83
share/SCALAPACK/TESTING/xdlu
83
%%DATADIR%%/TESTING/xdlu
84
share/SCALAPACK/TESTING/xdnep
84
%%DATADIR%%/TESTING/xdnep
85
share/SCALAPACK/TESTING/xdpblas1tim
85
%%DATADIR%%/TESTING/xdpblas1tim
86
share/SCALAPACK/TESTING/xdpblas1tst
86
%%DATADIR%%/TESTING/xdpblas1tst
87
share/SCALAPACK/TESTING/xdpblas2tim
87
%%DATADIR%%/TESTING/xdpblas2tim
88
share/SCALAPACK/TESTING/xdpblas2tst
88
%%DATADIR%%/TESTING/xdpblas2tst
89
share/SCALAPACK/TESTING/xdpblas3tim
89
%%DATADIR%%/TESTING/xdpblas3tim
90
share/SCALAPACK/TESTING/xdpblas3tst
90
%%DATADIR%%/TESTING/xdpblas3tst
91
share/SCALAPACK/TESTING/xdpbllt
91
%%DATADIR%%/TESTING/xdpbllt
92
share/SCALAPACK/TESTING/xdptllt
92
%%DATADIR%%/TESTING/xdptllt
93
share/SCALAPACK/TESTING/xdqr
93
%%DATADIR%%/TESTING/xdqr
94
share/SCALAPACK/TESTING/xdsep
94
%%DATADIR%%/TESTING/xdsep
95
share/SCALAPACK/TESTING/xdsvd
95
%%DATADIR%%/TESTING/xdsvd
96
share/SCALAPACK/TESTING/xdtrd
96
%%DATADIR%%/TESTING/xdtrd
97
share/SCALAPACK/TESTING/xdtrmr
97
%%DATADIR%%/TESTING/xdtrmr
98
share/SCALAPACK/TESTING/xigemr
98
%%DATADIR%%/TESTING/xigemr
99
share/SCALAPACK/TESTING/xitrmr
99
%%DATADIR%%/TESTING/xitrmr
100
share/SCALAPACK/TESTING/xsbrd
100
%%DATADIR%%/TESTING/xsbrd
101
share/SCALAPACK/TESTING/xsdblu
101
%%DATADIR%%/TESTING/xsdblu
102
share/SCALAPACK/TESTING/xsdtlu
102
%%DATADIR%%/TESTING/xsdtlu
103
share/SCALAPACK/TESTING/xsgblu
103
%%DATADIR%%/TESTING/xsgblu
104
share/SCALAPACK/TESTING/xsgemr
104
%%DATADIR%%/TESTING/xsgemr
105
share/SCALAPACK/TESTING/xsgsep
105
%%DATADIR%%/TESTING/xsgsep
106
share/SCALAPACK/TESTING/xshrd
106
%%DATADIR%%/TESTING/xshrd
107
share/SCALAPACK/TESTING/xsinv
107
%%DATADIR%%/TESTING/xsinv
108
share/SCALAPACK/TESTING/xsllt
108
%%DATADIR%%/TESTING/xsllt
109
share/SCALAPACK/TESTING/xsls
109
%%DATADIR%%/TESTING/xsls
110
share/SCALAPACK/TESTING/xslu
110
%%DATADIR%%/TESTING/xslu
111
share/SCALAPACK/TESTING/xsnep
111
%%DATADIR%%/TESTING/xsnep
112
share/SCALAPACK/TESTING/xspblas1tim
112
%%DATADIR%%/TESTING/xspblas1tim
113
share/SCALAPACK/TESTING/xspblas1tst
113
%%DATADIR%%/TESTING/xspblas1tst
114
share/SCALAPACK/TESTING/xspblas2tim
114
%%DATADIR%%/TESTING/xspblas2tim
115
share/SCALAPACK/TESTING/xspblas2tst
115
%%DATADIR%%/TESTING/xspblas2tst
116
share/SCALAPACK/TESTING/xspblas3tim
116
%%DATADIR%%/TESTING/xspblas3tim
117
share/SCALAPACK/TESTING/xspblas3tst
117
%%DATADIR%%/TESTING/xspblas3tst
118
share/SCALAPACK/TESTING/xspbllt
118
%%DATADIR%%/TESTING/xspbllt
119
share/SCALAPACK/TESTING/xsptllt
119
%%DATADIR%%/TESTING/xsptllt
120
share/SCALAPACK/TESTING/xsqr
120
%%DATADIR%%/TESTING/xsqr
121
share/SCALAPACK/TESTING/xssep
121
%%DATADIR%%/TESTING/xssep
122
share/SCALAPACK/TESTING/xssvd
122
%%DATADIR%%/TESTING/xssvd
123
share/SCALAPACK/TESTING/xstrd
123
%%DATADIR%%/TESTING/xstrd
124
share/SCALAPACK/TESTING/xstrmr
124
%%DATADIR%%/TESTING/xstrmr
125
share/SCALAPACK/TESTING/xzbrd
125
%%DATADIR%%/TESTING/xzbrd
126
share/SCALAPACK/TESTING/xzdblu
126
%%DATADIR%%/TESTING/xzdblu
127
share/SCALAPACK/TESTING/xzdtlu
127
%%DATADIR%%/TESTING/xzdtlu
128
share/SCALAPACK/TESTING/xzevc
128
%%DATADIR%%/TESTING/xzevc
129
share/SCALAPACK/TESTING/xzgblu
129
%%DATADIR%%/TESTING/xzgblu
130
share/SCALAPACK/TESTING/xzgemr
130
%%DATADIR%%/TESTING/xzgemr
131
share/SCALAPACK/TESTING/xzgsep
131
%%DATADIR%%/TESTING/xzgsep
132
share/SCALAPACK/TESTING/xzhrd
132
%%DATADIR%%/TESTING/xzhrd
133
share/SCALAPACK/TESTING/xzinv
133
%%DATADIR%%/TESTING/xzinv
134
share/SCALAPACK/TESTING/xzllt
134
%%DATADIR%%/TESTING/xzllt
135
share/SCALAPACK/TESTING/xzls
135
%%DATADIR%%/TESTING/xzls
136
share/SCALAPACK/TESTING/xzlu
136
%%DATADIR%%/TESTING/xzlu
137
share/SCALAPACK/TESTING/xznep
137
%%DATADIR%%/TESTING/xznep
138
share/SCALAPACK/TESTING/xzpblas1tim
138
%%DATADIR%%/TESTING/xzpblas1tim
139
share/SCALAPACK/TESTING/xzpblas1tst
139
%%DATADIR%%/TESTING/xzpblas1tst
140
share/SCALAPACK/TESTING/xzpblas2tim
140
%%DATADIR%%/TESTING/xzpblas2tim
141
share/SCALAPACK/TESTING/xzpblas2tst
141
%%DATADIR%%/TESTING/xzpblas2tst
142
share/SCALAPACK/TESTING/xzpblas3tim
142
%%DATADIR%%/TESTING/xzpblas3tim
143
share/SCALAPACK/TESTING/xzpblas3tst
143
%%DATADIR%%/TESTING/xzpblas3tst
144
share/SCALAPACK/TESTING/xzpbllt
144
%%DATADIR%%/TESTING/xzpbllt
145
share/SCALAPACK/TESTING/xzptllt
145
%%DATADIR%%/TESTING/xzptllt
146
share/SCALAPACK/TESTING/xzqr
146
%%DATADIR%%/TESTING/xzqr
147
share/SCALAPACK/TESTING/xzsep
147
%%DATADIR%%/TESTING/xzsep
148
share/SCALAPACK/TESTING/xztrd
148
%%DATADIR%%/TESTING/xztrd
149
share/SCALAPACK/TESTING/xztrmr
149
%%DATADIR%%/TESTING/xztrmr
150
share/examples/SCALAPACK/Makefile
150
%%EXAMPLESDIR%%/Makefile
151
share/examples/SCALAPACK/example1.cc
151
%%EXAMPLESDIR%%/example1.cc
152
share/examples/SCALAPACK/example1.f
152
%%EXAMPLESDIR%%/example1.f
153
@dirrm share/SCALAPACK/TESTING
153
@dirrm %%DATADIR%%/TESTING
154
@dirrm share/SCALAPACK
154
@dirrm %%DATADIR%%
155
@dirrm share/examples/SCALAPACK
155
@dirrm %%EXAMPLESDIR%%/
156
%%PORTDOCS%%share/doc/scalapack/design.ps.gz
156
%%PORTDOCS%%%%DOCSDIR%%/design.ps.gz
157
%%PORTDOCS%%share/doc/scalapack/lawn100.ps.gz
157
%%PORTDOCS%%%%DOCSDIR%%/lawn100.ps.gz
158
%%PORTDOCS%%share/doc/scalapack/manual.ps.gz
158
%%PORTDOCS%%%%DOCSDIR%%/manual.ps.gz
159
%%PORTDOCS%%share/doc/scalapack/pblasqref.ps.gz
159
%%PORTDOCS%%%%DOCSDIR%%/pblasqref.ps.gz
160
%%PORTDOCS%%share/doc/scalapack/pumma_refmanual.ps.gz
160
%%PORTDOCS%%%%DOCSDIR%%/pumma_refmanual.ps.gz
161
%%PORTDOCS%%share/doc/scalapack/scalapack_install.ps.gz
161
%%PORTDOCS%%%%DOCSDIR%%/scalapack_install.ps.gz
162
%%PORTDOCS%%share/doc/scalapack/scalapackqref.ps.gz
162
%%PORTDOCS%%%%DOCSDIR%%/scalapackqref.ps.gz
163
%%PORTDOCS%%share/doc/scalapack/trans.ps.gz
163
%%PORTDOCS%%%%DOCSDIR%%/trans.ps.gz
164
%%PORTDOCS%%@dirrm share/doc/scalapack
164
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 72265