OpenBLAS_OMP
- removed, merged with OpenBLAS module
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
OpenBLAS_OMP/0.2.9 stable gcc/4.7.4
|
||||
OpenBLAS_OMP/0.2.9 stable gcc/4.8.3
|
||||
OpenBLAS_OMP/0.2.9 stable gcc/4.8.4
|
||||
OpenBLAS_OMP/0.2.9 stable gcc/4.9.2
|
||||
@@ -1,45 +0,0 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
cat <<EOF > "${SRC_DIR}/make.inc"
|
||||
SHELL = /bin/sh
|
||||
PLAT =
|
||||
DRVOPTS = \$(OPTS)
|
||||
LOADER = \$(FORTRAN) -pthread
|
||||
ARCHFLAGS= -ru
|
||||
EOF
|
||||
cat <<EOF > "${SRC_DIR}/Makefile.rule"
|
||||
VERSION = 0.2.9
|
||||
TARGET = CORE2
|
||||
CC = gcc
|
||||
BINARY=64
|
||||
USE_THREAD = 1
|
||||
USE_OPENMP = 1
|
||||
NO_SHARED = 1
|
||||
NO_WARMUP = 1
|
||||
NO_AFFINITY = 1
|
||||
FCOMMON_OPT = -frecursive
|
||||
COMMON_PROF = -pg
|
||||
EOF
|
||||
}
|
||||
|
||||
pbuild::compile() {
|
||||
cd "${SRC_DIR}"
|
||||
make
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
make PREFIX="${PREFIX}" install
|
||||
# We have to build shared libs and remove them here.
|
||||
# Building with NOSHARED gives an error during install -
|
||||
# due to a bug in the Makefile(s).
|
||||
rm -f "${PREFIX}/lib/"*.so
|
||||
rm -f "${PREFIX}/lib/"*.dylib
|
||||
#( cd "${PREFIX}/lib"; ln -fs
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'Compiler'
|
||||
pbuild::set_docfiles 'LICENSE' 'README.md'
|
||||
pbuild::set_supported_compilers 'gcc'
|
||||
pbuild::make_all
|
||||
pbuild::cleanup_src
|
||||
@@ -1,28 +0,0 @@
|
||||
#%Module1.0
|
||||
|
||||
module-whatis "optimized BLAS and LAPACK library compiled with OpenMP."
|
||||
module-url "http://www.openblas.net/"
|
||||
module-license "BSD"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
module-help "
|
||||
The BLAS (Basic Linear Algebra Subprograms) are routines that provide
|
||||
standard building blocks for performing basic vector and matrix operations.
|
||||
The Level 1 BLAS perform scalar, vector and vector-vector operations, the
|
||||
Level 2 BLAS perform matrix-vector operations, and the Level 3 BLAS perform
|
||||
matrix-matrix operations. Because the BLAS are efficient, portable, and
|
||||
widely available, they are commonly used in the development of high quality
|
||||
linear algebra software, LAPACK for example.
|
||||
|
||||
LAPACK (Linear Algebra PACKage) is written in Fortran 90 and provides
|
||||
routines for solving systems of simultaneous linear equations, least-
|
||||
squares solutions of linear systems of equations, eigenvalue problems,
|
||||
and singular value problems. The associated matrix factorizations (LU,
|
||||
Cholesky, QR, SVD, Schur, generalized Schur) are also provided, as are
|
||||
related computations such as reordering of the Schur factorizations and
|
||||
estimating condition numbers. Dense and banded matrices are handled, but
|
||||
not general sparse matrices. In all areas, similar functionality is
|
||||
provided for real and complex matrices, in both single and double precision.
|
||||
"
|
||||
|
||||
setenv OMP_NUM_THREADS 1
|
||||
setenv BLASLIB $PREFIX/libopenblas.a
|
||||
Reference in New Issue
Block a user