pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/parallel/mpi-ch Update to mpich2-1.0.7. From pkgsrc-wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10b9451d0e7f
branches:  trunk
changeset: 542926:10b9451d0e7f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu May 29 20:25:53 2008 +0000

description:
Update to mpich2-1.0.7. From pkgsrc-wip, contributed by Aleksej Saushev.

MPICH2 is an all-new implementation of MPI from the group at Argonne
National Laboratory.  It shares many goals with the original MPICH but
no actual code.  It is a portable, high-performance implementation of
the entire MPI-2 standard.  This release has all MPI-2 functions and
features required by the standard with the exception of support for the
"external32" portable I/O format.

diffstat:

 parallel/mpi-ch/DESCR            |     4 +-
 parallel/mpi-ch/Makefile         |   173 +--
 parallel/mpi-ch/PLIST            |  2282 +++++++++----------------------------
 parallel/mpi-ch/PLIST.java       |     3 -
 parallel/mpi-ch/buildlink3.mk    |    25 +-
 parallel/mpi-ch/distinfo         |    35 +-
 parallel/mpi-ch/patches/patch-aa |    64 +-
 parallel/mpi-ch/patches/patch-ab |    26 +-
 parallel/mpi-ch/patches/patch-ac |    36 +-
 parallel/mpi-ch/patches/patch-ad |    23 +-
 parallel/mpi-ch/patches/patch-ae |    69 +-
 parallel/mpi-ch/patches/patch-al |   200 ---
 parallel/mpi-ch/patches/patch-at |    12 -
 parallel/mpi-ch/patches/patch-au |    68 -
 parallel/mpi-ch/patches/patch-av |    16 -
 parallel/mpi-ch/patches/patch-aw |    66 -
 parallel/mpi-ch/patches/patch-ax |    18 -
 parallel/mpi-ch/patches/patch-ay |    51 -
 parallel/mpi-ch/patches/patch-az |    17 -
 parallel/mpi-ch/patches/patch-ba |    16 -
 parallel/mpi-ch/patches/patch-bb |    18 -
 parallel/mpi-ch/patches/patch-bc |    16 -
 parallel/mpi-ch/patches/patch-bd |    17 -
 parallel/mpi-ch/patches/patch-be |    17 -
 parallel/mpi-ch/patches/patch-ca |    51 -
 25 files changed, 803 insertions(+), 2520 deletions(-)

diffs (truncated from 3653 to 300 lines):

diff -r 2e1e290ad1aa -r 10b9451d0e7f parallel/mpi-ch/DESCR
--- a/parallel/mpi-ch/DESCR     Thu May 29 19:17:34 2008 +0000
+++ b/parallel/mpi-ch/DESCR     Thu May 29 20:25:53 2008 +0000
@@ -1,5 +1,5 @@
-MPICH is a freely available, portable implementation of MPI, the new
-Standard for message-passing libraries.
+MPICH is a freely available, portable implementation of MPI and MPI-2
+standard message-passing interface.
 
 Documentation on installing and using MPICH is available, as well as
 manual pages for the routines and commands.
diff -r 2e1e290ad1aa -r 10b9451d0e7f parallel/mpi-ch/Makefile
--- a/parallel/mpi-ch/Makefile  Thu May 29 19:17:34 2008 +0000
+++ b/parallel/mpi-ch/Makefile  Thu May 29 20:25:53 2008 +0000
@@ -1,140 +1,59 @@
-# $NetBSD: Makefile,v 1.54 2008/05/26 02:13:23 joerg Exp $
+# $NetBSD: Makefile,v 1.55 2008/05/29 20:25:53 tnn Exp $
+
+DISTNAME=      mpich2-1.0.7
+CATEGORIES=    parallel
+MASTER_SITES=  http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/
 
-DISTNAME=              mpich-1.2.6
-PKGREVISION=           6
-CATEGORIES=            parallel
-MASTER_SITES=          ftp://ftp.mcs.anl.gov/pub/mpi/
-DISTFILES=             ${DISTNAME}${EXTRACT_SUFX} mpich-docs.tgz
+MAINTAINER=    asau%inbox.ru@localhost
+HOMEPAGE=      http://www.mcs.anl.gov/research/projects/mpich2/
+COMMENT=       Open source MPI and MPI-2 implementation from Univ. of Chicago
 
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              http://www-unix.mcs.anl.gov/mpi/mpich1/
-COMMENT=               Free implementation of the Message Passing Interface
+CONFLICTS+=    musicpd-[0-9]*  # installs bin/mpd
+CONFLICTS+=    mpich-[0-9]*    # installs bin/mpicc & other wrappers
+CONFLICTS+=    openmpi-[0-9]*  # installs bin/mpicc & other wrappers
 
-# many failures
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 MAKE_JOBS_SAFE=                no
 
-.if !exists(/usr/bin/ssh)
-DEPENDS+=              {openssh-[0-9]*,ssh{,6}-1.2.27*}:../../security/openssh
-.endif
-
-BUILD_TARGET=          ALL examples
-INSTALL_TARGET=                install-all
+GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++ fortran
-USE_TOOLS+=            pax perl:run
-HAS_CONFIGURE=         yes
-USE_FORTRAN=           yes
-PKG_SYSCONFSUBDIR=     mpi-ch
-
-MPI_RSH?=              ssh
 
-.include "../../mk/bsd.prefs.mk"
-
-CONFIGURE_ARGS+=       -prefix=${PREFIX:Q}
-CONFIGURE_ARGS+=       -docdir=${PREFIX}/share/doc/mpi-ch
-CONFIGURE_ARGS+=       -htmldir=${PREFIX}/share/doc/mpi-ch/html
-CONFIGURE_ARGS+=       -mandir=${PREFIX}/${PKGMANDIR}
-CONFIGURE_ARGS+=       -opt=-O
-CONFIGURE_ARGS+=       -rsh=${MPI_RSH:Q}
-CONFIGURE_ARGS+=       --with-comm=ch_p4
-CONFIGURE_ARGS+=       --with-mpe
-CONFIGURE_ARGS+=       --disable-devdebug
-CONFIGURE_ARGS+=       --disable-f90
-CONFIGURE_ARGS+=       --disable-f90modules
-CONFIGURE_ENV+=                sysconfdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ENV+=                PERL=${PERL5:Q}
-CONFIGURE_ENV+=                PERLFULLPATH=${PERL5:Q}
+PKG_SYSCONFSUBDIR=     mpich
 
-# build PATH in the config file is not a problem
-CHECK_WRKREF_SKIP+=    share/examples/mpi-ch/perftest/config.system
-
-PKG_SYSCONFSUBDIR=     mpi-ch
-EGDIR=                 ${PREFIX}/share/examples/mpi-ch
-CONF_FILES+=           ${EGDIR}/mpichconf.h.dat ${PKG_SYSCONFDIR}/mpichconf.h.dat
-CONF_FILES+=           ${EGDIR}/mpichlib.conf ${PKG_SYSCONFDIR}/mpichlib.conf
-CONF_FILES+=           ${EGDIR}/mpichversion.c ${PKG_SYSCONFDIR}/mpichversion.c
-CONF_FILES+=           ${EGDIR}/mpif77.conf ${PKG_SYSCONFDIR}/mpif77.conf
+CONFIGURE_ARGS+=       --datadir=${PREFIX}/share/${PKGBASE}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --with-docdir=${PREFIX}/share/doc/${PKGBASE}
+CONFIGURE_ARGS+=       --with-htmldir=${PREFIX}/share/doc/${PKGBASE}/html
 
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+=       --with-arch=netbsd
-PLIST_SUBST+=          MPICH_OPSYS=${LOWER_OPSYS:Q}
-.elif ${OPSYS} == "DragonFly"
-CONFIGURE_ARGS+=       --with-arch=freebsd
-PLIST_SUBST+=          MPICH_OPSYS=freebsd
-.elif ${OPSYS} == "IRIX"
-CONFIGURE_ARGS+=       --with-arch=IRIX${ABI:S/32/N32/}
-PLIST_SUBST+=          MPICH_OPSYS="${OPSYS}${ABI:S/32/N32/}"
-.endif
+USE_TOOLS+=            perl:run
 
-.include "../../mk/compiler.mk"
-.if !empty(CC_VERSION:Mgcc-3*)
-CONFIGURE_ARGS+=       --disable-weak-symbols
-.endif
-
-MAKE_ENV+=             RSHCOMMAND=${MPI_RSH:Q}
-
-BUILD_DEFS+=           MPI_RSH
-
-PLIST_SRC+=            ${PKGDIR}/PLIST
+REPLACE_PYTHON+=       src/pm/mpd/*.py src/pm/mpd/test/*.py
 
-post-extract:
-       chmod -R g-w ${WRKDIR}/docs
-
-pre-configure:
-       set -e; for f in MPI-2-C++ examples/perftest/config/confdb mpe \
-           mpe/slog2sdk mpe/slog2sdk/trace_rlog mpe/slog2sdk/trace_sample\
-           mpid/ch_p4/p4 romio/confdb src/fortran/config; do \
-               ${RM} -f ${WRKSRC}/"$$f"/config.guess; \
-               ${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess \
-                   ${WRKSRC}/$$f; \
-       done
-       set -e; for f in MPI-2-C++ examples/perftest/config/confdb mpe \
-           mpe/slog2sdk mpe/slog2sdk/trace_rlog mpe/slog2sdk/trace_sample\
-           romio/confdb src/fortran/config; do \
-               ${RM} -f ${WRKSRC}/"$$f"/config.sub; \
-               ${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub \
-                   ${WRKSRC}/$$f; \
-       done
-.if ${MPI_RSH} == "rsh"
-       @${ECHO} "======================================================================"
-       @${ECHO} "Remember to enable 'shell' and 'login' in your /etc/inetd.conf and"
-       @${ECHO} "restart inetd -- otherwise, the configure script will disable 'rsh'!"
-       @${ECHO} "======================================================================"
-       @sleep 3
-.endif
+CONF_FILES+=           share/${PKGBASE}/examples/mpe_callstack_ldflags.conf \
+                       ${PKG_SYSCONFDIR}/mpe_callstack_ldflags.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpe_f77env.conf \
+                       ${PKG_SYSCONFDIR}/mpe_f77env.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpe_help.conf \
+                       ${PKG_SYSCONFDIR}/mpe_help.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpe_log.conf \
+                       ${PKG_SYSCONFDIR}/mpe_log.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpe_log_postlib.conf \
+                       ${PKG_SYSCONFDIR}/mpe_log_postlib.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpe_mpicheck.conf \
+                       ${PKG_SYSCONFDIR}/mpe_mpicheck.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpe_mpilog.conf \
+                       ${PKG_SYSCONFDIR}/mpe_mpilog.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpe_mpitrace.conf \
+                       ${PKG_SYSCONFDIR}/mpe_mpitrace.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpe_nolog.conf \
+                       ${PKG_SYSCONFDIR}/mpe_nolog.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpicc.conf \
+                       ${PKG_SYSCONFDIR}/mpicc.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpicxx.conf \
+                       ${PKG_SYSCONFDIR}/mpicxx.conf
+CONF_FILES+=           share/${PKGBASE}/examples/mpif77.conf \
+                       ${PKG_SYSCONFDIR}/mpif77.conf
 
-post-build:
-       @(if [ -r ${WRKSRC}/mpe/viewers/jumpshot-2/bin/jumpshot ]; then \
-               ${TOUCH} ${WRKDIR}/with-java; \
-       fi)
-       ${SED} -e "s,@PREFIX@,${PREFIX}," ${WRKSRC}/man/man1/MPI.1 >    \
-                       ${WRKSRC}/man/man1/MPI.1.tmp
-       ${MV} ${WRKSRC}/man/man1/MPI.1.tmp ${WRKSRC}/man/man1/MPI.1
-
-post-patch:
-       ${RM} -f ${WRKSRC}/man/man1/MPI.1.orig
-
-post-install:
-       cd ${WRKDIR}/docs && pax -rw . ${PREFIX}/share/doc/mpi-ch/html
-       @${RM} ${PREFIX}/${PKGMANDIR}/mandesc
-       @${MV} ${PREFIX}/sbin/mpiuninstall ${PREFIX}/sbin/mpiuninstall.not
-       @${CHMOD} 444 ${PREFIX}/sbin/mpiuninstall.not
-       @${ECHO} "#!/bin/sh" > ${PREFIX}/sbin/mpiuninstall
-       @${ECHO} "echo Please use the pkg_delete command to uninstall MPICH." \
-           >> ${PREFIX}/sbin/mpiuninstall
-       @${ECHO} "echo The original mpiuninstall script is provided in" \
-           >> ${PREFIX}/sbin/mpiuninstall
-       @${ECHO} "echo ${PREFIX}/sbin/mpiuninstall.not for reference." \
-           >> ${PREFIX}/sbin/mpiuninstall
-       @${ECHO} "exit" >> ${PREFIX}/sbin/mpiuninstall
-       @${CHMOD} 755 ${PREFIX}/sbin/mpiuninstall
-
-BUILDLINK_DEPMETHOD.libXt?=    build
-
-.include "../../x11/libX11/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
-.include "../../x11/tk/buildlink3.mk"
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
-
-.if exists(${WRKDIR}/with-java)
-PLIST_SRC+=            ${PKGDIR}/PLIST.java
-.endif
diff -r 2e1e290ad1aa -r 10b9451d0e7f parallel/mpi-ch/PLIST
--- a/parallel/mpi-ch/PLIST     Thu May 29 19:17:34 2008 +0000
+++ b/parallel/mpi-ch/PLIST     Thu May 29 20:25:53 2008 +0000
@@ -1,154 +1,108 @@
-@comment $NetBSD: PLIST,v 1.9 2006/05/18 14:26:48 joerg Exp $
-bin/clog2alog
-bin/clog_print
+@comment $NetBSD: PLIST,v 1.10 2008/05/29 20:25:53 tnn Exp $
+bin/check_callstack
+bin/clog2_join
+bin/clog2_print
+bin/clog2_repair
+bin/mpd
+bin/mpd.py
+bin/mpdallexit
+bin/mpdallexit.py
+bin/mpdboot
+bin/mpdboot.py
+bin/mpdcheck
+bin/mpdcheck.py
+bin/mpdchkpyver.py
+bin/mpdcleanup
+bin/mpdcleanup.py
+bin/mpdexit
+bin/mpdexit.py
+bin/mpdgdbdrv.py
+bin/mpdhelp
+bin/mpdhelp.py
+bin/mpdkilljob
+bin/mpdkilljob.py
+bin/mpdlib.py
+bin/mpdlistjobs
+bin/mpdlistjobs.py
+bin/mpdman.py
+bin/mpdringtest
+bin/mpdringtest.py
+bin/mpdroot
+bin/mpdrun
+bin/mpdrun.py
+bin/mpdsigjob
+bin/mpdsigjob.py
+bin/mpdtrace
+bin/mpdtrace.py
+bin/mpecc.in
+bin/mpefc.in
 bin/mpicc
-bin/mpichversion
+bin/mpich2version
 bin/mpicxx
+bin/mpiexec
+bin/mpiexec.py
 bin/mpif77
-bin/mpiman
-bin/mpireconfig
-bin/mpireconfig.dat
 bin/mpirun
-bin/mpirun.args
-bin/mpirun.ch_p4
-bin/mpirun.ch_p4.args
-bin/mpirun.p4shmem
-bin/mpirun.pg
-bin/mpirun.rand
-bin/mpirun_dbg.dbx
-bin/mpirun_dbg.ddd
-bin/mpirun_dbg.gdb
-bin/mpirun_dbg.ladebug
-bin/mpirun_dbg.totalview
-bin/mpirun_dbg.xxgdb
-bin/serv_p4
-bin/tarch
-bin/tdevice
-include/basex11.h
+bin/mpirun.py
+bin/parkill
+include/clog_commset.h
+include/clog_const.h
+include/clog_inttypes.h
+include/clog_uuid.h
 include/mpe.h
+include/mpe_callstack.h
 include/mpe_graphics.h
 include/mpe_log.h
-include/mpeexten.h
-include/mpef.h
-include/mpetools.h
+include/mpe_log_thread.h
+include/mpe_logf.h
+include/mpe_misc.h
+include/mpe_thread.h
 include/mpi.h
-include/mpi2c++/comm.h
-include/mpi2c++/comm_inln.h
-include/mpi2c++/constants.h
-include/mpi2c++/datatype.h
-include/mpi2c++/datatype_inln.h
-include/mpi2c++/errhandler.h
-include/mpi2c++/errhandler_inln.h
-include/mpi2c++/exception.h
-include/mpi2c++/functions.h



Home | Main Index | Thread Index | Old Index