Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/arpack/files: arpack-autotools.patch digest-arpack-96-r1 digest-arpack-96
Date: Wed, 26 Sep 2007 19:58:03
Message-Id: E1IacX2-0003hd-7i@stork.gentoo.org
1 bicatali 07/09/26 19:26:48
2
3 Modified: arpack-autotools.patch
4 Added: digest-arpack-96-r1
5 Removed: digest-arpack-96
6 Log:
7 Now compiles with local lapack as system lapack do not go along well (Thanks Michael Krause for the report). New autotools patch, lots of cleanup and working mpi. Also fixed LICENSE as RiceBSD.
8 (Portage version: 2.1.3.9)
9
10 Revision Changes Path
11 1.2 sci-libs/arpack/files/arpack-autotools.patch
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/arpack/files/arpack-autotools.patch?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/arpack/files/arpack-autotools.patch?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/arpack/files/arpack-autotools.patch?r1=1.1&r2=1.2
16
17 Index: arpack-autotools.patch
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/arpack/files/arpack-autotools.patch,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- arpack-autotools.patch 22 Mar 2007 16:24:55 -0000 1.1
24 +++ arpack-autotools.patch 26 Sep 2007 19:26:47 -0000 1.2
25 @@ -1,129 +1,138 @@
26 -diff -Nur ../ARPACK.orig/Makefile.am ./Makefile.am
27 ---- ../ARPACK.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100
28 -+++ ./Makefile.am 2007-03-22 15:18:07.579698500 +0000
29 +--- configure.ac 1970-01-01 01:00:00.000000000 +0100
30 ++++ configure.ac 2007-09-26 19:35:49.186784649 +0100
31 +@@ -0,0 +1,45 @@
32 ++AC_PREREQ(2.59)
33 ++AC_INIT([arpack], [96], [arpack@×××××××××.edu])
34 ++AM_INIT_AUTOMAKE([foreign])
35 ++
36 ++dnl Checks for standard programs.
37 ++AC_PROG_F77
38 ++AC_PROG_LIBTOOL
39 ++
40 ++dnl Check for BLAS libraries
41 ++sinclude(acx_blas.m4)
42 ++ACX_BLAS
43 ++if test x"$BLAS_LIBS" = x; then
44 ++ AC_MSG_ERROR([Cannot find blas libraries])
45 ++fi
46 ++
47 ++dnl See if compiling parpack
48 ++AC_MSG_CHECKING([for MPI mode])
49 ++AC_ARG_ENABLE(mpi,
50 ++ AC_HELP_STRING([--enable-mpi],
51 ++ [build parallel version of arpack with mpi]),
52 ++ [enable_mpi=$enableval],
53 ++ [enable_mpi=no])
54 ++sinclude(acx_mpi.m4)
55 ++if test x"$enable_mpi" != x"no"; then
56 ++ AC_LANG_PUSH([Fortran 77])
57 ++ ACX_MPI([], AC_MSG_ERROR([could not compile an mpi test program]))
58 ++ AC_LANG_POP([Fortran 77])
59 ++fi
60 ++
61 ++if test x"$enable_mpi" = x"yes"; then
62 ++ MPIDIR=PARPACK
63 ++fi
64 ++AC_SUBST(MPIDIR)
65 ++
66 ++AC_CONFIG_FILES([
67 ++ Makefile
68 ++ SRC/Makefile
69 ++ UTIL/Makefile
70 ++ LAPACK/Makefile
71 ++ PARPACK/Makefile
72 ++ PARPACK/SRC/Makefile
73 ++ PARPACK/SRC/MPI/Makefile
74 ++ PARPACK/UTIL/Makefile
75 ++ PARPACK/UTIL/MPI/Makefile])
76 ++AC_OUTPUT
77 +--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
78 ++++ Makefile.am 2007-09-26 12:54:25.487623476 +0100
79 @@ -0,0 +1,7 @@
80 -+SUBDIRS = UTIL SRC @MPIDIR@
81 -+SUBLIBS = SRC/libarpacksrc.la UTIL/libarpackutil.la
82 ++SUBDIRS = UTIL SRC LAPACK @MPIDIR@
83 ++SUBLIBS = SRC/libarpacksrc.la UTIL/libarpackutil.la LAPACK/liblapack_arpack.la
84 +lib_LTLIBRARIES = libarpack.la
85 +libarpack_la_SOURCES =
86 +libarpack_la_LDFLAGS = -version-info 0:0
87 +libarpack_la_LIBADD = $(SUBLIBS)
88 +EXTRA_DIST = README
89 -diff -Nur ../ARPACK.orig/PARPACK/Makefile.am ./PARPACK/Makefile.am
90 ---- ../ARPACK.orig/PARPACK/Makefile.am 1970-01-01 01:00:00.000000000 +0100
91 -+++ ./PARPACK/Makefile.am 2007-03-22 15:17:54.390874250 +0000
92 -@@ -0,0 +1,6 @@
93 -+SUBDIRS = UTIL SRC
94 -+SUBLIBS = SRC/MPI/libparpacksrcmpi.la UTIL/MPI/libparpackutilmpi.la
95 -+lib_LTLIBRARIES = libparpack.la
96 -+libparpack_la_SOURCES =
97 -+libarpack_la_LDFLAGS = -version-info 0:0
98 -+libparpack_la_LIBADD = $(SUBLIBS) @MPILIBS@
99 -diff -Nur ../ARPACK.orig/PARPACK/SRC/MPI/Makefile.am ./PARPACK/SRC/MPI/Makefile.am
100 ---- ../ARPACK.orig/PARPACK/SRC/MPI/Makefile.am 1970-01-01 01:00:00.000000000 +0100
101 -+++ ./PARPACK/SRC/MPI/Makefile.am 2007-03-21 21:20:19.771953500 +0000
102 -@@ -0,0 +1,14 @@
103 -+noinst_LTLIBRARIES = libparpacksrcmpi.la
104 -+libparpacksrcmpi_la_SOURCES = \
105 -+ psgetv0.f \
106 -+ psnaitr.f psnapps.f psnaup2.f psnaupd.f psneigh.f psngets.f \
107 -+ pssaitr.f pssapps.f pssaup2.f pssaupd.f psseigt.f pssgets.f \
108 -+ psneupd.f psseupd.f pslarnv.f pslamch.f psnorm2.f \
109 -+ pdgetv0.f \
110 -+ pdnaitr.f pdnapps.f pdnaup2.f pdnaupd.f pdneigh.f pdngets.f \
111 -+ pdsaitr.f pdsapps.f pdsaup2.f pdsaupd.f pdseigt.f pdsgets.f \
112 -+ pdneupd.f pdseupd.f pdlarnv.f pdlamch.f pdnorm2.f \
113 -+ pcnaitr.f pcnapps.f pcnaup2.f pcnaupd.f pcneigh.f \
114 -+ pcneupd.f pcngets.f pcgetv0.f pscnorm2.f pclarnv.f \
115 -+ pznaitr.f pznapps.f pznaup2.f pznaupd.f pzneigh.f \
116 -+ pzneupd.f pzngets.f pzgetv0.f pdznorm2.f pzlarnv.f
117 -diff -Nur ../ARPACK.orig/PARPACK/SRC/Makefile.am ./PARPACK/SRC/Makefile.am
118 ---- ../ARPACK.orig/PARPACK/SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100
119 -+++ ./PARPACK/SRC/Makefile.am 2007-03-21 21:20:19.771953500 +0000
120 -@@ -0,0 +1 @@
121 -+SUBDIRS = MPI
122 -diff -Nur ../ARPACK.orig/PARPACK/UTIL/MPI/Makefile.am ./PARPACK/UTIL/MPI/Makefile.am
123 ---- ../ARPACK.orig/PARPACK/UTIL/MPI/Makefile.am 1970-01-01 01:00:00.000000000 +0100
124 -+++ ./PARPACK/UTIL/MPI/Makefile.am 2007-03-21 21:20:19.771953500 +0000
125 -@@ -0,0 +1,5 @@
126 -+noinst_LTLIBRARIES = libparpackutilmpi.la
127 -+libparpackutilmpi_la_SOURCES = \
128 -+ pivout.f psvout.f psmout.f pdvout.f \
129 -+ pdmout.f pcvout.f pcmout.f pzvout.f pzmout.f
130 -+
131 -diff -Nur ../ARPACK.orig/PARPACK/UTIL/Makefile.am ./PARPACK/UTIL/Makefile.am
132 ---- ../ARPACK.orig/PARPACK/UTIL/Makefile.am 1970-01-01 01:00:00.000000000 +0100
133 -+++ ./PARPACK/UTIL/Makefile.am 2007-03-21 21:20:19.771953500 +0000
134 -@@ -0,0 +1 @@
135 -+SUBDIRS = MPI
136 -\ No newline at end of file
137 -diff -Nur ../ARPACK.orig/SRC/Makefile.am ./SRC/Makefile.am
138 ---- ../ARPACK.orig/SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100
139 -+++ ./SRC/Makefile.am 2007-03-21 21:20:19.771953500 +0000
140 -@@ -0,0 +1,14 @@
141 -+noinst_LTLIBRARIES = libarpacksrc.la
142 -+libarpacksrc_la_SOURCES = \
143 -+ sgetv0.f slaqrb.f sstqrb.f ssortc.f ssortr.f sstatn.f sstats.f \
144 -+ snaitr.f snapps.f snaup2.f snaupd.f snconv.f sneigh.f sngets.f \
145 -+ ssaitr.f ssapps.f ssaup2.f ssaupd.f ssconv.f sseigt.f ssgets.f \
146 -+ sneupd.f sseupd.f ssesrt.f \
147 -+ dgetv0.f dlaqrb.f dstqrb.f dsortc.f dsortr.f dstatn.f dstats.f \
148 -+ dnaitr.f dnapps.f dnaup2.f dnaupd.f dnconv.f dneigh.f dngets.f \
149 -+ dsaitr.f dsapps.f dsaup2.f dsaupd.f dsconv.f dseigt.f dsgets.f \
150 -+ dneupd.f dseupd.f dsesrt.f \
151 -+ cnaitr.f cnapps.f cnaup2.f cnaupd.f cneigh.f cneupd.f cngets.f \
152 -+ cgetv0.f csortc.f cstatn.f \
153 -+ znaitr.f znapps.f znaup2.f znaupd.f zneigh.f zneupd.f zngets.f \
154 -+ zgetv0.f zsortc.f zstatn.f
155 -diff -Nur ../ARPACK.orig/UTIL/Makefile.am ./UTIL/Makefile.am
156 ---- ../ARPACK.orig/UTIL/Makefile.am 1970-01-01 01:00:00.000000000 +0100
157 -+++ ./UTIL/Makefile.am 2007-03-21 21:20:19.775953750 +0000
158 -@@ -0,0 +1,5 @@
159 -+noinst_LTLIBRARIES = libarpackutil.la
160 -+libarpackutil_la_SOURCES = \
161 -+ icnteq.f icopy.f iset.f iswap.f ivout.f second.f \
162 -+ svout.f smout.f dvout.f dmout.f cvout.f cmout.f \
163 -+ zvout.f zmout.f
164 -diff -Nur ../ARPACK.orig/acx_mpi.m4 ./acx_mpi.m4
165 ---- ../ARPACK.orig/acx_mpi.m4 1970-01-01 01:00:00.000000000 +0100
166 -+++ ./acx_mpi.m4 2007-03-21 21:20:19.775953750 +0000
167 -@@ -0,0 +1,107 @@
168 -+dnl @synopsis ACX_MPI([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
169 -+dnl
170 -+dnl @summary figure out how to compile/link code with MPI
171 -+dnl
172 -+dnl This macro tries to find out how to compile programs that use MPI
173 -+dnl (Message Passing Interface), a standard API for parallel process
174 -+dnl communication (see http://www-unix.mcs.anl.gov/mpi/)
175 -+dnl
176 -+dnl On success, it sets the MPICC, MPICXX, or MPIF77 output variable to
177 -+dnl the name of the MPI compiler, depending upon the current language.
178 -+dnl (This may just be $CC/$CXX/$F77, but is more often something like
179 -+dnl mpicc/mpiCC/mpif77.) It also sets MPILIBS to any libraries that are
180 -+dnl needed for linking MPI (e.g. -lmpi, if a special
181 -+dnl MPICC/MPICXX/MPIF77 was not found).
182 -+dnl
183 -+dnl If you want to compile everything with MPI, you should set:
184 -+dnl
185 -+dnl CC="$MPICC" #OR# CXX="$MPICXX" #OR# F77="$MPIF77"
186 -+dnl LIBS="$MPILIBS $LIBS"
187 -+dnl
188 -+dnl NOTE: The above assumes that you will use $CC (or whatever) for
189 -+dnl linking as well as for compiling. (This is the default for automake
190 -+dnl and most Makefiles.)
191 -+dnl
192 -+dnl The user can force a particular library/compiler by setting the
193 -+dnl MPICC/MPICXX/MPIF77 and/or MPILIBS environment variables.
194 -+dnl
195 -+dnl ACTION-IF-FOUND is a list of shell commands to run if an MPI
196 -+dnl library is found, and ACTION-IF-NOT-FOUND is a list of commands to
197 -+dnl run it if it is not found. If ACTION-IF-FOUND is not specified, the
198 -+dnl default action will define HAVE_MPI.
199 -+dnl
200 -+dnl @category InstalledPackages
201 -+dnl @author Steven G. Johnson <stevenj@××××××××.edu>
202 -+dnl @version 2005-09-02
203 -+dnl @license GPLWithACException
204 +--- acx_mpi.m4 1970-01-01 01:00:00.000000000 +0100
205 ++++ acx_mpi.m4 2007-08-04 22:50:48.000000000 +0100
206 +@@ -0,0 +1,183 @@
207 ++##### http://autoconf-archive.cryp.to/acx_mpi.html
208 ++#
209 ++# SYNOPSIS
210 ++#
211 ++# ACX_MPI([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
212 ++#
213 ++# DESCRIPTION
214 ++#
215 ++# This macro tries to find out how to compile programs that use MPI
216 ++# (Message Passing Interface), a standard API for parallel process
217 ++# communication (see http://www-unix.mcs.anl.gov/mpi/)
218 ++#
219 ++# On success, it sets the MPICC, MPICXX, MPIF77, or MPIFC output
220 ++# variable to the name of the MPI compiler, depending upon the
221 ++# current language. (This may just be $CC/$CXX/$F77/$FC, but is more
222 ++# often something like mpicc/mpiCC/mpif77/mpif90.) It also sets
223 ++# MPILIBS to any libraries that are needed for linking MPI (e.g.
224 ++# -lmpi or -lfmpi, if a special MPICC/MPICXX/MPIF77/MPIFC was not
225 ++# found).
226 ++#
227 ++# If you want to compile everything with MPI, you should set:
228 ++#
229 ++# CC="MPICC" #OR# CXX="MPICXX" #OR# F77="MPIF77" #OR# FC="MPIFC"
230 ++# LIBS="$MPILIBS $LIBS"
231 ++#
232 ++# NOTE: The above assumes that you will use $CC (or whatever) for
233 ++# linking as well as for compiling. (This is the default for automake
234 ++# and most Makefiles.)
235 ++#
236 ++# The user can force a particular library/compiler by setting the
237 ++# MPICC/MPICXX/MPIF77/MPIFC and/or MPILIBS environment variables.
238 ++#
239 ++# ACTION-IF-FOUND is a list of shell commands to run if an MPI
240 ++# library is found, and ACTION-IF-NOT-FOUND is a list of commands to
241 ++# run if it is not found. If ACTION-IF-FOUND is not specified, the
242 ++# default action will define HAVE_MPI.
243 ++#
244 ++# LAST MODIFICATION
245 ++#
246 ++# 2007-07-29
247 ++#
248 ++# COPYLEFT
249 ++#
250 ++# Copyright (c) 2007 Steven G. Johnson <stevenj@××××××××.edu>
251 ++# Copyright (c) 2007 Julian C. Cummings <cummings@××××××××××××.edu>
252 ++#
253 ++# This program is free software: you can redistribute it and/or
254 ++# modify it under the terms of the GNU General Public License as
255 ++# published by the Free Software Foundation, either version 3 of the
256 ++# License, or (at your option) any later version.
257 ++#
258 ++# This program is distributed in the hope that it will be useful, but
259 ++# WITHOUT ANY WARRANTY; without even the implied warranty of
260 ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
261 ++# General Public License for more details.
262 ++#
263 ++# You should have received a copy of the GNU General Public License
264 ++# along with this program. If not, see
265 ++# <http://www.gnu.org/licenses/>.
266 ++#
267 ++# As a special exception, the respective Autoconf Macro's copyright
268 ++# owner gives unlimited permission to copy, distribute and modify the
269 ++# configure scripts that are the output of Autoconf when processing
270 ++# the Macro. You need not follow the terms of the GNU General Public
271 ++# License when using or distributing such scripts, even though
272 ++# portions of the text of the Macro appear in them. The GNU General
273 ++# Public License (GPL) does govern all other use of the material that
274 ++# constitutes the Autoconf Macro.
275 ++#
276 ++# This special exception to the GPL applies to versions of the
277 ++# Autoconf Macro released by the Autoconf Macro Archive. When you
278 ++# make and distribute a modified version of the Autoconf Macro, you
279 ++# may extend this special exception to the GPL to apply to your
280 ++# modified version as well.
281 +
282 +AC_DEFUN([ACX_MPI], [
283 +AC_PREREQ(2.50) dnl for AC_LANG_CASE
284 @@ -131,7 +140,7 @@
285 +AC_LANG_CASE([C], [
286 + AC_REQUIRE([AC_PROG_CC])
287 + AC_ARG_VAR(MPICC,[MPI C compiler command])
288 -+ AC_CHECK_PROGS(MPICC, mpicc hcc mpcc mpcc_r mpxlc cmpicc, $CC)
289 ++ AC_CHECK_PROGS(MPICC, mpicc hcc mpxlc_r mpxlc mpcc cmpicc, $CC)
290 + acx_mpi_save_CC="$CC"
291 + CC="$MPICC"
292 + AC_SUBST(MPICC)
293 @@ -139,27 +148,54 @@
294 +[C++], [
295 + AC_REQUIRE([AC_PROG_CXX])
296 + AC_ARG_VAR(MPICXX,[MPI C++ compiler command])
297 -+ AC_CHECK_PROGS(MPICXX, mpic++ mpiCC mpicxx mpCC hcp mpxlC mpxlC_r cmpic++, $CXX)
298 ++ AC_CHECK_PROGS(MPICXX, mpic++ mpicxx mpiCC hcp mpxlC_r mpxlC mpCC cmpic++, $CXX)
299 + acx_mpi_save_CXX="$CXX"
300 + CXX="$MPICXX"
301 + AC_SUBST(MPICXX)
302 +],
303 +[Fortran 77], [
304 + AC_REQUIRE([AC_PROG_F77])
305 -+ AC_ARG_VAR(MPIF77,[MPI Fortran compiler command])
306 -+ AC_CHECK_PROGS(MPIF77, mpif77 hf77 mpxlf mpf77 mpif90 mpf90 mpxlf90 mpxlf95 mpxlf_r cmpifc cmpif90c, $F77)
307 ++ AC_ARG_VAR(MPIF77,[MPI Fortran 77 compiler command])
308 ++ AC_CHECK_PROGS(MPIF77, mpif77 hf77 mpxlf_r mpxlf mpf77 cmpifc, $F77)
309 + acx_mpi_save_F77="$F77"
310 + F77="$MPIF77"
311 + AC_SUBST(MPIF77)
312 ++],
313 ++[Fortran], [
314 ++ AC_REQUIRE([AC_PROG_FC])
315 ++ AC_ARG_VAR(MPIFC,[MPI Fortran compiler command])
316 ++ AC_CHECK_PROGS(MPIFC, mpif90 mpxlf95_r mpxlf90_r mpxlf95 mpxlf90 mpf90 cmpif90c, $FC)
317 ++ acx_mpi_save_FC="$FC"
318 ++ FC="$MPIFC"
319 ++ AC_SUBST(MPIFC)
320 +])
321 +
322 +if test x = x"$MPILIBS"; then
323 + AC_LANG_CASE([C], [AC_CHECK_FUNC(MPI_Init, [MPILIBS=" "])],
324 + [C++], [AC_CHECK_FUNC(MPI_Init, [MPILIBS=" "])],
325 + [Fortran 77], [AC_MSG_CHECKING([for MPI_Init])
326 -+ AC_TRY_LINK([],[ call MPI_Init], [MPILIBS=" "
327 ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[ call MPI_Init])],[MPILIBS=" "
328 ++ AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)])],
329 ++ [Fortran], [AC_MSG_CHECKING([for MPI_Init])
330 ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[ call MPI_Init])],[MPILIBS=" "
331 + AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)])])
332 +fi
333 ++AC_LANG_CASE([Fortran 77], [
334 ++ if test x = x"$MPILIBS"; then
335 ++ AC_CHECK_LIB(fmpi, MPI_Init, [MPILIBS="-lfmpi"])
336 ++ fi
337 ++ if test x = x"$MPILIBS"; then
338 ++ AC_CHECK_LIB(fmpich, MPI_Init, [MPILIBS="-lfmpich"])
339 ++ fi
340 ++],
341 ++[Fortran], [
342 ++ if test x = x"$MPILIBS"; then
343 ++ AC_CHECK_LIB(fmpi, MPI_Init, [MPILIBS="-lfmpi"])
344 ++ fi
345 ++ if test x = x"$MPILIBS"; then
346 ++ AC_CHECK_LIB(mpichf90, MPI_Init, [MPILIBS="-lmpichf90"])
347 ++ fi
348 ++])
349 +if test x = x"$MPILIBS"; then
350 + AC_CHECK_LIB(mpi, MPI_Init, [MPILIBS="-lmpi"])
351 +fi
352 @@ -178,11 +214,22 @@
353 + AC_MSG_CHECKING([for mpi.h])
354 + AC_TRY_COMPILE([#include <mpi.h>],[],[AC_MSG_RESULT(yes)], [MPILIBS=""
355 + AC_MSG_RESULT(no)])
356 ++fi],
357 ++[Fortran 77], [if test x != x"$MPILIBS"; then
358 ++ AC_MSG_CHECKING([for mpif.h])
359 ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[ include 'mpif.h'])],[AC_MSG_RESULT(yes)], [MPILIBS=""
360 ++ AC_MSG_RESULT(no)])
361 ++fi],
362 ++[Fortran], [if test x != x"$MPILIBS"; then
363 ++ AC_MSG_CHECKING([for mpif.h])
364 ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[ include 'mpif.h'])],[AC_MSG_RESULT(yes)], [MPILIBS=""
365 ++ AC_MSG_RESULT(no)])
366 +fi])
367 +
368 +AC_LANG_CASE([C], [CC="$acx_mpi_save_CC"],
369 + [C++], [CXX="$acx_mpi_save_CXX"],
370 -+ [Fortran 77], [F77="$acx_mpi_save_F77"])
371 ++ [Fortran 77], [F77="$acx_mpi_save_F77"],
372 ++ [Fortran], [FC="$acx_mpi_save_FC"])
373 +
374 +AC_SUBST(MPILIBS)
375 +
376 @@ -195,52 +242,297 @@
377 + :
378 +fi
379 +])dnl ACX_MPI
380 -diff -Nur ../ARPACK.orig/configure.ac ./configure.ac
381 ---- ../ARPACK.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100
382 -+++ ./configure.ac 2007-03-22 11:17:43.207027250 +0000
383 -@@ -0,0 +1,45 @@
384 -+# -*- Autoconf -*-
385 -+# Process this file with autoconf to produce a configure script.
386 +--- acx_blas.m4 1970-01-01 01:00:00.000000000 +0100
387 ++++ acx_blas.m4 2007-08-04 22:50:48.000000000 +0100
388 +@@ -0,0 +1,191 @@
389 ++##### http://autoconf-archive.cryp.to/acx_blas.html
390 ++#
391 ++# SYNOPSIS
392 ++#
393 ++# ACX_BLAS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
394 ++#
395 ++# DESCRIPTION
396 ++#
397 ++# This macro looks for a library that implements the BLAS
398 ++# linear-algebra interface (see http://www.netlib.org/blas/). On
399 ++# success, it sets the BLAS_LIBS output variable to hold the
400 ++# requisite library linkages.
401 ++#
402 ++# To link with BLAS, you should link with:
403 ++#
404 ++# $BLAS_LIBS $LIBS $FLIBS
405 ++#
406 ++# in that order. FLIBS is the output variable of the
407 ++# AC_F77_LIBRARY_LDFLAGS macro (called if necessary by ACX_BLAS), and
408 ++# is sometimes necessary in order to link with F77 libraries. Users
409 ++# will also need to use AC_F77_DUMMY_MAIN (see the autoconf manual),
410 ++# for the same reason.
411 ++#
412 ++# Many libraries are searched for, from ATLAS to CXML to ESSL. The
413 ++# user may also use --with-blas=<lib> in order to use some specific
414 ++# BLAS library <lib>. In order to link successfully, however, be
415 ++# aware that you will probably need to use the same Fortran compiler
416 ++# (which can be set via the F77 env. var.) as was used to compile the
417 ++# BLAS library.
418 ++#
419 ++# ACTION-IF-FOUND is a list of shell commands to run if a BLAS
420 ++# library is found, and ACTION-IF-NOT-FOUND is a list of commands to
421 ++# run it if it is not found. If ACTION-IF-FOUND is not specified, the
422 ++# default action will define HAVE_BLAS.
423 ++#
424 ++# This macro requires autoconf 2.50 or later.
425 ++#
426 ++# LAST MODIFICATION
427 ++#
428 ++# 2007-07-29
429 ++#
430 ++# COPYLEFT
431 ++#
432 ++# Copyright (c) 2007 Steven G. Johnson <stevenj@××××××××.edu>
433 ++#
434 ++# This program is free software: you can redistribute it and/or
435 ++# modify it under the terms of the GNU General Public License as
436 ++# published by the Free Software Foundation, either version 3 of the
437 ++# License, or (at your option) any later version.
438 ++#
439 ++# This program is distributed in the hope that it will be useful, but
440 ++# WITHOUT ANY WARRANTY; without even the implied warranty of
441 ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
442 ++# General Public License for more details.
443 ++#
444 ++# You should have received a copy of the GNU General Public License
445 ++# along with this program. If not, see
446 ++# <http://www.gnu.org/licenses/>.
447 ++#
448 ++# As a special exception, the respective Autoconf Macro's copyright
449 ++# owner gives unlimited permission to copy, distribute and modify the
450 ++# configure scripts that are the output of Autoconf when processing
451 ++# the Macro. You need not follow the terms of the GNU General Public
452 ++# License when using or distributing such scripts, even though
453 ++# portions of the text of the Macro appear in them. The GNU General
454 ++# Public License (GPL) does govern all other use of the material that
455 ++# constitutes the Autoconf Macro.
456 ++#
457 ++# This special exception to the GPL applies to versions of the
458 ++# Autoconf Macro released by the Autoconf Macro Archive. When you
459 ++# make and distribute a modified version of the Autoconf Macro, you
460 ++# may extend this special exception to the GPL to apply to your
461 ++# modified version as well.
462 ++
463 ++AC_DEFUN([ACX_BLAS], [
464 ++AC_PREREQ(2.50)
465 ++AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])
466 ++acx_blas_ok=no
467 ++
468 ++AC_ARG_WITH(blas,
469 ++ [AC_HELP_STRING([--with-blas=<lib>], [use BLAS library <lib>])])
470 ++case $with_blas in
471 ++ yes | "") ;;
472 ++ no) acx_blas_ok=disable ;;
473 ++ -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;;
474 ++ *) BLAS_LIBS="-l$with_blas" ;;
475 ++esac
476 ++
477 ++# Get fortran linker names of BLAS functions to check for.
478 ++AC_F77_FUNC(sgemm)
479 ++AC_F77_FUNC(dgemm)
480 ++
481 ++acx_blas_save_LIBS="$LIBS"
482 ++LIBS="$LIBS $FLIBS"
483 ++
484 ++# First, check BLAS_LIBS environment variable
485 ++if test $acx_blas_ok = no; then
486 ++if test "x$BLAS_LIBS" != x; then
487 ++ save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS"
488 ++ AC_MSG_CHECKING([for $sgemm in $BLAS_LIBS])
489 ++ AC_TRY_LINK_FUNC($sgemm, [acx_blas_ok=yes], [BLAS_LIBS=""])
490 ++ AC_MSG_RESULT($acx_blas_ok)
491 ++ LIBS="$save_LIBS"
492 ++fi
493 ++fi
494 +
495 -+AC_PREREQ(2.59)
496 -+AC_INIT(arpack, 96, http://www.caam.rice.edu/software/ARPACK/)
497 -+AM_INIT_AUTOMAKE([foreign])
498 ++# BLAS linked to by default? (happens on some supercomputers)
499 ++if test $acx_blas_ok = no; then
500 ++ save_LIBS="$LIBS"; LIBS="$LIBS"
501 ++ AC_CHECK_FUNC($sgemm, [acx_blas_ok=yes])
502 ++ LIBS="$save_LIBS"
503 ++fi
504 +
505 -+# Checks for standard programs.
506 -+AC_PROG_F77
507 -+AC_PROG_LIBTOOL
508 ++# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
509 ++if test $acx_blas_ok = no; then
510 ++ AC_CHECK_LIB(atlas, ATL_xerbla,
511 ++ [AC_CHECK_LIB(f77blas, $sgemm,
512 ++ [AC_CHECK_LIB(cblas, cblas_dgemm,
513 ++ [acx_blas_ok=yes
514 ++ BLAS_LIBS="-lcblas -lf77blas -latlas"],
515 ++ [], [-lf77blas -latlas])],
516 ++ [], [-latlas])])
517 ++fi
518 +
519 -+# parpack stuff
520 -+# Provide special option for the MPI version
521 -+AC_MSG_CHECKING([for MPI mode])
522 -+AC_ARG_ENABLE(mpi,
523 -+ [AC_HELP_STRING([--enable-mpi],
524 -+ [Enable MPI parallel processing (off by default)])],
525 -+ use_mpi="yes"
526 -+ AC_MSG_RESULT([yes]),
527 -+ use_mpi="no"
528 -+ AC_MSG_RESULT([no]),
529 -+ use_mpi="no"
530 -+ AC_MSG_RESULT([no]))
531 ++# BLAS in PhiPACK libraries? (requires generic BLAS lib, too)
532 ++if test $acx_blas_ok = no; then
533 ++ AC_CHECK_LIB(blas, $sgemm,
534 ++ [AC_CHECK_LIB(dgemm, $dgemm,
535 ++ [AC_CHECK_LIB(sgemm, $sgemm,
536 ++ [acx_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas"],
537 ++ [], [-lblas])],
538 ++ [], [-lblas])])
539 ++fi
540 +
541 -+sinclude(acx_mpi.m4)
542 -+if test "$use_mpi" = "yes"; then
543 -+ACX_MPI([AC_DEFINE(HAVE_MPI,1,[use MPI library.])]
544 -+ [FC="$MPIF77" && CC="$MPICC" ],
545 -+ use_mpi="no")
546 -+MPIDIR="PARPACK"
547 ++# BLAS in Alpha CXML library?
548 ++if test $acx_blas_ok = no; then
549 ++ AC_CHECK_LIB(cxml, $sgemm, [acx_blas_ok=yes;BLAS_LIBS="-lcxml"])
550 +fi
551 +
552 -+AC_SUBST(MPIDIR)
553 ++# BLAS in Alpha DXML library? (now called CXML, see above)
554 ++if test $acx_blas_ok = no; then
555 ++ AC_CHECK_LIB(dxml, $sgemm, [acx_blas_ok=yes;BLAS_LIBS="-ldxml"])
556 ++fi
557 ++
558 ++# BLAS in Sun Performance library?
559 ++if test $acx_blas_ok = no; then
560 ++ if test "x$GCC" != xyes; then # only works with Sun CC
561 ++ AC_CHECK_LIB(sunmath, acosp,
562 ++ [AC_CHECK_LIB(sunperf, $sgemm,
563 ++ [BLAS_LIBS="-xlic_lib=sunperf -lsunmath"
564 ++ acx_blas_ok=yes],[],[-lsunmath])])
565 ++ fi
566 ++fi
567 ++
568 ++# BLAS in SCSL library? (SGI/Cray Scientific Library)
569 ++if test $acx_blas_ok = no; then
570 ++ AC_CHECK_LIB(scs, $sgemm, [acx_blas_ok=yes; BLAS_LIBS="-lscs"])
571 ++fi
572 ++
573 ++# BLAS in SGIMATH library?
574 ++if test $acx_blas_ok = no; then
575 ++ AC_CHECK_LIB(complib.sgimath, $sgemm,
576 ++ [acx_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"])
577 ++fi
578 ++
579 ++# BLAS in IBM ESSL library? (requires generic BLAS lib, too)
580 ++if test $acx_blas_ok = no; then
581 ++ AC_CHECK_LIB(blas, $sgemm,
582 ++ [AC_CHECK_LIB(essl, $sgemm,
583 ++ [acx_blas_ok=yes; BLAS_LIBS="-lessl -lblas"],
584 ++ [], [-lblas $FLIBS])])
585 ++fi
586 ++
587 ++# Generic BLAS library?
588 ++if test $acx_blas_ok = no; then
589 ++ AC_CHECK_LIB(blas, $sgemm, [acx_blas_ok=yes; BLAS_LIBS="-lblas"])
590 ++fi
591 ++
592 ++AC_SUBST(BLAS_LIBS)
593 ++
594 ++LIBS="$acx_blas_save_LIBS"
595 ++
596 ++# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
597 ++if test x"$acx_blas_ok" = xyes; then
598 ++ ifelse([$1],,AC_DEFINE(HAVE_BLAS,1,[Define if you have a BLAS library.]),[$1])
599 ++ :
600 ++else
601 ++ acx_blas_ok=no
602 ++ $2
603 ++fi
604 ++])dnl ACX_BLAS
605 +--- SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100
606 ++++ SRC/Makefile.am 2007-09-26 11:15:34.850827457 +0100
607 +@@ -0,0 +1,14 @@
608 ++noinst_LTLIBRARIES = libarpacksrc.la
609 ++libarpacksrc_la_SOURCES = \
610 ++ sgetv0.f slaqrb.f sstqrb.f ssortc.f ssortr.f sstatn.f sstats.f \
611 ++ snaitr.f snapps.f snaup2.f snaupd.f snconv.f sneigh.f sngets.f \
612 ++ ssaitr.f ssapps.f ssaup2.f ssaupd.f ssconv.f sseigt.f ssgets.f \
613 ++ sneupd.f sseupd.f ssesrt.f \
614 ++ dgetv0.f dlaqrb.f dstqrb.f dsortc.f dsortr.f dstatn.f dstats.f \
615 ++ dnaitr.f dnapps.f dnaup2.f dnaupd.f dnconv.f dneigh.f dngets.f \
616 ++ dsaitr.f dsapps.f dsaup2.f dsaupd.f dsconv.f dseigt.f dsgets.f \
617 ++ dneupd.f dseupd.f dsesrt.f \
618 ++ cnaitr.f cnapps.f cnaup2.f cnaupd.f cneigh.f cneupd.f cngets.f \
619 ++ cgetv0.f csortc.f cstatn.f \
620 ++ znaitr.f znapps.f znaup2.f znaupd.f zneigh.f zneupd.f zngets.f \
621 ++ zgetv0.f zsortc.f zstatn.f
622 +--- LAPACK/Makefile.am 1970-01-01 01:00:00.000000000 +0100
623 ++++ LAPACK/Makefile.am 2007-09-26 12:54:25.479623020 +0100
624 +@@ -0,0 +1,27 @@
625 ++noinst_LTLIBRARIES = liblapack_arpack.la
626 ++liblapack_arpack_la_SOURCES = \
627 ++ sgeqr2.f slabad.f slacon.f slacpy.f sladiv.f slae2.f slaev2.f\
628 ++ slaexc.f slagtm.f slahqr.f slaln2.f slamch.f slange.f slanhs.f\
629 ++ slanst.f slanv2.f slaptm.f slapy2.f slapy3.f slaran.f slarf.f\
630 ++ slarfg.f slarfx.f slarnd.f slarnv.f slartg.f slaruv.f slascl.f\
631 ++ slaset.f slasr.f slasrt.f slassq.f slasy2.f sorm2r.f ssteqr.f\
632 ++ strevc.f strexc.f strsen.f strsyl.f\
633 ++ dgeqr2.f dlabad.f dlacon.f dlacpy.f dladiv.f dlae2.f dlaev2.f\
634 ++ dlaexc.f dlagtm.f dlahqr.f dlaln2.f dlamch.f dlange.f dlanhs.f\
635 ++ dlanst.f dlanv2.f dlaptm.f dlapy2.f dlapy3.f dlaran.f dlarf.f\
636 ++ dlarfg.f dlarfx.f dlarnd.f dlarnv.f dlartg.f dlaruv.f dlascl.f\
637 ++ dlaset.f dlasr.f dlasrt.f dlassq.f dlasy2.f dorm2r.f dsteqr.f\
638 ++ dtrevc.f dtrexc.f dtrsen.f dtrsyl.f\
639 ++ ilaenv.f lsame.f lsamen.f xerbla.f xlaenv.f\
640 ++ icmax1.f\
641 ++ izmax1.f\
642 ++ cgeqr2.f clacon.f clacpy.f cladiv.f clahqr.f clange.f clanhs.f\
643 ++ clarf.f clarfg.f clarnv.f clartg.f clascl.f claset.f classq.f\
644 ++ clatrs.f cmach.f crot.f ctrevc.f ctrexc.f ctrsen.f ctrsyl.f\
645 ++ cunm2r.f\
646 ++ scsum1.f \
647 ++ zgeqr2.f zlacon.f zlacpy.f zladiv.f zlahqr.f zlange.f zlanhs.f\
648 ++ zlarf.f zlarfg.f zlarnv.f zlartg.f zlascl.f zlaset.f zlassq.f\
649 ++ zlatrs.f zmach.f zrot.f ztrevc.f ztrexc.f ztrsen.f ztrsyl.f\
650 ++ zunm2r.f\
651 ++ dzsum1.f
652 +--- UTIL/Makefile.am 1970-01-01 01:00:00.000000000 +0100
653 ++++ UTIL/Makefile.am 2007-09-26 11:15:34.850827457 +0100
654 +@@ -0,0 +1,5 @@
655 ++noinst_LTLIBRARIES = libarpackutil.la
656 ++libarpackutil_la_SOURCES = \
657 ++ icnteq.f icopy.f iset.f iswap.f ivout.f second.f \
658 ++ svout.f smout.f dvout.f dmout.f cvout.f cmout.f \
659 ++ zvout.f zmout.f
660 +--- PARPACK/Makefile.am 1970-01-01 01:00:00.000000000 +0100
661 ++++ PARPACK/Makefile.am 2007-09-26 11:17:50.418553022 +0100
662 +@@ -0,0 +1,6 @@
663 ++SUBDIRS = UTIL SRC
664 ++SUBLIBS = SRC/MPI/libparpacksrcmpi.la UTIL/MPI/libparpackutilmpi.la
665 ++lib_LTLIBRARIES = libparpack.la
666 ++libparpack_la_SOURCES =
667 ++libparpack_la_LDFLAGS = -version-info 0:0
668 ++libparpack_la_LIBADD = $(SUBLIBS) @MPILIBS@
669 +--- PARPACK/SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100
670 ++++ PARPACK/SRC/Makefile.am 2007-09-26 18:34:31.611823276 +0100
671 +@@ -0,0 +1 @@
672 ++SUBDIRS = MPI
673 +--- PARPACK/UTIL/Makefile.am 1970-01-01 01:00:00.000000000 +0100
674 ++++ PARPACK/UTIL/Makefile.am 2007-09-26 18:33:15.487485197 +0100
675 +@@ -0,0 +1,2 @@
676 ++SUBDIRS = MPI
677 ++
678 +--- PARPACK/SRC/MPI/Makefile.am 1970-01-01 01:00:00.000000000 +0100
679 ++++ PARPACK/SRC/MPI/Makefile.am 2007-09-26 19:42:38.902132996 +0100
680 +@@ -0,0 +1,15 @@
681 ++F77= $(MPIF77)
682 ++noinst_LTLIBRARIES = libparpacksrcmpi.la
683 ++libparpacksrcmpi_la_SOURCES = \
684 ++ psgetv0.f \
685 ++ psnaitr.f psnapps.f psnaup2.f psnaupd.f psneigh.f psngets.f \
686 ++ pssaitr.f pssapps.f pssaup2.f pssaupd.f psseigt.f pssgets.f \
687 ++ psneupd.f psseupd.f pslarnv.f pslamch.f psnorm2.f \
688 ++ pdgetv0.f \
689 ++ pdnaitr.f pdnapps.f pdnaup2.f pdnaupd.f pdneigh.f pdngets.f \
690 ++ pdsaitr.f pdsapps.f pdsaup2.f pdsaupd.f pdseigt.f pdsgets.f \
691 ++ pdneupd.f pdseupd.f pdlarnv.f pdlamch.f pdnorm2.f \
692 ++ pcnaitr.f pcnapps.f pcnaup2.f pcnaupd.f pcneigh.f \
693 ++ pcneupd.f pcngets.f pcgetv0.f pscnorm2.f pclarnv.f \
694 ++ pznaitr.f pznapps.f pznaup2.f pznaupd.f pzneigh.f \
695 ++ pzneupd.f pzngets.f pzgetv0.f pdznorm2.f pzlarnv.f
696 +--- PARPACK/UTIL/MPI/Makefile.am 1970-01-01 01:00:00.000000000 +0100
697 ++++ PARPACK/UTIL/MPI/Makefile.am 2007-09-26 19:42:57.543195289 +0100
698 +@@ -0,0 +1,6 @@
699 ++F77 = $(MPIF77)
700 ++noinst_LTLIBRARIES = libparpackutilmpi.la
701 ++libparpackutilmpi_la_SOURCES = \
702 ++ pivout.f psvout.f psmout.f pdvout.f \
703 ++ pdmout.f pcvout.f pcmout.f pzvout.f pzmout.f
704 +
705 -+AC_CONFIG_FILES([
706 -+ UTIL/Makefile
707 -+ SRC/Makefile
708 -+ PARPACK/SRC/MPI/Makefile
709 -+ PARPACK/SRC/Makefile
710 -+ PARPACK/UTIL/MPI/Makefile
711 -+ PARPACK/UTIL/Makefile
712 -+ PARPACK/Makefile
713 -+ Makefile
714 -+ ])
715 -+AC_OUTPUT
716
717
718
719 1.1 sci-libs/arpack/files/digest-arpack-96-r1
720
721 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/arpack/files/digest-arpack-96-r1?rev=1.1&view=markup
722 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/arpack/files/digest-arpack-96-r1?rev=1.1&content-type=text/plain
723
724 Index: digest-arpack-96-r1
725 ===================================================================
726 MD5 fffaa970198b285676f4156cebc8626e arpack96.tar.gz 636865
727 RMD160 3d1c1c307223961506066f895b7ab291861e73fe arpack96.tar.gz 636865
728 SHA256 c6a47eca30a256cbae60e69c606251b84b6a0f352ba527b2dcbd4789ce85ecfc arpack96.tar.gz 636865
729 MD5 598d0453b938ccd99a078246be5927f3 parpack96.tar.gz 509316
730 RMD160 224d61ef7ff9eec5f59b747d669f3deb74eb2ba5 parpack96.tar.gz 509316
731 SHA256 3b6a1ceec06f14e2a06c323721baa908c2f7823d1da79cdfd3f91961f8b6b926 parpack96.tar.gz 509316
732 MD5 14830d758f195f272b8594a493501fa2 patch.tar.gz 226473
733 RMD160 4ccda2de8dc04c9ecb0ea722f230f5dd5c981154 patch.tar.gz 226473
734 SHA256 af8914d60af47e49fbad55812d0a5d0a7040fba90c93e5ef1a8d88d32027d3ad patch.tar.gz 226473
735 MD5 e6f0d70dd99f719c0efee351d0875c96 ppatch.tar.gz 253097
736 RMD160 d1d42293fa98864060189410e9619484682bb176 ppatch.tar.gz 253097
737 SHA256 3422c0916ff74a1c980ac4b79552357af56cd84e81102ac67928b80e913a580f ppatch.tar.gz 253097
738 MD5 f401506c24e1bdf86fc69aef488c6311 tutorial.ps.gz 105599
739 RMD160 aaba42a6d5ce212e56f312d6187ba932d3b674b7 tutorial.ps.gz 105599
740 SHA256 2f745fe80b0a4fcdf1c273995ed67bc6cf03684ccbaa44442ad1187ea41b81c0 tutorial.ps.gz 105599
741 MD5 79cc51e4812c75873adafcad2185842e ug.ps.gz 248543
742 RMD160 29911161dbc7f496ee16db3c98047dae0be51da2 ug.ps.gz 248543
743 SHA256 ff1faac74bfc42442955906132756ecd7f0034803898d507dbd1bc960f6f4ab0 ug.ps.gz 248543
744
745
746
747 --
748 gentoo-commits@g.o mailing list