diff options
Diffstat (limited to 'parallel')
-rw-r--r-- | parallel/openpbs/DESCR | 6 | ||||
-rw-r--r-- | parallel/openpbs/Makefile | 39 | ||||
-rw-r--r-- | parallel/openpbs/PLIST | 180 | ||||
-rw-r--r-- | parallel/openpbs/distinfo | 8 | ||||
-rw-r--r-- | parallel/openpbs/patches/patch-aa | 16 | ||||
-rw-r--r-- | parallel/openpbs/patches/patch-ab | 14 | ||||
-rw-r--r-- | parallel/openpbs/patches/patch-ac | 26 | ||||
-rw-r--r-- | parallel/openpbs/patches/patch-ad | 37 |
8 files changed, 326 insertions, 0 deletions
diff --git a/parallel/openpbs/DESCR b/parallel/openpbs/DESCR new file mode 100644 index 00000000000..e01a1de2a7a --- /dev/null +++ b/parallel/openpbs/DESCR @@ -0,0 +1,6 @@ +The Portable Batch System (PBS) is a flexible batch queueing and +workload management system originally developed for NASA. It operates +on networked, multi-platform UNIX environments, including +heterogeneous clusters of workstations, supercomputers, and massively +parallel systems. Development of PBS is provided by Altair Grid +Technologies. diff --git a/parallel/openpbs/Makefile b/parallel/openpbs/Makefile new file mode 100644 index 00000000000..cce34ff3546 --- /dev/null +++ b/parallel/openpbs/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/07/17 14:19:16 agc Exp $ +# + +DISTNAME= OpenPBS_2_3_16 +PKGNAME= openpbs-2.3.16 +CATEGORIES= parallel sysutils +MASTER_SITES= http://www.openpbs.org/UserArea/Download/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.openpbs.org/ +COMMENT= Generic network queueing system + +INTERACTIVE_STAGE= fetch + +HAS_CONFIGURE= yes +CONFIGURE_ARGS+= --prefix=${PREFIX} +USE_X11= yes +USE_BUILDLINK2= yes + +REPLACE_INTERPRETER+= tcl +_REPLACE.tcl.old= .*/bin/pbs_tclsh +_REPLACE.tcl.new= ${PREFIX}/bin/pbs_tclsh +_REPLACE_FILES.tcl+= src/gui/buildindex.src +_REPLACE_FILES.tcl+= src/tools/xpbsmon/buildindex.src + +REPLACE_INTERPRETER+= tk +_REPLACE.tk.old= .*/bin/wish +_REPLACE.tk.new= ${PREFIX}/bin/wish +_REPLACE_FILES.tk+= src/gui/xpbs.src + +REPLACE_INTERPRETER+= tk2 +_REPLACE.tk2.old= .*/bin/pbs_wish +_REPLACE.tk2.new= ${PREFIX}/bin/pbs_wish +_REPLACE_FILES.tk2+= src/tools/xpbsmon/xpbsmon.src + +_CONFIGURE_POSTREQ+= replace-interpreter + +.include "../../x11/tk/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/parallel/openpbs/PLIST b/parallel/openpbs/PLIST new file mode 100644 index 00000000000..565fd08fcb1 --- /dev/null +++ b/parallel/openpbs/PLIST @@ -0,0 +1,180 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/17 14:19:16 agc Exp $ +bin/chk_tree +bin/hostn +bin/nqs2pbs +bin/pbs_tclsh +bin/pbs_wish +bin/pbsdsh +bin/pbsnodes +bin/printjob +bin/qalter +bin/qdel +bin/qdisable +bin/qenable +bin/qhold +bin/qmgr +bin/qmove +bin/qmsg +bin/qorder +bin/qrerun +bin/qrls +bin/qrun +bin/qselect +bin/qsig +bin/qstart +bin/qstat +bin/qstop +bin/qsub +bin/qterm +bin/tracejob +bin/xpbs +bin/xpbsmon +include/pbs_error.h +include/pbs_ifl.h +include/tm.h +include/tm_.h +lib/libattr.a +lib/libcmds.a +lib/liblog.a +lib/libnet.a +lib/libpbs.a +lib/libsite.a +lib/pbs_sched.a +lib/xpbs/acctname.tk +lib/xpbs/after_depend.tk +lib/xpbs/auto_upd.tk +lib/xpbs/before_depend.tk +lib/xpbs/bin/xpbs_datadump +lib/xpbs/bin/xpbs_scriptload +lib/xpbs/bindings.tk +lib/xpbs/bitmaps/Downarrow.bmp +lib/xpbs/bitmaps/Uparrow.bmp +lib/xpbs/bitmaps/curve_down_arrow.bmp +lib/xpbs/bitmaps/curve_up_arrow.bmp +lib/xpbs/bitmaps/cyclist-only.xbm +lib/xpbs/bitmaps/hourglass.bmp +lib/xpbs/bitmaps/iconize.bmp +lib/xpbs/bitmaps/logo.bmp +lib/xpbs/bitmaps/maximize.bmp +lib/xpbs/bitmaps/sm_down_arrow.bmp +lib/xpbs/bitmaps/sm_up_arrow.bmp +lib/xpbs/box.tk +lib/xpbs/buildindex +lib/xpbs/button.tk +lib/xpbs/checkpoint.tk +lib/xpbs/common.tk +lib/xpbs/concur.tk +lib/xpbs/datetime.tk +lib/xpbs/email_list.tk +lib/xpbs/entry.tk +lib/xpbs/fileselect.tk +lib/xpbs/help/after_depend.hlp +lib/xpbs/help/auto_update.hlp +lib/xpbs/help/before_depend.hlp +lib/xpbs/help/concur.hlp +lib/xpbs/help/datetime.hlp +lib/xpbs/help/delete.hlp +lib/xpbs/help/email.hlp +lib/xpbs/help/fileselect.hlp +lib/xpbs/help/hold.hlp +lib/xpbs/help/main.hlp +lib/xpbs/help/message.hlp +lib/xpbs/help/misc.hlp +lib/xpbs/help/modify.hlp +lib/xpbs/help/move.hlp +lib/xpbs/help/notes.hlp +lib/xpbs/help/preferences.hlp +lib/xpbs/help/release.hlp +lib/xpbs/help/select.acctname.hlp +lib/xpbs/help/select.checkpoint.hlp +lib/xpbs/help/select.hold.hlp +lib/xpbs/help/select.jobname.hlp +lib/xpbs/help/select.owners.hlp +lib/xpbs/help/select.priority.hlp +lib/xpbs/help/select.qtime.hlp +lib/xpbs/help/select.rerun.hlp +lib/xpbs/help/select.resources.hlp +lib/xpbs/help/select.states.hlp +lib/xpbs/help/signal.hlp +lib/xpbs/help/staging.hlp +lib/xpbs/help/submit.hlp +lib/xpbs/help/terminate.hlp +lib/xpbs/help/trackjob.hlp +lib/xpbs/hold.tk +lib/xpbs/jobname.tk +lib/xpbs/listbox.tk +lib/xpbs/main.tk +lib/xpbs/misc.tk +lib/xpbs/owners.tk +lib/xpbs/pbs.tcl +lib/xpbs/pref.tk +lib/xpbs/preferences.tcl +lib/xpbs/prefsave.tk +lib/xpbs/priority.tk +lib/xpbs/qalter.tk +lib/xpbs/qdel.tk +lib/xpbs/qhold.tk +lib/xpbs/qmove.tk +lib/xpbs/qmsg.tk +lib/xpbs/qrls.tk +lib/xpbs/qsig.tk +lib/xpbs/qsub.tk +lib/xpbs/qterm.tk +lib/xpbs/qtime.tk +lib/xpbs/rerun.tk +lib/xpbs/res.tk +lib/xpbs/spinbox.tk +lib/xpbs/staging.tk +lib/xpbs/state.tk +lib/xpbs/tclIndex +lib/xpbs/text.tk +lib/xpbs/trackjob.tk +lib/xpbs/wmgr.tk +lib/xpbs/xpbsrc +lib/xpbsmon/auto_upd.tk +lib/xpbsmon/bindings.tk +lib/xpbsmon/bitmaps/cyclist-only.xbm +lib/xpbsmon/bitmaps/hourglass.bmp +lib/xpbsmon/bitmaps/iconize.bmp +lib/xpbsmon/bitmaps/logo.bmp +lib/xpbsmon/bitmaps/maximize.bmp +lib/xpbsmon/box.tk +lib/xpbsmon/buildindex +lib/xpbsmon/button.tk +lib/xpbsmon/cluster.tk +lib/xpbsmon/color.tk +lib/xpbsmon/common.tk +lib/xpbsmon/dialog.tk +lib/xpbsmon/entry.tk +lib/xpbsmon/expr.tk +lib/xpbsmon/help/auto_update.hlp +lib/xpbsmon/help/main.hlp +lib/xpbsmon/help/notes.hlp +lib/xpbsmon/help/pref.hlp +lib/xpbsmon/help/prefQuery.hlp +lib/xpbsmon/help/prefServer.hlp +lib/xpbsmon/listbox.tk +lib/xpbsmon/main.tk +lib/xpbsmon/node.tk +lib/xpbsmon/pbs.tk +lib/xpbsmon/pref.tk +lib/xpbsmon/preferences.tcl +lib/xpbsmon/prefsave.tk +lib/xpbsmon/spinbox.tk +lib/xpbsmon/system.tk +lib/xpbsmon/tclIndex +lib/xpbsmon/wmgr.tk +lib/xpbsmon/xpbsmonrc +sbin/pbs_demux +sbin/pbs_iff +sbin/pbs_mom +sbin/pbs_rcp +sbin/pbs_sched +sbin/pbs_server +@dirrm lib/xpbsmon/help +@dirrm lib/xpbsmon/bitmaps +@dirrm lib/xpbsmon +@dirrm lib/xpbs/help +@dirrm lib/xpbs/bitmaps +@dirrm lib/xpbs/bin +@dirrm lib/xpbs diff --git a/parallel/openpbs/distinfo b/parallel/openpbs/distinfo new file mode 100644 index 00000000000..f3d76ed50cf --- /dev/null +++ b/parallel/openpbs/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/07/17 14:19:16 agc Exp $ + +SHA1 (OpenPBS_2_3_16.tar.gz) = cd91d3732dc3a035ffbbd51ac045380575c79eae +Size (OpenPBS_2_3_16.tar.gz) = 1307483 bytes +SHA1 (patch-aa) = 53bf36659c5c3e609e081ae243513b46a74c16da +SHA1 (patch-ab) = 0f4acb035de98eaf50705a4b7b64beda008f10a8 +SHA1 (patch-ac) = 50c1183d3734a3a91944fbb262df49cc1855a071 +SHA1 (patch-ad) = 343360019f6ab6a491edad978b38759b99369bb4 diff --git a/parallel/openpbs/patches/patch-aa b/parallel/openpbs/patches/patch-aa new file mode 100644 index 00000000000..a3b632e30c4 --- /dev/null +++ b/parallel/openpbs/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/07/17 14:19:16 agc Exp $ + +--- src/resmom/netbsd/mom_mach.c 2003/07/09 13:17:42 1.1 ++++ src/resmom/netbsd/mom_mach.c 2003/07/09 13:23:18 +@@ -124,7 +124,11 @@ + #include <sys/sysctl.h> + #include <sys/vmmeter.h> + #include <ufs/ufs/quota.h> ++#if __NetBSD_Version__ >= 104240000 /* 1.4X */ ++#include <uvm/uvm_map.h> ++#else + #include <vm/vm_map.h> ++#endif + + #include "portability.h" + #include "pbs_error.h" diff --git a/parallel/openpbs/patches/patch-ab b/parallel/openpbs/patches/patch-ab new file mode 100644 index 00000000000..2f685058bc9 --- /dev/null +++ b/parallel/openpbs/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/07/17 14:19:16 agc Exp $ + +--- src/server/pbsd_init.c 2003/07/09 13:30:00 1.1 ++++ src/server/pbsd_init.c 2003/07/09 13:31:07 +@@ -88,6 +88,9 @@ + #include <pwd.h> + #include <time.h> + #include <unistd.h> ++#ifdef __NetBSD__ ++#include <signal.h> ++#endif + + #include <sys/types.h> + #include <sys/param.h> diff --git a/parallel/openpbs/patches/patch-ac b/parallel/openpbs/patches/patch-ac new file mode 100644 index 00000000000..bd436dc6c8a --- /dev/null +++ b/parallel/openpbs/patches/patch-ac @@ -0,0 +1,26 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/07/17 14:19:16 agc Exp $ + +--- src/gui/Makefile.in 2003/07/17 13:42:27 1.1 ++++ src/gui/Makefile.in 2003/07/17 13:44:32 +@@ -112,10 +112,7 @@ + # + xpbs: $(srcdir)/xpbs.src + @echo Processing xpbs +- @sed -e 's,#\!.*wish.*$$,#\!${WISH_PATH} -f,;' \ +- -e 's,set *libdir.*$$,set libdir $(srcdir),' \ +- -e 's,set *appdefdir.*$$,set appdefdir .,' \ +- $? > $@ ++ cp ${srcdir}/xpbs.src xpbs + @chmod +x $@ + + xpbsrc: $(srcdir)/xpbsrc.src +@@ -126,7 +123,8 @@ + + buildindex: $(srcdir)/buildindex.src + @echo Processing buildindex +- @sed -e 's,#\!.*tclsh.*$$,#\!${TCLSH_PATH},' $? > $@ ++# @sed -e 's,#\!.*tclsh.*$$,#\!${TCLSH_PATH},' $? > $@ ++ cp ${srcdir}/buildindex.src buildindex + @chmod +x $@ + @echo Running buildindex \(locally\) + @./buildindex $(srcdir) . diff --git a/parallel/openpbs/patches/patch-ad b/parallel/openpbs/patches/patch-ad new file mode 100644 index 00000000000..ce85899ca9c --- /dev/null +++ b/parallel/openpbs/patches/patch-ad @@ -0,0 +1,37 @@ +$NetBSD: patch-ad,v 1.1.1.1 2003/07/17 14:19:16 agc Exp $ + +--- src/tools/xpbsmon/Makefile.in 2003/07/17 13:47:50 1.1 ++++ src/tools/xpbsmon/Makefile.in 2003/07/17 13:48:52 +@@ -112,10 +112,7 @@ + # + xpbsmon: $(srcdir)/xpbsmon.src + @echo Processing xpbsmon +- @sed -e 's,#\!.*pbs_wish.*$$,#\!../pbs_wish -f,' \ +- -e 's,set *libdir.*$$,set libdir $(srcdir),' \ +- -e 's,set *appdefdir.*$$,set appdefdir .,' \ +- $? > $@ ++ @cp ${srcdir}/xpbsmon.src xpbsmon + @chmod +x $@ + + xpbsmonrc: $(srcdir)/xpbsmonrc.src +@@ -124,7 +121,7 @@ + + buildindex: $(srcdir)/buildindex.src + @echo Processing buildindex +- @sed 's,#\!.*tclsh.*$$,#\!${TCLSH_PATH},' $? > $@ ++ @cp ${srcdir}/buildindex.src buildindex + @chmod +x $@ + @echo Running buildindex \(locally\) + @./buildindex $(srcdir) . +@@ -151,10 +148,7 @@ + # + # install xpbsmon changing the location of pbs_tclsh and libdir + # +- sed -e 's,#\!.*pbs_wish.*$$,#\!$(PBS_UBIN)/pbs_wish -f,' \ +- -e 's,set *libdir.*$$,set libdir ${XPBSMON_LIB},' \ +- -e 's,set *appdefdir.*$$,set appdefdir ${XPBSMON_LIB},' \ +- xpbsmon > $(bindir)/xpbsmon ++ cp xpbsmon $(bindir)/xpbsmon + chmod 755 $(bindir)/xpbsmon 2> /dev/null + # + $(INSTALL) -m 755 buildindex $(XPBSMON_LIB) |