LAPACK95
Download Source: | http://www.netlib.org/lapack95/lapack95.tgz |
---|
Contents
Introduction to LAPACK95
LAPACK95 is a Fortran95 interface to LAPACK.
Project Homepage: http://www.netlib.org/lapack95/
Dependencies
Required
Configuration Information
There is no configure script, but there are several make commands that can be issued depending upon the support you require from your library. These are:
make single: provides for single precision library support. |
make double: provides for double precision library support. |
make single_complex: provides for single precision and complex library support. |
make single_double: provides for single and double precisions library support. |
make double_dcomplex: provides for double precision and double complex library support. |
make single_double_complex: provides for single and double precision, and complex library support |
make single_double_complex_dcomplex: provides for single and double precision, complex and double complex library support. |
Non-Multilib
The LAPACK95 make.inc file assumes that the FORTRAN compiler is named f95. If you're using the gfortran compiler, correct this:
sed -i 's/f95 -free/gfortran/' make.inc && sed -i 's/f95 -fixed/gfortran/' make.inc
LAPACK95 assumes the LAPACK source code is in /usr/local/lib/LAPACK3. The LAPACK source code is required to build the tests. Correct this to point to the location of your LAPACK source tree:
sed -i 's@/usr/local/lib/LAPACK3/@<PATH_TO_LAPACK_SOURCE_TREE>@' make.inc
Correct the paths to the BLAS and LAPACK libraries on your system:
sed -i 's@$(LAPACK_PATH)/blas.a@<PATH_TO_BLAS_LIBRARY>@' make.inc && sed -i 's@$(LAPACK_PATH)/lapack.a@<PATH_TO_LAPACK_LIBRARY>@' make.inc && sed -i 's@$(LAPACK_PATH)/tmglib.a@<PATH_TO_TMG_LIBRARY>@' make.inc
Compile the LAPACK95 library. Enter the SRC directory and execute ONE of the make commands above:
cd SRC && make <DESIRED_SUPPORT>
Move the library to a standard location:
cd .. && cp -v lapack95.a /usr/lib/liblapack95.a
Install the examples if you choose:
install -v -m755 -d /usr/share/doc/LAPACK95/Examples && cp -v EXAMPLES{1,2}/* /usr/share/doc/LAPACK95/Examples
Multilib
The LAPACK95 make.inc file assumes that the FORTRAN compiler is named f95. If you're using the gfortran compiler, correct this:
sed -i 's/f95 -free/gfortran/' make.inc && sed -i 's/f95 -fixed/gfortran/' make.inc
LAPACK95 assumes the LAPACK source code is in /usr/local/lib/LAPACK3. The LAPACK source code is required to build the tests. Correct this to point to the location of your LAPACK source tree:
sed -i 's@/usr/local/lib/LAPACK3/@<PATH_TO_LAPACK_SOURCE_TREE>@' make.inc
32Bit
Add your build options to the make file:
sed -i 's/OPTS0 = -u -V -dcfuns -dusty -ieee=full/OPTS0 = -u -V -dcfuns -dusty -ieee=full ${BUILD32}/' make.inc
Correct the paths to the BLAS and LAPACK libraries on your system:
sed -i 's@$(LAPACK_PATH)/blas.a@<PATH_TO_BLAS_LIBRARY>@' make.inc && sed -i 's@$(LAPACK_PATH)/lapack.a@<PATH_TO_LAPACK_LIBRARY>@' make.inc && sed -i 's@$(LAPACK_PATH)/tmglib.a@<PATH_TO_TMG_LIBRARY>@' make.inc
Compile the LAPACK95 library. Enter the SRC directory and execute ONE of the make commands above:
cd SRC && make <DESIRED_SUPPORT>
Move the library to a standard location:
cd .. && cp -v lapack95.a /usr/lib/liblapack95.a
N32
Add your build options to the make file:
sed -i 's/OPTS0 = -u -V -dcfuns -dusty -ieee=full/OPTS0 = -u -V -dcfuns -dusty -ieee=full ${BUILD32}/' make.inc
Correct the paths to the BLAS and LAPACK libraries on your system:
sed -i 's@$(LAPACK_PATH)/blas.a@<PATH_TO_BLAS_LIBRARY>@' make.inc && sed -i 's@$(LAPACK_PATH)/lapack.a@<PATH_TO_LAPACK_LIBRARY>@' make.inc && sed -i 's@$(LAPACK_PATH)/tmglib.a@<PATH_TO_TMG_LIBRARY>@' make.inc
Compile the LAPACK95 library. Enter the SRC directory and execute ONE of the make commands above:
cd SRC && make <DESIRED_SUPPORT>
Move the library to a standard location:
cd .. && cp -v lapack95.a /usr/lib32/liblapack95.a
64Bit
Add your build options to the make file:
sed -i 's/OPTS0 = -u -V -dcfuns -dusty -ieee=full/OPTS0 = -u -V -dcfuns -dusty -ieee=full ${BUILD32}/' make.inc
Correct the paths to the BLAS and LAPACK libraries on your system:
sed -i 's@$(LAPACK_PATH)/blas.a@<PATH_TO_BLAS_LIBRARY>@' make.inc && sed -i 's@$(LAPACK_PATH)/lapack.a@<PATH_TO_LAPACK_LIBRARY>@' make.inc && sed -i 's@$(LAPACK_PATH)/tmglib.a@<PATH_TO_TMG_LIBRARY>@' make.inc
Compile the LAPACK95 library. Enter the SRC directory and execute ONE of the make commands above:
cd SRC && make <DESIRED_SUPPORT>
Move the library to a standard location:
cd .. && cp -v lapack95.a /usr/lib64/liblapack95.a
Install the examples if you choose:
install -v -m755 -d /usr/share/doc/LAPACK95/Examples && cp -v EXAMPLES{1,2}/* /usr/share/doc/LAPACK95/Examples
Contents
Installed Libraries: | liblapack95.a |
---|
Short Description
liblapack95.a | Library containing the FORTRAN 95 interface to linear algebra functions. |
---|