pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/parallel/sge import sge-5.3p6 (Sun Grid Engine)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86d162086bac
branches:  trunk
changeset: 474611:86d162086bac
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Mon May 03 00:38:34 2004 +0000

description:
import sge-5.3p6 (Sun Grid Engine)

The Grid Engine project is an open source community effort
to facilitate the adoption of distributed computing solutions.
Sponsored by Sun Microsystems and hosted by CollabNet, the
Grid Engine project provides enabling distributed resource
management software for wide ranging requirements from compute
farms to grid computing.

diffstat:

 parallel/sge/DESCR            |    6 +
 parallel/sge/MESSAGE          |   30 +++
 parallel/sge/Makefile         |  124 +++++++++++++
 parallel/sge/PLIST            |  399 ++++++++++++++++++++++++++++++++++++++++++
 parallel/sge/distinfo         |   36 +++
 parallel/sge/patches/patch-aa |   13 +
 parallel/sge/patches/patch-ab |   21 ++
 parallel/sge/patches/patch-ac |   17 +
 parallel/sge/patches/patch-ad |   17 +
 parallel/sge/patches/patch-ae |   13 +
 parallel/sge/patches/patch-af |   15 +
 parallel/sge/patches/patch-ag |   13 +
 parallel/sge/patches/patch-ah |   22 ++
 parallel/sge/patches/patch-ai |   10 +
 parallel/sge/patches/patch-aj |   13 +
 parallel/sge/patches/patch-ak |   13 +
 parallel/sge/patches/patch-al |   13 +
 parallel/sge/patches/patch-am |  124 +++++++++++++
 parallel/sge/patches/patch-an |   13 +
 parallel/sge/patches/patch-ao |   13 +
 parallel/sge/patches/patch-ap |   31 +++
 parallel/sge/patches/patch-aq |   17 +
 parallel/sge/patches/patch-ar |   22 ++
 parallel/sge/patches/patch-as |   26 ++
 parallel/sge/patches/patch-at |   25 ++
 parallel/sge/patches/patch-au |   13 +
 parallel/sge/patches/patch-av |   13 +
 parallel/sge/patches/patch-aw |   59 ++++++
 parallel/sge/patches/patch-ax |   53 +++++
 parallel/sge/patches/patch-ay |   18 +
 parallel/sge/patches/patch-az |   34 +++
 parallel/sge/patches/patch-ba |   13 +
 parallel/sge/patches/patch-bb |   33 +++
 parallel/sge/patches/patch-bc |   13 +
 parallel/sge/patches/patch-bd |   67 +++++++
 parallel/sge/patches/patch-be |   13 +
 parallel/sge/patches/patch-bf |   31 +++
 37 files changed, 1406 insertions(+), 0 deletions(-)

diffs (truncated from 1554 to 300 lines):

diff -r 0fa5344aa77c -r 86d162086bac parallel/sge/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/sge/DESCR        Mon May 03 00:38:34 2004 +0000
@@ -0,0 +1,6 @@
+The Grid Engine project is an open source community effort
+to facilitate the adoption of distributed computing solutions.
+Sponsored by Sun Microsystems and hosted by CollabNet, the
+Grid Engine project provides enabling distributed resource
+management software for wide ranging requirements from compute
+farms to grid computing. 
diff -r 0fa5344aa77c -r 86d162086bac parallel/sge/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/sge/MESSAGE      Mon May 03 00:38:34 2004 +0000
@@ -0,0 +1,30 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/05/03 00:38:34 dmcmahill Exp $
+
+You will need to add the following line to /etc/services:
+
+sge_commd       535/tcp                 # Sun Grid Engine    
+
+In addition after installation, you need to set up SGE.  To configure the 
+master node of the cluster, run:
+
+        cd ${SGE_ROOT} && ./install_qmaster -csp
+
+For the back-end compute nodes, run:
+
+        cd ${SGE_ROOT} && ./install_execd
+
+Additionally, you will want to add the following lines in /etc/csh.cshrc:
+
+# Sun Grid Engine Setup
+if ( -f ${SGE_ROOT}/default/common/settings.csh  ) then
+        source ${SGE_ROOT}/default/common/settings.csh
+endif
+
+and the following in /etc/profile:
+
+if [ -f ${SGE_ROOT}/default/common/settings.sh ]; then
+        . ${SGE_ROOT}/default/common/settings.sh
+fi
+
+===========================================================================
diff -r 0fa5344aa77c -r 86d162086bac parallel/sge/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/sge/Makefile     Mon May 03 00:38:34 2004 +0000
@@ -0,0 +1,124 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/05/03 00:38:34 dmcmahill Exp $
+#
+
+DISTNAME=              sge-5.3p6
+CATEGORIES=            parallel sysutils
+MASTER_SITES=          ${MASTER_SITE_LOCAL}
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://gridengine.sunsource.net/
+COMMENT=               Sun Grid Engine distributed resource management system
+
+BUILD_DEPENDS+=                {standalone-tcsh,tcsh}-[0-9]*:../../shells/tcsh
+
+GNU_CONFIGURE=         YES
+USE_BUILDLINK3=                YES
+USE_GNU_TOOLS+=                make
+USE_X11=               YES
+USE_PERL5=             YES
+
+CFLAGS+=               -D${UPPER_OPSYS}
+CONFIGURE_ENV+=                REMOTE=sge
+CONFIGURE_ENV+=                CFLAGS="${CFLAGS}"
+CONFIGURE_ARGS+=       --with-grd=${SGE_BUILDARCH}
+PLIST_SUBST+=          SGE_ARCH=${SGE_ARCH}
+MESSAGE_SUBST+=                SGE_ROOT=${SGE_ROOT}
+MAKE_ENV+=             PERL5=${PERL5}
+
+USE_PKGINSTALL=                YES
+SGE_USER?=             sgeadmin
+SGE_GROUP?=            sgeadmin
+PKG_GROUPS=            ${SGE_GROUP}
+PKG_USERS=             ${SGE_USER}:${SGE_GROUP}::Sun\\ Grid\\ Engine\\ Administrator
+
+EVAL_PREFIX+=  PKGSRC_SSL_PREFIX=openssl
+
+AIMK=  ${SETENV} ${MAKE_ENV} tcsh -fb ${WRKSRC}/source/aimk
+
+.include "../../mk/bsd.prefs.mk"
+
+# SGE_ARCH should match the putput of ${WRKSRC}/source/dist/util/arch
+# SGE_BUILDARCH should match whats in ${WRKSRC}/source/aimk
+UPPER_OPSYS!=          ${ECHO} "${OPSYS}" | ${TR} a-z A-Z
+
+.if ${OPSYS} == "NetBSD"
+SGE_ARCH=              nbsd-${MACHINE_ARCH}
+SGE_BUILDARCH!=                ${ECHO} "${OPSYS}_${MACHINE_ARCH}" | ${TR} a-z A-Z
+.elif ${OPSYS} == "FreeBSD"
+SGE_ARCH=              fbsd-${MACHINE_ARCH}
+SGE_BUILDARCH!=                ${ECHO} "${OPSYS}_${MACHINE_ARCH}" | ${TR} a-z A-Z
+.elif ${OPSYS} == "SunOS"
+.  if ${MACHINE_ARCH} == "i386"
+SGE_ARCH=              solaris86
+.  else
+SGE_ARCH=              solaris
+#or solaris64
+.  endif
+SGE_BUILDARCH!=                ${ECHO} "${SGE_ARCH}" | ${TR} a-z A-Z
+.elif ${OPSYS} == "Darwin"
+SGE_ARCH=              darwin
+SGE_BUILDARCH=         DARWIN
+.else
+PKG_FAIL_REASON=       "SGE_ARCH and SGE_BUILDARCH need to be confgured for your OS"
+.endif
+
+LDFLAGS+=      -R${SGE_ROOT}/lib/${SGE_ARCH}
+BUILDLINK_PASSTHRU_RPATHDIRS+= ${SGE_ROOT}/lib/${SGE_ARCH}
+
+SGE_ROOT=      ${PREFIX}/sge
+
+post-patch:
+       @if [ "`${WRKSRC}/source/dist/util/arch`" != "${SGE_ARCH}" ]; then \
+               ${ECHO} "ERROR:  SGE_ARCH as set in the pkgsrc Makefile," ;\
+               ${ECHO} "        ${SGE_ARCH}, does not agree with that returned by" ; \
+               ${ECHO} "        ${WRKSRC}/source/dist/util/arch," ; \
+               ${ECHO} "        `${WRKSRC}/source/dist/util/arch`" ; \
+               ${FALSE} ; \
+       fi
+
+pre-configure:
+.for __tmp__ in source/dist/util/arch_variables source/scripts/distinst.site source/aimk.site
+       ${MV} ${WRKSRC}/${__tmp__} ${WRKSRC}/${__tmp__}.bak
+       ${SED} -e 's;@rcd_dir@;${RCD_SCRIPTS_DIR};g' -e 's;@ssl_prefix@;${SSL_PREFIX};g' \
+               -e 's;@perl5@;${PERL5};g' ${WRKSRC}/${__tmp__}.bak > \
+               ${WRKSRC}/${__tmp__}
+       ${RM} ${WRKSRC}/${__tmp__}.bak
+.endfor
+
+do-configure:
+.for __prog__ in qmake qtcsh
+       ${MKDIR} ${WRKSRC}/source/3rdparty/${__prog__}/${SGE_BUILDARCH}
+       cd ${WRKSRC}/source/3rdparty/${__prog__}/${SGE_BUILDARCH} && \
+               ${SETENV} ${CONFIGURE_ENV} \
+               SGE_ARCH=`${WRKSRC}/source/dist/util/arch` \
+               ../configure ${CONFIGURE_ARGS} --srcdir=..
+.endfor
+
+do-build:
+       cd ${WRKSRC}/source && ${AIMK} -only-depend
+       cd ${WRKSRC}/source && ${SETENV} ${MAKE_ENV} ./scripts/zerodepend
+       cd ${WRKSRC}/source && ${AIMK} -no-qmake -no-qtcsh depend
+       cd ${WRKSRC}/source && ${AIMK} -secure
+       cd ${WRKSRC}/source && ${AIMK} -man
+
+do-install:
+       ${LN} -fs ${WRKSRC}/source/scripts/distinst ${WRKSRC}/source/scripts/myinst
+       ${MKDIR} ${SGE_ROOT}
+       ${CHOWN} ${SGE_USER} ${SGE_ROOT}
+       ${CHGRP} ${SGE_GROUP} ${SGE_ROOT}
+       cd ${WRKSRC}/source && \
+               ${ECHO} "Y" | ${SETENV} LOCALBASE=${LOCALBASE} SGE_ROOT=${SGE_ROOT} ./scripts/myinst -allall ${SGE_ARCH}
+       cd ${SGE_ROOT} && ${SETENV} SGE_ROOT=${SGE_ROOT} ./util/setfileperm.sh -auto -noresport \
+               ${SGE_USER} ${SGE_GROUP} ${SGE_ROOT}
+       for f in ${SGE_ROOT}/bin/${SGE_ARCH}/q* ; do \
+               cd ${PREFIX}/bin && ${LN} -fs $$f ; done
+
+.include "../../graphics/xpm/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/motif.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+.if ${USE_BUILTIN.openssl} == "yes"
+SSL_PREFIX=    /usr
+.else
+SSL_PREFIX=    ${PKGSRC_SSL_PREFIX}
+.endif
diff -r 0fa5344aa77c -r 86d162086bac parallel/sge/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/sge/PLIST        Mon May 03 00:38:34 2004 +0000
@@ -0,0 +1,399 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/03 00:38:34 dmcmahill Exp $
+bin/qacct
+bin/qalter
+bin/qconf
+bin/qdel
+bin/qhold
+bin/qhost
+bin/qlogin
+bin/qmake
+bin/qmod
+bin/qmon
+bin/qresub
+bin/qrls
+bin/qrsh
+bin/qselect
+bin/qsh
+bin/qstat
+bin/qsub
+bin/qtcsh
+sge/3rd_party/3rd_party_licscopyrights
+sge/3rd_party/qmon/ltree_changed.tar.gz
+sge/README.inst_sgeee
+sge/bin/${SGE_ARCH}/qacct
+sge/bin/${SGE_ARCH}/qalter
+sge/bin/${SGE_ARCH}/qconf
+sge/bin/${SGE_ARCH}/qdel
+sge/bin/${SGE_ARCH}/qhold
+sge/bin/${SGE_ARCH}/qhost
+sge/bin/${SGE_ARCH}/qlogin
+sge/bin/${SGE_ARCH}/qmake
+sge/bin/${SGE_ARCH}/qmod
+sge/bin/${SGE_ARCH}/qmon
+sge/bin/${SGE_ARCH}/qresub
+sge/bin/${SGE_ARCH}/qrls
+sge/bin/${SGE_ARCH}/qrsh
+sge/bin/${SGE_ARCH}/qselect
+sge/bin/${SGE_ARCH}/qsh
+sge/bin/${SGE_ARCH}/qstat
+sge/bin/${SGE_ARCH}/qsub
+sge/bin/${SGE_ARCH}/qtcsh
+sge/bin/${SGE_ARCH}/sge_commd
+sge/bin/${SGE_ARCH}/sge_coshepherd
+sge/bin/${SGE_ARCH}/sge_execd
+sge/bin/${SGE_ARCH}/sge_qmaster
+sge/bin/${SGE_ARCH}/sge_schedd
+sge/bin/${SGE_ARCH}/sge_shadowd
+sge/bin/${SGE_ARCH}/sge_shepherd
+sge/bin/${SGE_ARCH}/sgecommdcntl
+sge/ckpt/README.cpr
+sge/ckpt/README.cray
+sge/ckpt/README.hibernator
+sge/ckpt/checkpoint_command
+sge/ckpt/clean_command
+sge/ckpt/cpr_ckpt_command
+sge/ckpt/cpr_clean_command
+sge/ckpt/cpr_migration_command
+sge/ckpt/cpr_restart_command
+sge/ckpt/cray_ckpt_command
+sge/ckpt/cray_clean_command
+sge/ckpt/cray_jobstatus
+sge/ckpt/cray_migration_command
+sge/ckpt/cray_parse_job_status
+sge/ckpt/cray_restart_command
+sge/ckpt/migration_command
+sge/ckpt/restart_command
+sge/ckpt/sx6_ckpt_command
+sge/ckpt/sx6_clean_command
+sge/ckpt/sx6_migration_command
+sge/ckpt/sx6_restart_command
+sge/doc/INSTALL
+sge/doc/UPGRADE
+sge/doc/arc_depend_irix.asc
+sge/doc/arc_depend_solaris.asc
+sge/doc/load_parameters.asc
+sge/doc/logfile-trimming.asc
+sge/examples/jobs/array_submitter.sh
+sge/examples/jobs/jobnet_submitter.sh
+sge/examples/jobs/pascal.sh
+sge/examples/jobs/pminiworm.sh
+sge/examples/jobs/simple.sh
+sge/examples/jobs/sleeper.sh
+sge/examples/jobs/step_A_array_submitter.sh
+sge/examples/jobs/step_B_array_submitter.sh
+sge/examples/jobs/worker.sh
+sge/examples/jobsbin/${SGE_ARCH}/work
+sge/inst_sge
+sge/inst_sgeee
+sge/install_execd
+sge/install_qmaster
+sge/lib/${SGE_ARCH}/libXltree.so
+sge/man/man1/qacct.1
+sge/man/man1/qalter.1
+sge/man/man1/qconf.1
+sge/man/man1/qdel.1
+sge/man/man1/qhold.1
+sge/man/man1/qhost.1
+sge/man/man1/qlogin.1
+sge/man/man1/qmake.1
+sge/man/man1/qmod.1
+sge/man/man1/qmon.1
+sge/man/man1/qresub.1
+sge/man/man1/qrls.1
+sge/man/man1/qrsh.1
+sge/man/man1/qselect.1
+sge/man/man1/qsh.1
+sge/man/man1/qstat.1
+sge/man/man1/qsub.1
+sge/man/man1/qtcsh.1
+sge/man/man1/sge_ckpt.1
+sge/man/man1/sge_intro.1
+sge/man/man1/submit.1
+sge/man/man5/access_list.5
+sge/man/man5/accounting.5
+sge/man/man5/calendar_conf.5
+sge/man/man5/checkpoint.5
+sge/man/man5/complex.5
+sge/man/man5/host_conf.5
+sge/man/man5/hostgroup.5
+sge/man/man5/project.5
+sge/man/man5/qtask.5
+sge/man/man5/queue_conf.5
+sge/man/man5/sched_conf.5
+sge/man/man5/sge_aliases.5
+sge/man/man5/sge_conf.5



Home | Main Index | Thread Index | Old Index