You are not logged in.

#1 2004-12-06 05:15:19

poetofnumbers
Member
From: Kansas, United States
Registered: 2004-10-30
Posts: 106
Website

[network, devel: compilers, libraries] mpich2 -> gcc-f77

This package is an implementation of the Message Passing Interface, MPI, Standard 2.0.  This provides libraries and compilers which enable parrallel processing via message passing.  I am only familiar with MPI Standard 1.0  mpich implementation, and am willing to make an arch package for it if asked to do so.  Again, This arch package is untested, but the mpich2 code itself should be stable.  I only have one computer at my disposal, and don't feel I can effectively test this package for obvious reasons.  Being that MPI is a fairly technical project, reading the documenation and knowing what you are doing is a must.

mpich2 PKGBUILD:

pkgname=mpich2
pkgver=1.0
pkgrel=1
pkgdesc="mpich2 is an implementation of mpi standard 2, a library 
         specification for message-passing, proposed as a standard."
url="http://www-unix.mcs.anl.gov/mpi/mpich2/downloads/mpich2-1.0.tar.gz"
license=""
depends=(python)
makedepends=(gcc gcc-f77 pyxml expat j2sdk)
conflicts=()
replaces=()
backup=()
install=
source=(http://www-unix.mcs.anl.gov/mpi/mpich2/downloads/$pkgname-$pkgver.tar.gz)
md5sums=('110838a75911b17879c8fc7b939eb890')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=${startdir}/pkg/usr 
              --sysconfdir=${startdir}/pkg/etc 
              --enable-sharedlibs=gcc
  sed -i "s|(sysconfdir.*=).*|1$startdir/pkg/etc|" src/{env/,binding/cxx/,binding/f77/,binding/f90/}Makefile
  mkdir -p ${startdir}/pkg/etc/profile.d
  make || return 1
  make install
  cd $startdir/pkg
  #Remove the examples.
  rm -R usr/{examples,share}
  #The following are copies of the man pages except in different formats.
  rm -R usr/{www,doc}
  #There are some weird nontext files which live in this unusual directory.
  rm -R usr/logfiles
  return 0
}

The actual arch package: mpich2-1.0-1.pkg.tar.gz

Notice that gcc-f77 is listed as a required dependency, and yet this package is not in the official repo.  The gcc-f77 PKGBUILD file can be found at snowman's repository.

My apologizes for submitting two untested arch packages to the forums.  I haven't sent them to the tur mailing list because of this.


Sweet, now I can play with myself.

Offline

Board footer

Powered by FluxBB