pkgsrc/parallel/mpi-ch/Makefile

92 lines
2.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.26 2004/02/18 13:33:41 jlam Exp $
DISTNAME= mpich-1.2.5.2
CATEGORIES= parallel
MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/mpi/
Update to latest version 1.2.5-1a (pkgversion 1.2.5.1.1) From the packages README: Version 1.2.5 is primarily a bug-fix release. New features include Significantly better collective algorithms are available. Major changes for the globus2 device and the ch_nt device. Information on previous versions -------------------------------- Features new or improved in Version 1.2.4 included: SMP support has been inproved through the use of sched_yield. SMP Systems that are not oversubscribed can consider configuring with --disable-yeild. A number of bugs in the ch_p4, ch_p4mpd, and ch_shmem device hae been fixed. These could cause programs to hang or generate error messages. Features new or improved in Version 1.2.3 included: Bug fixes and improved-portability, particularly in the area of Linux and Mac OS X support. Other new features include better support for Intel compilers, particularly for IA64 Linux, better support for various Fortran compilers, and some fixes for rare race conditions in the ch_p4 device. The documentation on the ch_p4mpd device and the MPD system has been improved. Version 1.2.3 also includes all of the source for both the Unix and Windows versions. Windows users should still use the self-installing version available through the web page. The globus device now supports version 2 of Globus. Features new or improved in Version 1.2.2 included: There are a number of improvements to the ch_p4 device that improve both performance and reliability, particularly on Linux platforms. Significant upgrades have been made to the MPD system of daemons that provide fast startup of MPICH jobs, management of stdio, and a crude parallel debugger based on gdb.
2003-03-27 22:07:05 +01:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} mpich-docs.tgz
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.mcs.anl.gov/mpi/mpich/index.html
COMMENT= Free implementation of the Message Passing Interface
2000-10-22 00:52:37 +02:00
.if !exists(/usr/bin/ssh)
DEPENDS+= {openssh-[0-9]*,ssh{,6}-1.2.27*}:../../security/ssh
.endif
DEPENDS+= tk>=8.3.0:../../x11/tk
Update to latest version 1.2.5-1a (pkgversion 1.2.5.1.1) From the packages README: Version 1.2.5 is primarily a bug-fix release. New features include Significantly better collective algorithms are available. Major changes for the globus2 device and the ch_nt device. Information on previous versions -------------------------------- Features new or improved in Version 1.2.4 included: SMP support has been inproved through the use of sched_yield. SMP Systems that are not oversubscribed can consider configuring with --disable-yeild. A number of bugs in the ch_p4, ch_p4mpd, and ch_shmem device hae been fixed. These could cause programs to hang or generate error messages. Features new or improved in Version 1.2.3 included: Bug fixes and improved-portability, particularly in the area of Linux and Mac OS X support. Other new features include better support for Intel compilers, particularly for IA64 Linux, better support for various Fortran compilers, and some fixes for rare race conditions in the ch_p4 device. The documentation on the ch_p4mpd device and the MPD system has been improved. Version 1.2.3 also includes all of the source for both the Unix and Windows versions. Windows users should still use the self-installing version available through the web page. The globus device now supports version 2 of Globus. Features new or improved in Version 1.2.2 included: There are a number of improvements to the ch_p4 device that improve both performance and reliability, particularly on Linux platforms. Significant upgrades have been made to the MPD system of daemons that provide fast startup of MPICH jobs, management of stdio, and a crude parallel debugger based on gdb.
2003-03-27 22:07:05 +01:00
ALL_TARGET= ALL examples
INSTALL_TARGET= install-all
USE_PERL5= yes
HAS_CONFIGURE= yes
USE_X11= yes
USE_FORTRAN= yes
Update to latest version 1.2.5-1a (pkgversion 1.2.5.1.1) From the packages README: Version 1.2.5 is primarily a bug-fix release. New features include Significantly better collective algorithms are available. Major changes for the globus2 device and the ch_nt device. Information on previous versions -------------------------------- Features new or improved in Version 1.2.4 included: SMP support has been inproved through the use of sched_yield. SMP Systems that are not oversubscribed can consider configuring with --disable-yeild. A number of bugs in the ch_p4, ch_p4mpd, and ch_shmem device hae been fixed. These could cause programs to hang or generate error messages. Features new or improved in Version 1.2.3 included: Bug fixes and improved-portability, particularly in the area of Linux and Mac OS X support. Other new features include better support for Intel compilers, particularly for IA64 Linux, better support for various Fortran compilers, and some fixes for rare race conditions in the ch_p4 device. The documentation on the ch_p4mpd device and the MPD system has been improved. Version 1.2.3 also includes all of the source for both the Unix and Windows versions. Windows users should still use the self-installing version available through the web page. The globus device now supports version 2 of Globus. Features new or improved in Version 1.2.2 included: There are a number of improvements to the ch_p4 device that improve both performance and reliability, particularly on Linux platforms. Significant upgrades have been made to the MPD system of daemons that provide fast startup of MPICH jobs, management of stdio, and a crude parallel debugger based on gdb.
2003-03-27 22:07:05 +01:00
MPI_RSH?= ssh
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS= -prefix=${PREFIX}
CONFIGURE_ARGS+= -docdir=${PREFIX}/share/doc/mpi-ch
CONFIGURE_ARGS+= -htmldir=${PREFIX}/share/doc/html/mpi-ch
CONFIGURE_ARGS+= -opt=-O
CONFIGURE_ARGS+= --with-arch=netbsd
CONFIGURE_ARGS+= --with-comm=ch_p4
CONFIGURE_ARGS+= --with-mpe
CONFIGURE_ARGS+= --disable-devdebug
CONFIGURE_ARGS+= --disable-f90
CONFIGURE_ARGS+= --disable-f90modules
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-3*)
CONFIGURE_ARGS+= --disable-weak-symbols
.endif
Update to latest version 1.2.5-1a (pkgversion 1.2.5.1.1) From the packages README: Version 1.2.5 is primarily a bug-fix release. New features include Significantly better collective algorithms are available. Major changes for the globus2 device and the ch_nt device. Information on previous versions -------------------------------- Features new or improved in Version 1.2.4 included: SMP support has been inproved through the use of sched_yield. SMP Systems that are not oversubscribed can consider configuring with --disable-yeild. A number of bugs in the ch_p4, ch_p4mpd, and ch_shmem device hae been fixed. These could cause programs to hang or generate error messages. Features new or improved in Version 1.2.3 included: Bug fixes and improved-portability, particularly in the area of Linux and Mac OS X support. Other new features include better support for Intel compilers, particularly for IA64 Linux, better support for various Fortran compilers, and some fixes for rare race conditions in the ch_p4 device. The documentation on the ch_p4mpd device and the MPD system has been improved. Version 1.2.3 also includes all of the source for both the Unix and Windows versions. Windows users should still use the self-installing version available through the web page. The globus device now supports version 2 of Globus. Features new or improved in Version 1.2.2 included: There are a number of improvements to the ch_p4 device that improve both performance and reliability, particularly on Linux platforms. Significant upgrades have been made to the MPD system of daemons that provide fast startup of MPICH jobs, management of stdio, and a crude parallel debugger based on gdb.
2003-03-27 22:07:05 +01:00
MAKE_ENV+= RSHCOMMAND="${MPI_RSH}"
BUILD_DEFS+= MPI_RSH
.include "../../mk/bsd.prefs.mk"
PLIST_SRC+= ${PKGDIR}/PLIST
Update to latest version 1.2.5-1a (pkgversion 1.2.5.1.1) From the packages README: Version 1.2.5 is primarily a bug-fix release. New features include Significantly better collective algorithms are available. Major changes for the globus2 device and the ch_nt device. Information on previous versions -------------------------------- Features new or improved in Version 1.2.4 included: SMP support has been inproved through the use of sched_yield. SMP Systems that are not oversubscribed can consider configuring with --disable-yeild. A number of bugs in the ch_p4, ch_p4mpd, and ch_shmem device hae been fixed. These could cause programs to hang or generate error messages. Features new or improved in Version 1.2.3 included: Bug fixes and improved-portability, particularly in the area of Linux and Mac OS X support. Other new features include better support for Intel compilers, particularly for IA64 Linux, better support for various Fortran compilers, and some fixes for rare race conditions in the ch_p4 device. The documentation on the ch_p4mpd device and the MPD system has been improved. Version 1.2.3 also includes all of the source for both the Unix and Windows versions. Windows users should still use the self-installing version available through the web page. The globus device now supports version 2 of Globus. Features new or improved in Version 1.2.2 included: There are a number of improvements to the ch_p4 device that improve both performance and reliability, particularly on Linux platforms. Significant upgrades have been made to the MPD system of daemons that provide fast startup of MPICH jobs, management of stdio, and a crude parallel debugger based on gdb.
2003-03-27 22:07:05 +01:00
.if ${MPI_RSH} == "rsh"
pre-configure:
@${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
post-build:
@(if [ -e ${WRKSRC}/mpe/viewers/jumpshot-2/bin/jumpshot ]; then \
2001-04-09 14:00:49 +02:00
${TOUCH} ${WRKDIR}/with-java; \
fi)
Update to latest version 1.2.5-1a (pkgversion 1.2.5.1.1) From the packages README: Version 1.2.5 is primarily a bug-fix release. New features include Significantly better collective algorithms are available. Major changes for the globus2 device and the ch_nt device. Information on previous versions -------------------------------- Features new or improved in Version 1.2.4 included: SMP support has been inproved through the use of sched_yield. SMP Systems that are not oversubscribed can consider configuring with --disable-yeild. A number of bugs in the ch_p4, ch_p4mpd, and ch_shmem device hae been fixed. These could cause programs to hang or generate error messages. Features new or improved in Version 1.2.3 included: Bug fixes and improved-portability, particularly in the area of Linux and Mac OS X support. Other new features include better support for Intel compilers, particularly for IA64 Linux, better support for various Fortran compilers, and some fixes for rare race conditions in the ch_p4 device. The documentation on the ch_p4mpd device and the MPD system has been improved. Version 1.2.3 also includes all of the source for both the Unix and Windows versions. Windows users should still use the self-installing version available through the web page. The globus device now supports version 2 of Globus. Features new or improved in Version 1.2.2 included: There are a number of improvements to the ch_p4 device that improve both performance and reliability, particularly on Linux platforms. Significant upgrades have been made to the MPD system of daemons that provide fast startup of MPICH jobs, management of stdio, and a crude parallel debugger based on gdb.
2003-03-27 22:07:05 +01:00
${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:
Update to latest version 1.2.5-1a (pkgversion 1.2.5.1.1) From the packages README: Version 1.2.5 is primarily a bug-fix release. New features include Significantly better collective algorithms are available. Major changes for the globus2 device and the ch_nt device. Information on previous versions -------------------------------- Features new or improved in Version 1.2.4 included: SMP support has been inproved through the use of sched_yield. SMP Systems that are not oversubscribed can consider configuring with --disable-yeild. A number of bugs in the ch_p4, ch_p4mpd, and ch_shmem device hae been fixed. These could cause programs to hang or generate error messages. Features new or improved in Version 1.2.3 included: Bug fixes and improved-portability, particularly in the area of Linux and Mac OS X support. Other new features include better support for Intel compilers, particularly for IA64 Linux, better support for various Fortran compilers, and some fixes for rare race conditions in the ch_p4 device. The documentation on the ch_p4mpd device and the MPD system has been improved. Version 1.2.3 also includes all of the source for both the Unix and Windows versions. Windows users should still use the self-installing version available through the web page. The globus device now supports version 2 of Globus. Features new or improved in Version 1.2.2 included: There are a number of improvements to the ch_p4 device that improve both performance and reliability, particularly on Linux platforms. Significant upgrades have been made to the MPD system of daemons that provide fast startup of MPICH jobs, management of stdio, and a crude parallel debugger based on gdb.
2003-03-27 22:07:05 +01:00
cd ${WRKDIR}/docs && ${PAX} -rw . ${PREFIX}/share/doc/html/mpi-ch/
@${RM} ${PREFIX}/man/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
.include "../../mk/bsd.pkg.mk"
.if exists(${WRKDIR}/with-java)
PLIST_SRC+= ${PKGDIR}/PLIST.java
.endif