source: trunk/dports/math/itsol/Portfile

Last change on this file was 148861, checked in by dstrubbe@…, 16 months ago

itsol: Use linear_algebra port group. This adds support for OpenBLAS.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148861 2016-05-20 15:16:55Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           muniversal 1.0
6PortGroup           compilers 1.0
7PortGroup           linear_algebra 1.0
8
9name                itsol
10version             2.0.0
11
12license             GPL-2+
13categories          math
14platforms           darwin
15maintainers         michaelld openmaintainer
16
17description         ITerative SOLvers for sparse linear systems.
18
19long_description    ITSOL is a library of iterative solvers for general sparse linear systems of equations. \
20                    ITSOL can be viewed as an extension of the itsol module in SPARSKIT. It is written in C \
21                    and offers a selection of recently developed preconditioners. The preconditioner suite includes: \
22                    ILUK (ILU preconditioner with level of fill),  \
23                    ILUT (ILU preconditioner with threshold), \
24                    ILUC (Crout version of ILUT), \
25                    VBILUK (variable block preconditioner with level of fill - with automatic block detection), \
26                    VBILUT (variable block preconditioner with threshold - with automatic block detection), \
27                    ARMS (Algebraic Recursive Multilevel Solvers -- includes actually several methods, \
28                    in particular the standard ARMS and the ddPQ version which uses nonsymmetric permutations). \
29                    Note that ITSOL is a scalar package.
30
31homepage            http://www-users.cs.umn.edu/~saad/software/ITSOL/
32
33set distname        ITSOL_2
34master_sites        http://www-users.cs.umn.edu/~saad/software/ITSOL/
35checksums           rmd160 fe61d6602df541a30e0f3b587ac123bd6f1d318e \
36                    sha256 de8f2726e2dbc248e8ccebdbc9ce8515ad47a8c8595cca87264c22b44845736a
37
38patchfiles          patch-INC_protos.h.diff \
39                    patch-SRC.diff \
40                    patch-makefile.diff \
41                    patch-TESTS-matfile.diff
42
43compilers.choose    fc
44compilers.setup     require_fortran
45
46##########################
47# configure MacPorts build
48
49use_configure        yes
50configure.cmd        make
51configure.pre_args   lib
52configure.env-append PREFIX=${prefix}
53configure.universal_args
54destroot.env-append  PREFIX=${prefix}
55
56pre-configure {
57    configure.ldflags-append "${linalglib}"
58}
59
60test.run       yes
61pre-test {
62    test.args-append     LINKS="-L../LIB -litsol" \
63        FC="${configure.fc}" FCFLAGS="${configure.fcflags}" \
64        CC="${configure.cc}" CCFLAGS="-c -I ../INC ${configure.cflags} -DLINUX" \
65        LD="${configure.fc}" LDFLAGS="${configure.ldflags}"
66}
Note: See TracBrowser for help on using the repository browser.