Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Commit

Permalink
Update to ARPACK-NG 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
siko1056 committed Jul 5, 2016
1 parent f47c460 commit 2da2ede
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ qrupdate: $(LIBS_DIR)/lib/libqrupdate$(_SONAME_SUFFIX).so
#
################################################################################

ARPACK_VER = 3.3.0
ARPACK_VER = 3.4.0

$(SRC_CACHE)/arpack-$(ARPACK_VER).tar.gz:
cd $(SRC_CACHE) \
Expand All @@ -170,19 +170,17 @@ $(LIBS_DIR)/lib/libarpack$(_SONAME_SUFFIX).so: \
cd $(BUILD_DIR) \
&& tar -xf $(SRC_CACHE)/arpack-$(ARPACK_VER).tar.gz \
&& mv arpack-ng-$(ARPACK_VER) arpack
# fix library name
$(call fix_soname,arpack,libarpack,libarpack$(_SONAME_SUFFIX))
# build and install library
cd $(BUILD_DIR)/arpack \
&& ./bootstrap \
&& ./configure --prefix=$(LIBS_DIR) \
--with-blas='-lopenblas$(_SONAME_SUFFIX)' \
--with-lapack='' \
INTERFACE64=1 \
LT_SYS_LIBRARY_PATH=$(LIBS_DIR)/lib \
FFLAGS='-fdefault-integer-8' \
LDFLAGS='-L$(LIBS_DIR)/lib' \
&& $(MAKE) && $(MAKE) install libdir='$${exec_prefix}/lib'
rm -f $(LIBS_DIR)/lib/libarpack$(_SONAME_SUFFIX).la
LIBSUFFIX='$(_SONAME_SUFFIX)' \
&& $(MAKE) check && $(MAKE) install

arpack: $(LIBS_DIR)/lib/libarpack$(_SONAME_SUFFIX).so

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ compile
- [OpenBLAS](http://www.openblas.net) (0.2.18),
- [SuiteSparse](http://www.suitesparse.com) (4.5.3),
- [QRUPDATE](http://sourceforge.net/projects/qrupdate) (1.1.2),
- [ARPACK](https://github.com/opencollab/arpack-ng) (3.3.0), and
- [ARPACK-NG](https://github.com/opencollab/arpack-ng) (3.4.0), and
- [GNU Octave](http://www.gnu.org/software/octave/) (development version)

using 64-bit indices. To get a quick overview about the library dependencies,
Expand All @@ -35,7 +35,7 @@ libraries below".
+-------------------------------------------------------+
| GNU Octave |
+-------------+-------------+-------------+-------------+
| | SuiteSparse | QRUPDATE | ARPACK |
| | SuiteSparse | QRUPDATE | ARPACK-NG |
| +-------------+-------------+-------------+
| OpenBLAS |
+-------------------------------------------------------+
Expand All @@ -47,8 +47,8 @@ libraries below".
Means, that all other
[build dependencies](https://www.gnu.org/software/octave/doc/interpreter/Build-Dependencies.html)
(e.g. libtool, gfortran, ...) are properly installed on the system and, even
better, building the "usual" Octave development version runs flawless. Building
this project requires approximately **4 GB** disc space and **2 hours**,
better, building the "usual" Octave development version runs flawless.
Building this project requires approximately **4 GB** disc space and **1 hour**,
depending on your system.

Using this Makefile is especially of interest, if one pursues the following
Expand Down Expand Up @@ -87,7 +87,7 @@ All required libraries are built according to this pattern:
2. Extract the source code to directory *ROOT_DIR/build*
3. Configure and build the library (sometimes with ugly hacks)
1. Ensure usage of 64-bit indices.
2. Ensure the suffix "_Octave64" in the library's
2. Ensure the suffix "\_Octave64" in the library's
[SONAME](https://en.wikipedia.org/wiki/Soname).
4. Deploy the library in *ROOT_DIR/libs/lib* (sometimes with ugly hacks)

Expand All @@ -104,7 +104,7 @@ make SONAME_SUFFIX=Octave64
```

The first call leaves the library names unchanged, while the second call adds
the suffix "_Octave64" to each library, which is the default behavior. For
the suffix "\_Octave64" to each library, which is the default behavior. For
more information on shared libraries in common Linux distributions, see the
subsection below.

Expand Down

0 comments on commit 2da2ede

Please sign in to comment.