all buildblocks moved one level up

This commit is contained in:
2015-10-14 18:20:36 +02:00
parent 75832ca05a
commit 0a9fefd921
134 changed files with 0 additions and 0 deletions

42
Compiler/UMFPACK/build Executable file
View File

@@ -0,0 +1,42 @@
#!/usr/bin/env modbuild
pbuild::configure() {
cat <<EOF > "${MODULE_SRCDIR}/SuiteSparse_config/SuiteSparse_config.mk"
CF = \$(CFLAGS) \$(CPPFLAGS) \$(TARGET_ARCH) -O3 -fexceptions -fPIC -DNTIMER
RANLIB = ranlib
ARCHIVE = \$(AR) \$(ARFLAGS)
CP = cp -f
MV = mv -f
F77 = gfortran
F77FLAGS = \$(FFLAGS) -O
F77LIB =
LIB = -lm
INSTALL_LIB = \${PREFIX}/lib
INSTALL_INCLUDE = \${PREFIX}/include
BLAS = -lopenblas -lgfortran
XERBLA =
GPU_BLAS_PATH =
GPU_CONFIG =
UMFPACK_CONFIG = -DNCHOLMOD
CHOLMOD_CONFIG = \$(GPU_CONFIG)
SPQR_CONFIG =
TBB =
EOF
}
pbuild::build() {
cd "${MODULE_SRCDIR}/UMFPACK"
make TARGET=CORE2 BINARY=64 USE_THREAD=0 NO_SHARED=1
}
pbuild::install() {
install -d "${PREFIX}/include"
install -d "${PREFIX}/lib"
make PREFIX="${PREFIX}" install
}
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}" 'OpenBLAS'
pbuild::set_build_dependencies "${COMPILER}" 'OpenBLAS'
pbuild::make_all
#pbuild::cleanup_src

View File

@@ -0,0 +1,18 @@
#%Module1.0
set whatis "routines for solving unsymmetric sparse linear systems using the Unsymmetric MultiFrontal method."
set url "https://www.cise.ufl.edu/research/sparse/umfpack/"
set license "GNU GPL"
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
set help "
UMFPACK is a set of routines for solving unsymmetric sparse linear systems,
Ax=b, using the Unsymmetric MultiFrontal method. Written in ANSI/ISO C, with
a MATLAB (Version 6.0 and later) interface. Appears as a built-in routine
(for lu, backslash, and forward slash) in MATLAB. Includes a MATLAB
interface, a C-callable interface, and a Fortran-callable interface. Note
that "UMFPACK" is pronounced in two syllables, "Umph Pack". It is not "You
Em Ef Pack".
"
source $env(PSI_LIBMODULES)