1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Add math/itl, the Iterative Template Library. It carries solver and

preconditioners for solving equations. It is required by some FEM
packages on the net like Felyx and IMOOSE.

ITL is said to work especially fast with gcc-3.3.

PR:		ports/55717
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
This commit is contained in:
Mark Linimon 2004-01-06 04:42:35 +00:00
parent 9b604aebe0
commit cbb00356c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97432
6 changed files with 84 additions and 0 deletions

35
math/itl/Makefile Normal file
View File

@ -0,0 +1,35 @@
# Ports collection makefile for: itl
# Date created: Mar 15, 2003
# Whom: Pedro F. Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#
PORTNAME= itl
PORTVERSION= 4.0.0.1
CATEGORIES= math devel
MASTER_SITES= http://www.osl.iu.edu/download/research/itl/
DISTNAME= ${PORTNAME}-4.0.0-1
MAINTAINER= ports@FreeBSD.org
COMMENT= Iterative Template Library (based on MTL)
BUILD_DEPENDS= ${LOCALBASE}/include/mtl/mtl.h:${PORTSDIR}/math/mtl \
${LOCALBASE}/include/blitz/blitz.h:${PORTSDIR}/math/blitz++
RUN_DEPENDS= ${LOCALBASE}/include/mtl/mtl.h:${PORTSDIR}/math/mtl \
${LOCALBASE}/lib/libblitz.a:${PORTSDIR}/math/blitz++
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-mtl=${LOCALBASE}/include \
--with-blitz=${LOCALBASE}/include
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if defined(WANT_MPI) || exists(${LOCALBASE}/bin/hcp)
BUILD_DEPENDS+= ${LOCALBASE}/bin/hcp:${PORTSDIR}/parallel/lam
RUN_DEPENDS+= ${LOCALBASE}/bin/hcp:${PORTSDIR}/parallel/lam
CONFIGURE_ARGS+= --with-mpi=lam
.endif
.include <bsd.port.post.mk>

1
math/itl/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (itl-4.0.0-1.tar.gz) = cb8b11de45e5b1bb80b17123adc93190

View File

@ -0,0 +1,10 @@
--- test/iohb.c.orig Mon Aug 18 22:04:00 2003
+++ test/iohb.c Mon Aug 18 22:04:22 2003
@@ -219,7 +219,6 @@
#include<stdlib.h>
#include<string.h>
#include<math.h>
-#include<malloc.h>
char* substr(const char* S, const int pos, const int len);
void upcase(char* S);

View File

@ -0,0 +1,11 @@
--- test/mmio.c.orig Mon Aug 18 22:04:50 2003
+++ test/mmio.c Mon Aug 18 22:05:10 2003
@@ -9,7 +9,7 @@
#include <stdio.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <ctype.h>
#include "mmio.h"

15
math/itl/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
The Iterative Template Library Alpha Release
The Iterative Template Library (ITL) has two parts, iterative solvers
and preconditioners. ITL provides a collection of sophisticated Krylov
subspace iterative solvers that use basic linear algebra packages such
as the Matrix Template Library or Blitz++ for its basic linear algebra
operations. The ITL has extended many of the ideas of the Iterative
Methods Library (IML++), to make the library more flexible. The
"interface" is to specify basic linear algebra operations. See next
bullet for details. On the other hand, ITL also provides a set of
preconditioners which are designed for Matrix Template Library.
The latest documentation for ITL can be found on our website:
WWW: http://www.osl.iu.edu/research/itl

12
math/itl/pkg-plist Normal file
View File

@ -0,0 +1,12 @@
include/itl/Iteration_concept.h
include/itl/Preconditioner_concept.h
include/itl/Matrix_concept.h
include/itl/givens_rotation.h
include/itl/itl.h
include/itl/itl_utils.h
include/itl/itl_tags.h
include/itl/modified_gram_schmidt.h
include/itl/matrix_free_operator.h
include/itl/number_traits.h
@dirrm include/itl