+ -
当前位置:首页 → 问答吧 → [PKGBUILD] trilinos

[PKGBUILD] trilinos

时间:2009-09-23

来源:互联网

不知这边是否有人跟我一样平时需要做些科学计算?
已经上传到aur上了


代码:
# Contributor: Feng Wang <[email protected]>

pkgname=trilinos
pkgver=9.0.3
pkgrel=1
pkgdesc="The Trilinos Project is an effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multi-physics engineering and scientific problems."
arch=('i686' 'x86_64')
url="http://trilinos.sandia.gov/index.html"
license=('LGPL3')
depends=()
source=(http://trilinos.sandia.gov/download/files/trilinos-9.0.3.tar.gz)
makedepends=('gcc' 'openmpi' 'perl' 'blas' 'lapack')
md5sums=( 'd050527e7514bc6b96fd7fecc606a910' )

build() {
 cd "$srcdir/$pkgname-$pkgver"
 ./configure --enable-default-packages \
 --with-gnumake \
 --enable-mpi CXX="/usr/bin/mpic++ -DLAM_BUILDING" \
 --with-mpi=/usr \
 --with-perl=/usr/bin/perl \
 --with-blas="-L/usr/lib -lblas" \
 --with-lapack="-L/usr/lib -llapack" \
 --prefix=/usr --exec-prefix=/usr || return 1
 make || return 1
 make DESTDIR="$pkgdir" install
}

作者: fallening   发布时间: 2009-09-23

恩,你自己搭了个mpi集群?

作者: nacre   发布时间: 2009-09-23

只在自己的机器上配置好了,别的机器有Unix的有Windows的,正在伤脑筋

作者: fallening   发布时间: 2009-09-23

哦,我以前学过并行计算的课程,也曾经想搭一个mpi集群,不过最后还是用系里的机器了……

作者: nacre   发布时间: 2009-09-23