Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

23
parallel/Makefile Normal file
View File

@@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.21 2012/03/21 20:57:14 asau Exp $
#
COMMENT= Applications dealing with parallelism in computing
SUBDIR+= clusterit
SUBDIR+= dqs
SUBDIR+= ganglia-monitor-core
SUBDIR+= gridscheduler
SUBDIR+= hwloc
SUBDIR+= linda
SUBDIR+= mpi-ch
SUBDIR+= openmpi
SUBDIR+= openpa
SUBDIR+= p5-Parallel-Pvm
SUBDIR+= paexec
SUBDIR+= parallel
SUBDIR+= pvm3
SUBDIR+= sge
SUBDIR+= slurm
SUBDIR+= threadingbuildingblocks
.include "../mk/misc/category.mk"

6
parallel/clusterit/DESCR Normal file
View File

@@ -0,0 +1,6 @@
This is a collection of clustering tools, to turn your ordinary
everyday pile of UNIX workstations into a speedy parallel beast.
Initially this work was based on the work of IBM's PSSP, and copied
heavily from the ideas there. Its also lightly based on the work
pioneered in GLUnix.

View File

@@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.20 2012/09/11 20:36:17 asau Exp $
DISTNAME= clusterit-2.5
PKGREVISION= 1
CATEGORIES= parallel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clusterit/}
MAINTAINER= root@garbled.net
HOMEPAGE= http://clusterit.sourceforge.net/
COMMENT= Clustering package for unix
GNU_CONFIGURE= YES
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

31
parallel/clusterit/PLIST Normal file
View File

@@ -0,0 +1,31 @@
@comment $NetBSD: PLIST,v 1.4 2008/06/07 11:15:59 obache Exp $
bin/barrier
bin/barrierd
bin/clustersed
bin/dsh
bin/dshbak
bin/dtop
bin/dvt
bin/jsd
bin/jsh
bin/pcp
bin/pdf
bin/prm
bin/rseq
bin/run
bin/rvt
man/man1/barrier.1
man/man1/barrierd.1
man/man1/clustersed.1
man/man1/dsh.1
man/man1/dshbak.1
man/man1/dtop.1
man/man1/dvt.1
man/man1/jsd.1
man/man1/jsh.1
man/man1/pcp.1
man/man1/pdf.1
man/man1/prm.1
man/man1/rseq.1
man/man1/run.1
man/man1/rvt.1

View File

@@ -0,0 +1,11 @@
$NetBSD: distinfo,v 1.14 2008/09/19 19:39:22 joerg Exp $
SHA1 (clusterit-2.5.tar.gz) = 65d36116665179dd16029ac53182fde92d868020
RMD160 (clusterit-2.5.tar.gz) = b08f7903bc90375e45a733ef843df3e9bf216bb7
Size (clusterit-2.5.tar.gz) = 295347 bytes
SHA1 (patch-aa) = 15b4db813a8cb91b2c2ac277297fe4394637e804
SHA1 (patch-ab) = 32a8efdbf45226a7ec1a7a190ff7fae9e2bfe2ae
SHA1 (patch-ac) = d3c66a9f8e48fbc0e3471de71d91b7601400f74b
SHA1 (patch-ad) = 01935f2e2e2d308a148c26186e04912ad6c8d88d
SHA1 (patch-ae) = d3cb2da90a7b4ee9d027c4ccd63d549cdbe48a73
SHA1 (patch-af) = d699f909af6af13b492e21907cdb4216664b9169

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-aa,v 1.8 2008/02/27 21:52:16 garbled Exp $
--- common/common.c.orig 2008-02-27 14:35:30.000000000 -0700
+++ common/common.c 2008-02-27 14:37:18.000000000 -0700
@@ -186,7 +186,6 @@
char *clusterfile, *p, *nodename, *q;
int i, j, g, fail, gfail, lumping, n, ging;
char buf[MAXBUF];
- extern int errno;
group_t *grouptemp;
node_t *nodeptr;
char **lumptemp;
@@ -633,8 +632,6 @@
void
_bailout(int line, char *file)
{
- extern int errno;
-
(void)fprintf(stderr, "%s: Failed in %s line %d: %s %d\n",
progname, file, line, strerror(errno), errno);
_exit(EXIT_FAILURE);

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ab,v 1.3 2008/02/27 21:52:16 garbled Exp $
--- dsh/rseq.c.orig 2008-02-27 14:35:38.000000000 -0700
+++ dsh/rseq.c 2008-02-27 14:37:28.000000000 -0700
@@ -48,7 +48,6 @@
#endif
/* externs */
-extern int errno;
void do_command(char **argv, int allrun, char *username);
node_t *check_seq(void);

View File

@@ -0,0 +1,8 @@
--- dsh/run.c.orig 2008-02-27 12:29:38.000000000 -0700
+++ dsh/run.c 2008-02-27 14:49:30.000000000 -0700
@@ -48,5 +48,4 @@
#endif
-extern int errno;
void do_command(char **argv, int allrun, char *username);

View File

@@ -0,0 +1,8 @@
--- pcp/pcp.c.orig 2008-02-27 12:29:47.000000000 -0700
+++ pcp/pcp.c 2008-02-27 14:49:30.000000000 -0700
@@ -51,5 +51,4 @@
#endif
-extern int errno;
void do_copy(char **argv, int recurse, int preserve, char *username);

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ae,v 1.2 2008/02/27 21:52:16 garbled Exp $
--- rvt/command.c.orig 2008-02-27 14:35:55.000000000 -0700
+++ rvt/command.c 2008-02-27 14:37:56.000000000 -0700
@@ -453,7 +453,6 @@
unsigned char *s;
int count, sv;
unsigned char mask = is_eightbit() ? 0xff : 0x7f;
- extern int errno;
if (com_stack_top > com_stack)
return(*--com_stack_top);

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2008/09/19 19:39:22 joerg Exp $
--- dtop/dtop.c.orig 2008-09-19 21:36:01.000000000 +0200
+++ dtop/dtop.c
@@ -102,6 +102,8 @@ void sig_handler(int i);
#define TOP_PROCPS 1
#define TOP_NORMAL_THR 2
+#define dehumanize_number dehumanize_number_local
+
/* globals */
int debug, exclusion, grouping, interval;
int testflag, rshport, porttimeout, batchflag;

7
parallel/dqs/DESCR Normal file
View File

@@ -0,0 +1,7 @@
The Distributed Queueing System is designed as a management tool to
aid in computational resource distribution across a network. DQS
provides architecture transparency for both users and administration
across a heterogeneous environment, allowing for seamless interaction
for multiple architectures. Highly mutable custom site configurations
are possible under DQS. This ability to customize DQS leads to
effective resource distribution and increased network throughput.

12
parallel/dqs/MESSAGE Normal file
View File

@@ -0,0 +1,12 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2004/02/26 22:44:09 abs Exp $
dqs requires three entries in /etc/services on all machine, such as:
dqs_qmaster 2062/tcp
dqs_execd 2063/tcp
dqs_intercell 2064/tcp
It also has hardcoded config path set to /usr/local/DQS/common/conf, which
needs to be shared between all machines. The naming needs to be fixed.
===========================================================================

43
parallel/dqs/Makefile Normal file
View File

@@ -0,0 +1,43 @@
# $NetBSD: Makefile,v 1.11 2010/01/31 21:08:58 zafer Exp $
#
DISTNAME= DQS-3.3.2
PKGNAME= dqs-3.3.2
PKGREVISION= 2
CATEGORIES= parallel
MASTER_SITES= http://www.sfr-fresh.com/unix/misc/old/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://web.archive.org/web/20050305104643/http://www.scri.fsu.edu/~pasko/dqs.html
COMMENT= Distributed queueing system
PKG_DESTDIR_SUPPORT= destdir # needs special permissions handling
WRKSRC= ${WRKDIR}/DQS3
DOCDIR= ${PREFIX}/share/doc/dqs
DOCS= Image16.gif Image17.gif Image18.gif Image19.gif Image20.gif \
Image21.gif Image22.gif Image23.gif InstMaint.html \
Refernce.html UserGuide.html error_msg.htm
EGDIR= ${PREFIX}/share/examples/dqs
# PKG_SYSCONFSUBDIR?=dqs
# CONF_FILES+= ${EGDIR}/conf_file ${PKG_SYSCONFDIR}/conf_file
# CONF_FILES+= ${EGDIR}/key_file ${PKG_SYSCONFDIR}/key_file
# CONF_FILES+= ${EGDIR}/resolve_file ${PKG_SYSCONFDIR}/resolve_file
post-patch:
${ECHO} '#undef DEFAULT_HOST' >> ${WRKSRC}/SRC/dqs.h
pre-configure:
${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/UTIL/config.guess
${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/UTIL/config.sub
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
.for doc in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/DOC/user_guide/${doc} ${DESTDIR}${DOCDIR}
.endfor
.include "../../mk/bsd.pkg.mk"

32
parallel/dqs/PLIST Normal file
View File

@@ -0,0 +1,32 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:10:40 joerg Exp $
bin/PVM_CLEAN
bin/dqs_times332
bin/dqs_execd332
bin/dqs_options332
bin/dqs_random332
bin/dsh332
bin/qalter332
bin/qconf332
bin/qdel332
bin/qhold332
bin/qmaster332
bin/qmod332
bin/qmove332
bin/qrls332
bin/qstat332
bin/qsub332
share/doc/dqs/Image16.gif
share/doc/dqs/Image17.gif
share/doc/dqs/Image18.gif
share/doc/dqs/Image19.gif
share/doc/dqs/Image20.gif
share/doc/dqs/Image21.gif
share/doc/dqs/Image22.gif
share/doc/dqs/Image23.gif
share/doc/dqs/InstMaint.html
share/doc/dqs/Refernce.html
share/doc/dqs/UserGuide.html
share/doc/dqs/error_msg.htm
share/examples/dqs/conf_file
share/examples/dqs/key_file
share/examples/dqs/resolve_file

23
parallel/dqs/distinfo Normal file
View File

@@ -0,0 +1,23 @@
$NetBSD: distinfo,v 1.9 2013/03/28 21:37:23 joerg Exp $
SHA1 (DQS-3.3.2.tgz) = fbb165cc058dcbda8bcfa6dbead78e2f1a4f031e
RMD160 (DQS-3.3.2.tgz) = eb32ef1cd8243b508fbee91710982637de185b7a
Size (DQS-3.3.2.tgz) = 1498996 bytes
SHA1 (patch-SRC_dqs__parse.c) = d25940416e918238a034ac7a663d1ce1fed743fb
SHA1 (patch-SRC_dqs__parse__qconf.c) = 7446f326d433a70c81ee9521e9f69cbb89451f78
SHA1 (patch-SRC_dqs__select__queue.c) = 5a2d7a943bf3d1aa111ce8363380209a640982b9
SHA1 (patch-SRC_dqs__setenv.c) = 2e0fe74fdafd2eafa0097d9d72752226659a930f
SHA1 (patch-SRC_dqs__show.c) = 11c559b3a3272a0b9a76d335e53985b8e61a31df
SHA1 (patch-SRC_dqs__sig__handlers.c) = 335c45fb5cb213ccb141cfee17c6c13fc1778f26
SHA1 (patch-SRC_dqs__utility.c) = 169d92683573739c99215635b9724a1b9763fe71
SHA1 (patch-SRC_func.h) = 1e23b0a3a200487ac3adbc75952494e8e0ec31b7
SHA1 (patch-SRC_qstat.c) = c8c4d5a3383521bb0427ce7ebcbb517bcd37a99d
SHA1 (patch-aa) = f5c4ec9c4be1b55edd82dabfe75445bcf76e62b2
SHA1 (patch-ab) = 8cb54cb86c7558da60ff6fb329ca71a671a0dded
SHA1 (patch-ac) = c72be633789525f73bb0e1415ff7b300b7576e7e
SHA1 (patch-ad) = 6a7116cf60b9d4305257b233f2bc3dbeeddfc069
SHA1 (patch-ae) = f1d1a8a370a65fcbd3144224387423bb46ed6054
SHA1 (patch-af) = 41081707b3b4cbb2a5cd78adcd983f029362389e
SHA1 (patch-ag) = 76a7c43036a5be2952a1822e0871bc3dabb8806c
SHA1 (patch-ah) = 8d1a43c595981e0f148f44a3f5edb5368f18b5cb
SHA1 (patch-ai) = 4f149830147bac0aaded8f1aa7430336e73531c2

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-SRC_dqs__parse.c,v 1.1 2013/03/28 21:37:23 joerg Exp $
--- SRC/dqs_parse.c.orig 2000-10-01 23:57:33.000000000 +0000
+++ SRC/dqs_parse.c
@@ -2837,9 +2837,7 @@ void dqs_parse_user_list(head,user_str)
/***************************************************************************/
-void *dqs_get_env_list(head,envp)
- dqs_list_type **head;
- char **envp;
+void dqs_get_env_list(dqs_list_type **head, char **envp)
/*
str0 = env_name

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-SRC_dqs__parse__qconf.c,v 1.1 2013/03/28 21:37:23 joerg Exp $
--- SRC/dqs_parse_qconf.c.orig 2013-03-28 16:17:09.000000000 +0000
+++ SRC/dqs_parse_qconf.c
@@ -1200,11 +1200,7 @@ dqs_list_type *dqs_parse_qconf(argv_head
}
/***********************************************************************/
-void *dqs_parse_destination_id_list(head,cp,opt)
- dqs_list_type **head;
- char *cp;
- int opt;
-
+void dqs_parse_destination_id_list(dqs_list_type **head, char *cp, int opt)
{
dqs_list_type listel;

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-SRC_dqs__select__queue.c,v 1.1 2013/03/28 21:37:23 joerg Exp $
--- SRC/dqs_select_queue.c.orig 2013-03-28 16:10:42.000000000 +0000
+++ SRC/dqs_select_queue.c
@@ -1054,8 +1054,7 @@ int dqs_return_consumable(job, cname, a
/************************************************************/
-int dqs_reset_consumable(cname)
- char *cname;
+void dqs_reset_consumable(char *cname)
{
dqs_list_type *cons_lp;
dqs_list_type *cp;

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-SRC_dqs__setenv.c,v 1.1 2013/03/28 21:37:23 joerg Exp $
--- SRC/dqs_setenv.c.orig 2013-03-28 16:20:07.000000000 +0000
+++ SRC/dqs_setenv.c
@@ -70,11 +70,7 @@ static char dqs_setenv_rcsid[]="$Id: dqs
extern char **environ;
/*****************************************************************************/
-int dqs_setenv(name,value,overwrite)
- char *name;
- char *value;
- int overwrite;
-
+void dqs_setenv(char *name, char *value, int overwrite)
{
int i = 0;
int varlen;

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-SRC_dqs__show.c,v 1.1 2013/03/28 21:37:23 joerg Exp $
--- SRC/dqs_show.c.orig 2013-03-28 16:22:14.000000000 +0000
+++ SRC/dqs_show.c
@@ -46,9 +46,7 @@ static char dqs_show_rcsid[]="$Id: dqs_s
#include "dqs_errno.h"
/************************************************************************/
-int dqs_show_qstat_request(job)
- dqs_job_type *job;
-
+void dqs_show_qstat_request(dqs_job_type *job)
{
int i;

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-SRC_dqs__sig__handlers.c,v 1.1 2013/03/28 21:37:23 joerg Exp $
--- SRC/dqs_sig_handlers.c.orig 2013-03-28 16:19:11.000000000 +0000
+++ SRC/dqs_sig_handlers.c
@@ -351,7 +351,7 @@ void dqs_reap()
}
/************************************************************************************/
-int dqs_reap_children()
+void dqs_reap_children(void)
/*
several things have to be done here

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-SRC_dqs__utility.c,v 1.1 2013/03/28 21:37:24 joerg Exp $
--- SRC/dqs_utility.c.orig 2013-03-28 16:13:40.000000000 +0000
+++ SRC/dqs_utility.c
@@ -2025,8 +2025,7 @@ void dqs_show_states(how,states)
}
/************************************************************************/
-int dqs_show_queue_states(state)
- int state;
+void dqs_show_queue_states(int state)
{
DENTER_EXT((DQS_EVENT,"dqs_show_queue_states"));

View File

@@ -0,0 +1,85 @@
$NetBSD: patch-SRC_func.h,v 1.1 2013/03/28 21:37:24 joerg Exp $
--- SRC/func.h.orig 2013-03-28 16:11:01.000000000 +0000
+++ SRC/func.h
@@ -185,7 +185,7 @@ int dqs_return_consumable (dqs_job_type
#ifdef NO_PROTO
int dqs_reset_consumable ();
#else
-int dqs_reset_consumable (char *cname);
+void dqs_reset_consumable (char *cname);
#endif
#ifdef NO_PROTO
int dqs_validate_resources ();
@@ -568,9 +568,9 @@ void dqs_parse_user_list ();
void dqs_parse_user_list (dqs_list_type **head, char *user_str);
#endif
#ifdef NO_PROTO
-void * dqs_get_env_list ();
+void dqs_get_env_list ();
#else
-void * dqs_get_env_list (dqs_list_type **head, char **envp);
+void dqs_get_env_list (dqs_list_type **head, char **envp);
#endif
#ifdef NO_PROTO
void dqs_parse_destination_identifier_list ();
@@ -843,9 +843,9 @@ void dqs_show_states ();
void dqs_show_states (u_long32 how, u_long32 states);
#endif
#ifdef NO_PROTO
-int dqs_show_queue_states ();
+void dqs_show_queue_states ();
#else
-int dqs_show_queue_states (int state);
+void dqs_show_queue_states (int state);
#endif
#ifdef NO_PROTO
u_long32 dqs_get_gmt ();
@@ -1103,9 +1103,9 @@ dqs_list_type * dqs_parse_qconf ();
dqs_list_type * dqs_parse_qconf (dqs_list_type *argv_head, char **envp);
#endif
#ifdef NO_PROTO
-void * dqs_parse_destination_id_list ();
+void dqs_parse_destination_id_list ();
#else
-void * dqs_parse_destination_id_list (dqs_list_type **head, char *cp, int opt);
+void dqs_parse_destination_id_list (dqs_list_type **head, char *cp, int opt);
#endif
#ifdef NO_PROTO
void dqs_parse_name_list ();
@@ -1198,9 +1198,9 @@ void dqs_reap ();
void dqs_reap ();
#endif
#ifdef NO_PROTO
-int dqs_reap_children ();
+void dqs_reap_children ();
#else
-int dqs_reap_children ();
+void dqs_reap_children (void);
#endif
#ifdef NO_PROTO
void dqs_c_qconf ();
@@ -1288,9 +1288,9 @@ int dqs_exec_mail ();
int dqs_exec_mail (dqs_queue_type *qconf, dqs_job_type *job, int tag, string str);
#endif
#ifdef NO_PROTO
-int dqs_setenv ();
+void dqs_setenv ();
#else
-int dqs_setenv (char *name, char *value, int overwrite);
+void dqs_setenv (char *name, char *value, int overwrite);
#endif
#ifdef NO_PROTO
int dqs_reauth ();
@@ -1343,9 +1343,9 @@ void dqs_get_passwd_info ();
void dqs_get_passwd_info (dqs_job_type *job);
#endif
#ifdef NO_PROTO
-int dqs_show_qstat_request ();
+void dqs_show_qstat_request ();
#else
-int dqs_show_qstat_request (dqs_job_type *job);
+void dqs_show_qstat_request (dqs_job_type *job);
#endif
#ifdef NO_PROTO
void dqs_job_exit ();

View File

@@ -0,0 +1,40 @@
$NetBSD: patch-SRC_qstat.c,v 1.1 2013/03/28 21:37:24 joerg Exp $
--- SRC/qstat.c.orig 2013-03-28 16:23:29.000000000 +0000
+++ SRC/qstat.c
@@ -114,6 +114,9 @@ char *dqs_ctime();
#include "globals.h"
#include "dqs_errno.h"
+static void dqs_print_job(dqs_job_type *qstat_conf, char *master, dqs_job_type *job, string qname);
+static void dqs_qstat_print_queue(dqs_job_type *qstat_conf, dqs_queue_type *q);
+
int q_suitability=0;
int j_suitability=0;
int l_suitability=0;
@@ -375,10 +378,7 @@ main(argc, argv,envp)
}
/***************************************************************************/
-int dqs_qstat_print_queue(qstat_conf,q)
- dqs_job_type *qstat_conf;
- dqs_queue_type *q;
-
+static void dqs_qstat_print_queue(dqs_job_type *qstat_conf, dqs_queue_type *q)
{
float load_avg;
@@ -437,12 +437,7 @@ int dqs_qstat_print_queue(qstat_conf,q)
}
/***************************************************************************/
-int dqs_print_job(qstat_conf,master,job, qname)
- dqs_job_type *qstat_conf;
- char *master;
- dqs_job_type *job;
- string qname;
-
+static void dqs_print_job(dqs_job_type *qstat_conf, char *master, dqs_job_type *job, string qname)
{
dqs_list_type *lp3;
string job_name;

View File

@@ -0,0 +1,66 @@
$NetBSD: patch-aa,v 1.2 2009/12/10 21:19:16 asau Exp $
--- Makefile.orig 1998-10-21 21:39:14.000000000 +0400
+++ Makefile 2009-12-10 03:53:59.000000000 +0300
@@ -1,10 +1,10 @@
-INSTALL_DIR=/usr/local/DQS/bin
-BIN_DIR=/usr/local/DQS/bin
-CONF_DIR=/usr/local/DQS/common/conf
-DOC_DIR=/usr/local/DQS/common/doc
-LIB_DIR=/usr/local/DQS/local/lib
-MAN1_DIR=/usr/local/DQS/man/man1
-MAN3_DIR=/usr/local/DQS/man/man3
+INSTALL_DIR=${PREFIX}/bin
+BIN_DIR=${PREFIX}/bin
+CONF_DIR=${PREFIX}/share/examples/dqs
+DOC_DIR=${PREFIX}/share/doc
+LIB_DIR=${PREFIX}/lib
+MAN1_DIR=${PREFIX}/man/man1
+MAN3_DIR=${PREFIX}/man/man3
ROOT=0
DQS_ROOT=0
SYSGRP=0
@@ -17,17 +17,17 @@
# sets up an arc dependant subdirectory under DQS/ARCS
# ans builds the default distribution
-default :
+all default :
UTIL/make_arcs make CC=$(CC) -f Makefile
#******************************************************
# dirs - Make Install Directories
dirs:
- -mkdir -p $(INSTALL_DIR) $(ARC_DIR) $(BIN_DIR)
- -mkdir -p $(DOC_DIR) $(LIB_DIR) $(MAN1_DIR) $(MAN3_DIR)
- -mkdir -p $(CONF_DIR)
- -chmod 755 $(CONF_DIR)
+ -mkdir -p $(DESTDIR)$(INSTALL_DIR) $(DESTDIR)$(ARC_DIR) $(DESTDIR)$(BIN_DIR)
+ -mkdir -p $(DESTDIR)$(DOC_DIR) $(DESTDIR)$(LIB_DIR) $(DESTDIR)$(MAN1_DIR) $(DESTDIR)$(MAN3_DIR)
+ -mkdir -p $(DESTDIR)$(CONF_DIR)
+ -chmod 755 $(DESTDIR)$(CONF_DIR)
#******************************************************
# config - Configure DQS
@@ -67,16 +67,16 @@
installconf: dirs
UTIL/install -o $(DQS_ROOT) -g $(DQS_SYSGRP) \
- -m 744 SRC/conf_file $(CONF_DIR)/conf_file
+ -m 744 SRC/conf_file $(DESTDIR)$(CONF_DIR)/conf_file
UTIL/install -o $(DQS_ROOT) -g $(DQS_SYSGRP) \
- -m 744 SRC/resolve_file $(CONF_DIR)/resolve_file
+ -m 744 SRC/resolve_file $(DESTDIR)$(CONF_DIR)/resolve_file
UTIL/install -o $(DQS_ROOT) -g $(DQS_SYSGRP) \
- -m 700 SRC/key_file $(CONF_DIR)/key_file
+ -m 700 SRC/key_file $(DESTDIR)$(CONF_DIR)/key_file
#******************************************************
# installall
-installall: installbin installconf
+install: installbin installconf
#******************************************************

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ab,v 1.2 2006/06/04 12:57:11 joerg Exp $
--- SRC/globals.h.orig 2000-12-12 07:24:12.000000000 +0000
+++ SRC/globals.h
@@ -245,8 +245,7 @@ static char globals_rcsid[]="$Id: global
*
*--------------------------------------------------*/
-extern int errno;
-#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2)
+#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2) && !defined(__NetBSD__) && !defined(__DragonFly__)
extern char *sys_errlist[];
#endif
#ifdef MAINPROGRAM

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ac,v 1.3 2005/07/08 19:46:59 kristerw Exp $
--- SRC/dqs_exec_job.c.orig 2000-10-02 01:56:25.000000000 +0200
+++ SRC/dqs_exec_job.c 2005-07-08 21:37:31.000000000 +0200
@@ -274,11 +274,6 @@
#include "dqs_errno.h"
#include <errno.h>
-extern int errno, sys_nerr;
-/*Patch from Curtis Janssen*/
-#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >= 2) && !(defined(__FreeBSD__) && defined(__GNUC__) && __GNUC__ >= 2)
-extern char *sys_errlist[];
-#endif
FILE *dbf2;

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ad,v 1.2 2006/06/04 12:57:11 joerg Exp $
--- SRC/h.h.orig Fri Jul 25 23:21:58 2003
+++ SRC/h.h Fri Jul 25 23:24:06 2003
@@ -195,7 +195,7 @@
#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >= 2)
#include <nlist.h>
#endif
-#if ( defined(i386) || defined(__MACH__) || defined(sun) || defined(solaris) || defined (SOLARIS23) || defined (SOLARIS24) || defined (SOLARIS25) || defined(NeXT) )
+#if ( defined(i386) || defined(__MACH__) || defined(sun) || defined(solaris) || defined (SOLARIS23) || defined (SOLARIS24) || defined (SOLARIS25) || defined(NeXT) || defined(__NetBSD__) || defined(__DragonFly__))
/* empty */
#else
#include <sys/sysinfo.h>

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ae,v 1.2 2006/06/04 12:57:11 joerg Exp $
--- SRC/def.h.orig Fri Jul 25 23:22:18 2003
+++ SRC/def.h Fri Jul 25 23:26:14 2003
@@ -753,7 +753,7 @@
/* GETPGRP - get a process group */
-#if (defined(__sgi) || defined(__convex__) || defined(_AIX) || defined(i386) || defined (SVR3) || defined (__osf__) || defined(solaris)|| defined(SOLARIS23_UP) )
+#if (defined(__sgi) || defined(__convex__) || defined(_AIX) || defined(i386) || defined (SVR3) || defined (__osf__) || defined(solaris)|| defined(SOLARIS23_UP) || defined(__NetBSD__) || defined(__DragonFly__))
#define GETPGRP getpgrp()
#else
#define GETPGRP getpgrp(getpid())

View File

@@ -0,0 +1,30 @@
$NetBSD: patch-af,v 1.3 2006/06/04 12:57:11 joerg Exp $
--- SRC/Makefile.orig 1999-07-02 17:06:53.000000000 +0200
+++ SRC/Makefile
@@ -115,7 +115,7 @@ all :
rm -f Makefile.c
cp $(PROTO) Makefile.c
echo "#define `../UTIL/config.guess 1`" | sed s/\\./_/g | sed s/-/_/g > Makefile.h
- $(CC) -E Makefile.c | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ
+ $(CC) -traditional -E Makefile.c | sed 's/ / /g' | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ
# rm -f Makefile.c
@$(MAKE) -f Makefile.typ $@
@@ -123,14 +123,14 @@ clean :
rm -f Makefile.c
cp $(PROTO) Makefile.c
echo "#define `../UTIL/config.guess 1`" | sed s/\\./_/g | sed s/-/_/g > Makefile.h
- $(CC) -E Makefile.c | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ
+ $(CC) -traditional -E Makefile.c | sed 's/ / /g' | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ
@$(MAKE) -f Makefile.typ $@
.DEFAULT :
rm -f Makefile.c
cp $(PROTO) Makefile.c
echo "#define `../UTIL/config.guess`" | sed s/\\./_/g | sed s/-/_/g > Makefile.h
- $(CC) -E Makefile.c | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ
+ $(CC) -traditional -E Makefile.c | sed 's/ / /g' | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ
# rm -f Makefile.c
@$(MAKE) -f Makefile.typ $@

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1 2006/06/04 12:57:11 joerg Exp $
--- SRC/dqs_mail.c.orig 2006-06-04 12:40:25.000000000 +0000
+++ SRC/dqs_mail.c
@@ -74,7 +74,7 @@ static char dqs_mail_rcsid[]="$Id: dqs_m
#include "struct.h"
#include "func.h"
#include "globals.h"
-#include <sys/errno.h>
+#include <errno.h>
#include "dqs_errno.h"
/************************************************************/

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ah,v 1.1 2006/06/04 12:57:11 joerg Exp $
--- tools/actf.c.orig 2006-06-04 12:40:42.000000000 +0000
+++ tools/actf.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
-#include <sys/errno.h>
+#include <errno.h>
FILE *f;
FILE *of;

View File

@@ -0,0 +1,124 @@
$NetBSD: patch-ai,v 1.1 2009/12/10 21:19:16 asau Exp $
Staged installation (DESTDIR) support.
--- SRC/Makefile.proto.orig 2000-12-11 06:02:19.000000000 +0300
+++ SRC/Makefile.proto 2009-12-10 04:08:35.000000000 +0300
@@ -764,75 +764,75 @@
-rm -f $(BIN_DIR)/QMASTER_BIN $(BIN_DIR)/DSH_BIN
-rm -f $(BIN_DIR)/PVM_CLEAN
-installbin:: $(BIN_DIR)/QMASTER_BIN $(BIN_DIR)/QSUB_BIN $(BIN_DIR)/QSTAT_BIN
+installbin:: $(DESTDIR)$(BIN_DIR)/QMASTER_BIN $(DESTDIR)$(BIN_DIR)/QSUB_BIN $(DESTDIR)$(BIN_DIR)/QSTAT_BIN
-installbin:: $(BIN_DIR)/DQS_EXECD_BIN $(BIN_DIR)/QDEL_BIN $(BIN_DIR)/QCONF_BIN
+installbin:: $(DESTDIR)$(BIN_DIR)/DQS_EXECD_BIN $(DESTDIR)$(BIN_DIR)/QDEL_BIN $(DESTDIR)$(BIN_DIR)/QCONF_BIN
-installbin:: $(BIN_DIR)/QMOD_BIN $(BIN_DIR)/DQS_OPTIONS_BIN $(BIN_DIR)/QALTER_BIN
+installbin:: $(DESTDIR)$(BIN_DIR)/QMOD_BIN $(DESTDIR)$(BIN_DIR)/DQS_OPTIONS_BIN $(DESTDIR)$(BIN_DIR)/QALTER_BIN
-installbin:: $(BIN_DIR)/DSH_BIN $(BIN_DIR)/DQS_RANDOM_BIN $(BIN_DIR)/DQS_TIMES_BIN
+installbin:: $(DESTDIR)$(BIN_DIR)/DSH_BIN $(DESTDIR)$(BIN_DIR)/DQS_RANDOM_BIN $(DESTDIR)$(BIN_DIR)/DQS_TIMES_BIN
-installbin:: $(BIN_DIR)/QHOLD_BIN $(BIN_DIR)/QRLS_BIN $(BIN_DIR)/QMOVE_BIN $(BIN_DIR)/PVM_CLEAN
+installbin:: $(DESTDIR)$(BIN_DIR)/QHOLD_BIN $(DESTDIR)$(BIN_DIR)/QRLS_BIN $(DESTDIR)$(BIN_DIR)/QMOVE_BIN $(DESTDIR)$(BIN_DIR)/PVM_CLEAN
-installlib:: $(LIB_DIR)/dqs_ckpt.a
+installlib:: $(DESTDIR)$(LIB_DIR)/dqs_ckpt.a
wc :
wc -l $(LSRC) $(MSRC) $(HDRS) Makefile Makefile.proto
-$(BIN_DIR)/QACCT_BIN: qacct
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 755 qacct $(BIN_DIR)/QACCT_BIN
+$(DESTDIR)$(BIN_DIR)/QACCT_BIN: qacct
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 755 qacct $(DESTDIR)$(BIN_DIR)/QACCT_BIN
-$(BIN_DIR)/QALTER_BIN: qalter
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qalter $(BIN_DIR)/QALTER_BIN
+$(DESTDIR)$(BIN_DIR)/QALTER_BIN: qalter
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qalter $(DESTDIR)$(BIN_DIR)/QALTER_BIN
-$(BIN_DIR)/QMASTER_BIN: qmaster
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0700 qmaster $(BIN_DIR)/QMASTER_BIN
+$(DESTDIR)$(BIN_DIR)/QMASTER_BIN: qmaster
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0700 qmaster $(DESTDIR)$(BIN_DIR)/QMASTER_BIN
-$(BIN_DIR)/QHOLD_BIN: qhold
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qhold $(BIN_DIR)/QHOLD_BIN
+$(DESTDIR)$(BIN_DIR)/QHOLD_BIN: qhold
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qhold $(DESTDIR)$(BIN_DIR)/QHOLD_BIN
-$(BIN_DIR)/QRLS_BIN: qrls
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qrls $(BIN_DIR)/QRLS_BIN
+$(DESTDIR)$(BIN_DIR)/QRLS_BIN: qrls
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qrls $(DESTDIR)$(BIN_DIR)/QRLS_BIN
-$(BIN_DIR)/QSUB_BIN: qsub
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qsub $(BIN_DIR)/QSUB_BIN
+$(DESTDIR)$(BIN_DIR)/QSUB_BIN: qsub
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qsub $(DESTDIR)$(BIN_DIR)/QSUB_BIN
-$(BIN_DIR)/QSTAT_BIN: qstat
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qstat $(BIN_DIR)/QSTAT_BIN
+$(DESTDIR)$(BIN_DIR)/QSTAT_BIN: qstat
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qstat $(DESTDIR)$(BIN_DIR)/QSTAT_BIN
-$(BIN_DIR)/QCONF_BIN: qconf
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qconf $(BIN_DIR)/QCONF_BIN
+$(DESTDIR)$(BIN_DIR)/QCONF_BIN: qconf
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qconf $(DESTDIR)$(BIN_DIR)/QCONF_BIN
-$(BIN_DIR)/DQS_EXECD_BIN: dqs_execd
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0755 dqs_execd $(BIN_DIR)/DQS_EXECD_BIN
+$(DESTDIR)$(BIN_DIR)/DQS_EXECD_BIN: dqs_execd
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0755 dqs_execd $(DESTDIR)$(BIN_DIR)/DQS_EXECD_BIN
-$(BIN_DIR)/PVM_CLEAN: ../UTIL/pvmcleanup.sh
+$(DESTDIR)$(BIN_DIR)/PVM_CLEAN: ../UTIL/pvmcleanup.sh
cp ../UTIL/pvmcleanup.sh .
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0755 pvmcleanup.sh $(BIN_DIR)/PVM_CLEAN
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0755 pvmcleanup.sh $(DESTDIR)$(BIN_DIR)/PVM_CLEAN
-$(BIN_DIR)/DSH_BIN: dsh
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 dsh $(BIN_DIR)/DSH_BIN
+$(DESTDIR)$(BIN_DIR)/DSH_BIN: dsh
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 dsh $(DESTDIR)$(BIN_DIR)/DSH_BIN
-$(BIN_DIR)/QMOD_BIN: qmod
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qmod $(BIN_DIR)/QMOD_BIN
+$(DESTDIR)$(BIN_DIR)/QMOD_BIN: qmod
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qmod $(DESTDIR)$(BIN_DIR)/QMOD_BIN
-$(BIN_DIR)/QDEL_BIN: qdel
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qdel $(BIN_DIR)/QDEL_BIN
+$(DESTDIR)$(BIN_DIR)/QDEL_BIN: qdel
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qdel $(DESTDIR)$(BIN_DIR)/QDEL_BIN
-$(BIN_DIR)/QMOVE_BIN: qmove
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qmove $(BIN_DIR)/QMOVE_BIN
+$(DESTDIR)$(BIN_DIR)/QMOVE_BIN: qmove
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 qmove $(DESTDIR)$(BIN_DIR)/QMOVE_BIN
-$(BIN_DIR)/DQS_OPTIONS_BIN: dqs_options
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 dqs_options $(BIN_DIR)/DQS_OPTIONS_BIN
+$(DESTDIR)$(BIN_DIR)/DQS_OPTIONS_BIN: dqs_options
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 4755 dqs_options $(DESTDIR)$(BIN_DIR)/DQS_OPTIONS_BIN
-$(BIN_DIR)/DQS_RANDOM_BIN: dqs_random
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0755 dqs_random $(BIN_DIR)/DQS_RANDOM_BIN
+$(DESTDIR)$(BIN_DIR)/DQS_RANDOM_BIN: dqs_random
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0755 dqs_random $(DESTDIR)$(BIN_DIR)/DQS_RANDOM_BIN
-$(BIN_DIR)/DQS_TIMES_BIN:
- $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0755 $(SDIR)/dqs_times $(BIN_DIR)/DQS_TIMES_BIN
+$(DESTDIR)$(BIN_DIR)/DQS_TIMES_BIN:
+ $(INSTALL) -o $(DQS_ROOT) -g $(DQS_SYSGRP) -m 0755 $(SDIR)/dqs_times $(DESTDIR)$(BIN_DIR)/DQS_TIMES_BIN
-$(LIB_DIR)/dqs_ckpt.a: dqs_ckpt.a
- $(INSTALL) -o $(ROOT) -g $(SYSGRP) -m 644 dqs_ckpt.a $(LIB_DIR)/dqs_ckpt.a
+$(DESTDIR)$(LIB_DIR)/dqs_ckpt.a: dqs_ckpt.a
+ $(INSTALL) -o $(ROOT) -g $(SYSGRP) -m 644 dqs_ckpt.a $(DESTDIR)$(LIB_DIR)/dqs_ckpt.a
/*************************************************************************/

View File

@@ -0,0 +1,17 @@
Ganglia is a scalable distributed monitoring system for high-performance
computing systems such as clusters and Grids. It is based on a hierarchical
design targeted at federations of clusters. It relies on a multicast-based
listen/announce protocol to monitor state within clusters and uses a tree of
point-to-point connections amongst representative cluster nodes to federate
clusters and aggregate their state. It leverages widely used technologies such
as XML for data representation, XDR for compact, portable data transport, and
RRDtool for data storage and visualization. It uses carefully engineered data
structures and algorithms to achieve very low per-node overheads and high
concurrency. The implementation is robust, has been ported to an extensive set
of operating systems and processor architectures, and is currently in use on
over 500 clusters around the world. It has been used to link clusters across
university campuses and around the world and can scale to handle clusters with
2000 nodes.
You may wish to install www/ganglia-webfrontend to monitor your systems via
the web.

View File

@@ -0,0 +1,76 @@
# $NetBSD: Makefile,v 1.48 2013/06/16 23:51:51 asau Exp $
#
DISTNAME= ganglia-3.1.2
PKGNAME= ganglia-monitor-core-3.1.2
PKGREVISION= 20
CATEGORIES= net parallel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ganglia.sourceforge.net/
COMMENT= Ganglia cluster monitor, monitoring daemon
GNU_CONFIGURE= yes
SET_LIBDIR= yes
CONFIGURE_ARGS+= --with-gmetad
USE_LIBTOOL= yes
USE_LANGUAGES+= c c++ c99
PLIST_VARS+= python
PKG_OPTIONS_VAR= PKG_OPTIONS.ganglia
PKG_SUPPORTED_OPTIONS= python # Gmond support for python modules
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpython)
CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
PLIST.python= yes
.include "../../lang/python/application.mk"
.else
CONFIGURE_ARGS+= --disable-python
.endif
SUBST_CLASSES+= pkg_sysconfdir
SUBST_STAGE.pkg_sysconfdir= pre-configure
SUBST_MESSAGE.pkg_sysconfdir= Fixing PKG_SYSCONFDIR
SUBST_FILES.pkg_sysconfdir= ganglia.html \
gmetad/cmdline.c gmetad/cmdline.h \
gmetric/cmdline.c gmetric/cmdline.h \
gmond/cmdline.c gmond/cmdline.h \
gmond/g25_config.h gmond/gmond.conf.5 \
gmond/modules/conf.d/modpython.conf \
gmond/modules/conf.d/modpython.conf.in \
gmond/modules/python/README.in \
mans/gmetad.1 mans/gmetric.1 mans/gmond.1
SUBST_SED.pkg_sysconfdir+= -e 's,/etc/ganglia,${PKG_SYSCONFDIR},g'
SUBST_SED.pkg_sysconfdir+= -e 's,/usr/lib/ganglia,${PREFIX}/lib/ganglia,g'
DOCDIR= ${PREFIX}/share/doc/ganglia
EGDIR= ${PREFIX}/share/examples/ganglia
CONF_FILES= ${EGDIR}/gmond.conf ${PKG_SYSCONFDIR}/gmond.conf
CONF_FILES+= ${EGDIR}/gmetad.conf ${PKG_SYSCONFDIR}/gmetad.conf
RCD_SCRIPTS= gmond gmetad
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
post-install:
${INSTALL_MAN} ${WRKSRC}/mans/gmetad.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_MAN} ${WRKSRC}/mans/gmetric.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_MAN} ${WRKSRC}/mans/gmond.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_MAN} ${WRKSRC}/mans/gstat.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_MAN} ${WRKSRC}/gmond/gmond.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/
${INSTALL_DATA} ${WRKSRC}/gmetad/gmetad.conf ${DESTDIR}${EGDIR}/
${WRKSRC}/gmond/gmond -t > ${DESTDIR}${EGDIR}/gmond.conf
${INSTALL_DATA} ${WRKSRC}/gmond/modules/python/README ${DESTDIR}${DOCDIR}/
.include "../../databases/rrdtool/buildlink3.mk"
.include "../../devel/apr/buildlink3.mk"
.include "../../devel/confuse/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,33 @@
@comment $NetBSD: PLIST,v 1.5 2009/11/10 14:55:17 brook Exp $
bin/ganglia-config
bin/gmetric
bin/gstat
include/ganglia.h
include/ganglia_gexec.h
include/gm_metric.h
include/gm_mmn.h
include/gm_msg.h
include/gm_protocol.h
include/gm_value.h
lib/ganglia/modcpu.so
lib/ganglia/moddisk.so
lib/ganglia/modload.so
lib/ganglia/modmem.so
lib/ganglia/modmulticpu.so
lib/ganglia/modnet.so
lib/ganglia/modproc.so
${PLIST.python}lib/ganglia/modpython.so
lib/ganglia/modsys.so
lib/libganglia.la
man/man1/gmetad.1
man/man1/gmetric.1
man/man1/gmond.1
man/man1/gstat.1
man/man5/gmond.conf.5
sbin/gmetad
sbin/gmond
share/doc/ganglia/README
share/examples/ganglia/gmetad.conf
share/examples/ganglia/gmond.conf
share/examples/rc.d/gmetad
share/examples/rc.d/gmond

View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.12 2013/02/26 11:01:32 joerg Exp $
SHA1 (ganglia-3.1.2.tar.gz) = be5db246eb755d8c450140d1c80afef4f1179fe1
RMD160 (ganglia-3.1.2.tar.gz) = 1f78cf1019759e12c3c65901fd74ac65dfddf4e3
Size (ganglia-3.1.2.tar.gz) = 1213196 bytes
SHA1 (patch-aa) = e258e4efb1ae012db51901de87e614cede78812c
SHA1 (patch-ab) = 260a78711c2c7f1111ce8c4b0d54d2edd60dde08
SHA1 (patch-ac) = a7d4251eed047cb6ffb89c23d87b0db1dbe7b5f4
SHA1 (patch-lib__gm_protocol_dr.c) = 9d17d79bb1a6426a2547c00006819483aff47363

View File

@@ -0,0 +1,45 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: gmetad.sh,v 1.1 2007/09/16 10:29:53 joerg Exp $
#
# PROVIDE: gmetad
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# You will need to set some variables in /etc/rc.conf to start gmetad:
#
# gmetad=YES
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="gmetad"
rcvar=$name
command="@PREFIX@/sbin/gmetad"
required_files="@PKG_SYSCONFDIR@/gmetad.conf"
start_cmd="gmetad_start"
stop_cmd="gmetad_stop"
restart_cmd="gmetad_stop ; gmetad_start"
gmetad_start ()
{
# gmetad/process_xml.c 1060 re-releases a lock, claiming it's
# ``required under certain errors''
export PTHREAD_DIAGASSERT=A
${command}
}
gmetad_stop()
{
pkill ${name} 2>/dev/null
}
if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]
then
load_rc_config $name
run_rc_command "$1"
else
eval ${start_cmd}
fi

View File

@@ -0,0 +1,42 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: gmond.sh,v 1.1 2007/09/16 10:29:53 joerg Exp $
#
# PROVIDE: gmond
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# You will need to set some variables in /etc/rc.conf to start gmond:
#
# gmond=YES
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="gmond"
rcvar=$name
command="@PREFIX@/sbin/gmond"
required_files="@PKG_SYSCONFDIR@/gmond.conf"
start_cmd="gmond_start"
stop_cmd="gmond_stop"
restart_cmd="gmond_stop ; gmond_start"
gmond_start ()
{
${command}
}
gmond_stop()
{
pkill ${name} 2>/dev/null
}
if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]
then
load_rc_config $name
run_rc_command "$1"
else
eval ${start_cmd}
fi

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.4 2009/11/10 14:55:18 brook Exp $
--- gmetad/conf.c.orig 2009-01-28 16:23:20.000000000 -0700
+++ gmetad/conf.c
@@ -265,7 +265,7 @@ set_defaults (gmetad_config_t *config)
config->debug_level = 0;
config->should_setuid = 1;
config->setuid_username = "nobody";
- config->rrd_rootdir = "/var/lib/ganglia/rrds";
+ config->rrd_rootdir = "/var/db/ganglia/rrds";
config->scalable_mode = 1;
config->all_trusted = 0;
config->num_RRAs = 5;

View File

@@ -0,0 +1,11 @@
$NetBSD: patch-ab,v 1.5 2009/11/10 14:55:18 brook Exp $
--- gmetad/gmetad.conf.orig 2009-01-28 16:23:20.000000000 -0700
+++ gmetad/gmetad.conf
@@ -110,5 +110,5 @@ data_source "my cluster" localhost
#
#-------------------------------------------------------------------------------
# Where gmetad stores its round-robin databases
-# default: "/var/lib/ganglia/rrds"
+# default: "/var/db/ganglia/rrds"
# rrd_rootdir "/some/other/place"

View File

@@ -0,0 +1,201 @@
$NetBSD: patch-ac,v 1.5 2013/02/26 11:01:32 joerg Exp $
First chunk: update sysctl name for changes in NetBSD.
Rest:
From Manuel Tobias Schiller <mala@hinterbergen.de>:
I managed to trace things to the file libmetrics/netbsd/metrics.c in
the get_netbw function. Apparently, the code in get_netbw violates
alignment constraints for sparc64. I attached a patch against the result
of a "make patch" in parallel/ganglia-monitor-core. While I was at it, I
also changed proc_run_func somewhat to only count actually running
processes (having a look at NetBSD's ps(1) implementation) - without the
change, I got around 30 running processes on an idle machine.
--- libmetrics/netbsd/metrics.c.orig 2009-01-28 23:23:20.000000000 +0000
+++ libmetrics/netbsd/metrics.c
@@ -9,10 +9,15 @@
* Tested on NetBSD 2.0.2 (i386)
*/
+#define _KMEMUSER
+
#include <kvm.h>
#include <sys/param.h>
+#include <sys/proc.h>
#include <sys/mount.h>
+#include <sys/vmmeter.h>
+#include <uvm/uvm_extern.h>
#if __NetBSD_Version__ > 299000000
#include <sys/statvfs.h>
#define statfs statvfs
@@ -134,7 +139,10 @@ cpu_speed_func ( void )
cpu_speed = 0;
-#if (__NetBSD_Version__ > 299000000)
+#if (__NetBSD_Version__ > 500000000)
+ if (sysctlbyname("machdep.tsc_freq", &cpu_speed, &len, NULL, 0) == -1)
+ val.uint32 = 0;
+#elif (__NetBSD_Version__ > 299000000)
if (sysctlbyname("machdep.est.frequency.target", &cpu_speed, &len, NULL, 0) == -1)
val.uint32 = 0;
#endif
@@ -559,44 +567,40 @@ proc_total_func ( void )
g_val_t
proc_run_func( void )
{
- struct kinfo_proc *kp;
- int i;
- int state;
- int nentries;
- int what = KERN_PROC_ALL;
g_val_t val;
+ struct kinfo_proc2 *kp;
+ int cnt, i, j;
+ unsigned int count = 0;
val.uint32 = 0;
if (kd == NULL)
goto output;
-#ifdef KERN_PROC_NOTHREADS
- what |= KERN_PROC_NOTHREADS
-#endif
- if ((kp = kvm_getprocs(kd, what, 0, &nentries)) == 0 || nentries < 0)
+ kp = kvm_getproc2(kd, KERN_PROC_ALL, 0, sizeof(struct kinfo_proc2), &cnt);
+ if (0 == kp || cnt < 0)
goto output;
-
- for (i = 0; i < nentries; kp++, i++) {
-#ifdef KINFO_PROC_SIZE
- state = kp->ki_stat;
-#else
- state = kp->kp_proc.p_stat;
-#endif
- switch(state) {
-#if (__NetBSD_Version__ >= 200000000)
- case SACTIVE:
-#else
- case SRUN:
- case SONPROC:
-#endif
- case SIDL:
- val.uint32++;
- break;
+ for (i = 0; i < cnt; i++) {
+ struct kinfo_lwp* kl;
+ int nlwps;
+ if (((kp + i) -> p_realstat != SACTIVE))
+ continue;
+ kl = kvm_getlwps(kd, (kp + i)->p_pid, (kp + i)->p_paddr,
+ sizeof(struct kinfo_lwp), &nlwps);
+ if (kl == 0)
+ nlwps = 0;
+ if (0 == nlwps) count ++;
+ else {
+ for (j = 0; j < nlwps; j++) {
+ switch (kl[j].l_stat) {
+ case LSRUN:
+ ++count;
+ break;
+ }
+ }
}
}
- if (val.uint32 > 0)
- val.uint32--;
+ val.uint32 = count;
output:
return val;
@@ -1135,36 +1139,41 @@ get_netbw(double *in_bytes, double *out_
next = buf;
while (next < lim) {
+ struct if_msghdr tmp;
ifm = (struct if_msghdr *)next;
+ memcpy(&tmp, ifm, sizeof(tmp));
- if (ifm->ifm_type == RTM_IFINFO) {
+ if (tmp.ifm_type == RTM_IFINFO) {
sdl = (struct sockaddr_dl *)(ifm + 1);
} else {
fprintf(stderr, "out of sync parsing NET_RT_IFLIST\n");
fprintf(stderr, "expected %d, got %d\n", RTM_IFINFO,
- ifm->ifm_type);
- fprintf(stderr, "msglen = %d\n", ifm->ifm_msglen);
+ tmp.ifm_type);
+ fprintf(stderr, "msglen = %d\n", tmp.ifm_msglen);
fprintf(stderr, "buf:%p, next:%p, lim:%p\n", buf, next,
lim);
exit (1);
}
- next += ifm->ifm_msglen;
+ next += tmp.ifm_msglen;
while (next < lim) {
+ unsigned short msglen;
nextifm = (struct if_msghdr *)next;
if (nextifm->ifm_type != RTM_NEWADDR)
break;
- next += nextifm->ifm_msglen;
+ memcpy(&msglen, &nextifm->ifm_msglen,
+ sizeof(nextifm->ifm_msglen));
+ next += msglen;
}
- if ((ifm->ifm_flags & IFF_LOOPBACK) ||
- !(ifm->ifm_flags & IFF_UP))
+ if ((tmp.ifm_flags & IFF_LOOPBACK) ||
+ !(tmp.ifm_flags & IFF_UP))
continue;
- index = ifm->ifm_index;
+ index = tmp.ifm_index;
/* If we don't have a previous value yet, make a slot. */
if (index >= indexes) {
@@ -1187,25 +1196,25 @@ get_netbw(double *in_bytes, double *out_
*/
if (!seen[index]) {
seen[index] = 1;
- lastcount[index].in_bytes = ifm->ifm_data.ifi_ibytes;
- lastcount[index].out_bytes = ifm->ifm_data.ifi_obytes;
- lastcount[index].in_pkts = ifm->ifm_data.ifi_ipackets;
- lastcount[index].out_pkts = ifm->ifm_data.ifi_opackets;
+ lastcount[index].in_bytes = tmp.ifm_data.ifi_ibytes;
+ lastcount[index].out_bytes = tmp.ifm_data.ifi_obytes;
+ lastcount[index].in_pkts = tmp.ifm_data.ifi_ipackets;
+ lastcount[index].out_pkts = tmp.ifm_data.ifi_opackets;
}
traffic.in_bytes = counterdiff(lastcount[index].in_bytes,
- ifm->ifm_data.ifi_ibytes, ULONG_MAX, 0);
+ tmp.ifm_data.ifi_ibytes, ULONG_MAX, 0);
traffic.out_bytes = counterdiff(lastcount[index].out_bytes,
- ifm->ifm_data.ifi_obytes, ULONG_MAX, 0);
+ tmp.ifm_data.ifi_obytes, ULONG_MAX, 0);
traffic.in_pkts = counterdiff(lastcount[index].in_pkts,
- ifm->ifm_data.ifi_ipackets, ULONG_MAX, 0);
+ tmp.ifm_data.ifi_ipackets, ULONG_MAX, 0);
traffic.out_pkts = counterdiff(lastcount[index].out_pkts,
- ifm->ifm_data.ifi_opackets, ULONG_MAX, 0);
+ tmp.ifm_data.ifi_opackets, ULONG_MAX, 0);
- lastcount[index].in_bytes = ifm->ifm_data.ifi_ibytes;
- lastcount[index].out_bytes = ifm->ifm_data.ifi_obytes;
- lastcount[index].in_pkts = ifm->ifm_data.ifi_ipackets;
- lastcount[index].out_pkts = ifm->ifm_data.ifi_opackets;
+ lastcount[index].in_bytes = tmp.ifm_data.ifi_ibytes;
+ lastcount[index].out_bytes = tmp.ifm_data.ifi_obytes;
+ lastcount[index].in_pkts = tmp.ifm_data.ifi_ipackets;
+ lastcount[index].out_pkts = tmp.ifm_data.ifi_opackets;
#ifdef NETBW_DEBUG
if_indextoname(index, name);

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-lib__gm_protocol_dr.c,v 1.1 2012/03/13 12:36:25 fhajny Exp $
Use INT32 macros, LONG ones were taken out of LP64 on Solaris.
--- lib/gm_protocol_xdr.c.orig 2009-01-28 23:23:20.000000000 +0000
+++ lib/gm_protocol_xdr.c
@@ -53,9 +53,9 @@ xdr_Ganglia_metadata_message (XDR *xdrs,
return FALSE;
} else {
- IXDR_PUT_U_LONG(buf, objp->slope);
- IXDR_PUT_U_LONG(buf, objp->tmax);
- IXDR_PUT_U_LONG(buf, objp->dmax);
+ IXDR_PUT_U_INT32(buf, objp->slope);
+ IXDR_PUT_U_INT32(buf, objp->tmax);
+ IXDR_PUT_U_INT32(buf, objp->dmax);
}
if (!xdr_array (xdrs, (char **)&objp->metadata.metadata_val, (u_int *) &objp->metadata.metadata_len, ~0,
sizeof (Ganglia_extra_data), (xdrproc_t) xdr_Ganglia_extra_data))
@@ -78,9 +78,9 @@ xdr_Ganglia_metadata_message (XDR *xdrs,
return FALSE;
} else {
- objp->slope = IXDR_GET_U_LONG(buf);
- objp->tmax = IXDR_GET_U_LONG(buf);
- objp->dmax = IXDR_GET_U_LONG(buf);
+ objp->slope = IXDR_GET_U_INT32(buf);
+ objp->tmax = IXDR_GET_U_INT32(buf);
+ objp->dmax = IXDR_GET_U_INT32(buf);
}
if (!xdr_array (xdrs, (char **)&objp->metadata.metadata_val, (u_int *) &objp->metadata.metadata_len, ~0,
sizeof (Ganglia_extra_data), (xdrproc_t) xdr_Ganglia_extra_data))

View File

@@ -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.

View File

@@ -0,0 +1,31 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
You will need to add the following lines to /etc/services:
sge_qmaster 6444/tcp
sge_execd 6445/tcp
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
===========================================================================

View File

@@ -0,0 +1,173 @@
# $NetBSD: Makefile,v 1.9 2013/05/31 12:41:45 wiz Exp $
PKGNAME= gridscheduler-2011.11
DISTNAME= GE2011.11
PKGREVISION= 4
CATEGORIES= parallel sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gridscheduler/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gridscheduler.sourceforge.net/
COMMENT= Open Grid Scheduler/Grid Engine resource management system
BUILD_DEPENDS+= {standalone-tcsh,tcsh}-[0-9]*:../../shells/tcsh
# Not 64-bit clean; crashes during build.
NOT_FOR_PLATFORM= ${LP64PLATFORMS}
GNU_CONFIGURE= yes
USE_TOOLS+= gmake perl:run
CFLAGS+= -D${UPPER_OPSYS}
CONFIGURE_ENV+= REMOTE=sge
CONFIGURE_ENV+= CFLAGS=${CFLAGS:M*:Q}
CONFIGURE_ARGS+= --with-sge=${SGE_BUILDARCH:Q}
PLIST_SUBST+= SGE_ARCH=${SGE_ARCH:Q}
MESSAGE_SUBST+= SGE_ROOT=${SGE_ROOT}
MAKE_ENV+= PERL5=${PERL5:Q}
SGE_USER?= sgeadmin
SGE_GROUP?= sgeadmin
PKG_GROUPS= ${SGE_GROUP}
PKG_USERS= ${SGE_USER}:${SGE_GROUP}::Sun\ Grid\ Engine\ Administrator
PKG_GROUPS_VARS+= SGE_GROUP
PKG_USERS_VARS+= SGE_USER
EVAL_PREFIX+= PKGSRC_SSL_PREFIX=openssl
AIMK= ${SETENV} ${MAKE_ENV} tcsh -fb ${WRKSRC}/source/aimk
CONFIG_GUESS_OVERRIDE= source/3rdparty/qmake/config.guess \
source/3rdparty/qtcsh/config.guess
CONFIG_SUB_OVERRIDE= source/3rdparty/qmake/config.sub \
source/3rdparty/qtcsh/config.sub
REPLACE_INTERPRETER+= tclsh
REPLACE.tclsh.old= .*tclsh
REPLACE.tclsh.new= ${PREFIX}/bin/tclsh
REPLACE_FILES.tclsh= source/dist/util/resources/jsv/jsv.tcl
REPLACE_PERL+= source/dist/util/resources/jsv/jsv.pl
CHECK_INTERPRETER_SKIP+= sge/ckpt/cpr_* sge/mpi/myrinet/* sge/util/resources/loadsensors/interix-loadsensor.sh
.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_cmd= ${ECHO} "${OPSYS}" | ${TR} a-z A-Z
UPPER_OPSYS= ${UPPER_OPSYS_cmd:sh}
.if ${OPSYS} == "NetBSD"
AIMK+= -DFD_SETSIZE=2048
SGE_ARCH= nbsd-${MACHINE_ARCH}
SGE_BUILDARCH_cmd= ${ECHO} "${OPSYS}_${MACHINE_ARCH}" | ${TR} a-z A-Z
.elif ${OPSYS} == "FreeBSD"
SGE_ARCH= fbsd-${MACHINE_ARCH}
SGE_BUILDARCH_cmd= ${ECHO} "${OPSYS}_${MACHINE_ARCH}" | ${TR} a-z A-Z
.elif ${OPSYS} == "SunOS"
. if ${MACHINE_ARCH} == "i386"
SGE_ARCH= solaris86
. else
_ISAINFO!= isainfo
. if !empty(_ISAINFO:Msparcv9)
SGE_ARCH= solaris64
. else
SGE_ARCH= solaris
. endif
. endif
SGE_BUILDARCH_cmd= ${ECHO} "${SGE_ARCH}" | ${TR} a-z A-Z
.elif ${OPSYS} == "Darwin"
SGE_ARCH= darwin
SGE_BUILDARCH= DARWIN
.elif ${OPSYS} == "Linux"
AIMK+= -no-dump
SGE_ARCH= lx26-x86
SGE_BUILDARCH= LINUX86
.else
PKG_FAIL_REASON+= "SGE_ARCH and SGE_BUILDARCH need to be configured for your OS"
.endif
SGE_BUILDARCH?= ${SGE_BUILDARCH_cmd:sh}
# Some hacks to get it properly linked:
MAKE_ENV+= SGE_ARCH=$(SGE_ARCH) SGE_ROOT=$(SGE_ROOT)
LDFLAGS+= -R${SGE_ROOT}/lib/${SGE_ARCH}
BUILDLINK_PASSTHRU_RPATHDIRS+= ${SGE_ROOT}/lib/${SGE_ARCH}
SGE_ROOT= ${PREFIX}/sge
INSTALLATION_DIRS= bin
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
( ${ECHO} "set OPENSSL_HOME = ${SSL_PREFIX}" ; \
${ECHO} "set BERKELEYDB_HOME = ${BUILDLINK_PREFIX.db4}" ; \
${ECHO} "set BDB_INCLUDE_SUBDIR = db4" ; \
${ECHO} "set BDB_LIB_SUFFIX = 4" ; \
${ECHO} "set PERL = ${PERL5}" ) > ${WRKSRC}/source/aimk.private
( ${ECHO} "OPENSSLBASE=${SSL_PREFIX}" ; \
${ECHO} "BERKELEYDBBASE=${BUILDLINK_PREFIX.db4}" ) > ${WRKSRC}/source/distinst.private
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= source/dist/util/arch_variables
SUBST_SED.paths= -e 's;@rcd_dir@;${RCD_SCRIPTS_DIR};'
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} -no-java -no-jni -only-depend
cd ${WRKSRC}/source && ${SETENV} ${MAKE_ENV} ./scripts/zerodepend
cd ${WRKSRC}/source && ${AIMK} -no-java -no-jni -no-qmake -no-qtcsh depend
cd ${WRKSRC}/source && ${AIMK} -no-java -no-jni
cd ${WRKSRC}/source && ${AIMK} -no-java -no-jni -man -sunman
do-install:
${MKDIR} ${DESTDIR}${SGE_ROOT}
#${CHOWN} ${SGE_USER} ${DESTDIR}${SGE_ROOT}
#${CHGRP} ${SGE_GROUP} ${DESTDIR}${SGE_ROOT}
cd ${WRKSRC}/source && \
${ECHO} "Y" | ${SETENV} LOCALBASE=${LOCALBASE} DESTDIR=${DESTDIR} SGE_ROOT=${SGE_ROOT} ./scripts/distinst -local -all -nobdb -noopenssl -mansrc sge ${SGE_ARCH} -- doc man
for f in archive checkpoint deadlock dump load printlog recover stat upgrade verify ; do \
ln -s ${DESTDIR}${LOCALBASE}/bin/db4_$${f} ${DESTDIR}${SGE_ROOT}/utilbin/${SGE_ARCH}/db_$${f} ; done
ln -s ${DESTDIR}${LOCALBASE}/bin/berkeley_db4_svc ${DESTDIR}${SGE_ROOT}/utilbin/${SGE_ARCH}/berkeley_db_svc
ln -s ${DESTDIR}${SSL_PREFIX}/bin/openssl ${DESTDIR}${SGE_ROOT}/utilbin/${SGE_ARCH}/openssl
cd ${DESTDIR}${SGE_ROOT} && ${SETENV} SGE_ROOT=${SGE_ROOT} DESTDIR=${DESTDIR} ./util/setfileperm.sh -auto \
${SGE_ROOT}
for f in ${DESTDIR}${SGE_ROOT}/bin/${SGE_ARCH}/q* ; do \
cd ${DESTDIR}${PREFIX}/bin && ln -fs $$f ; done
#% scripts/distinst -local"
PLIST_SUBST+= SGE_ARCH=${SGE_ARCH}
CHECK_INTERPRETER_SKIP= sge/hadoop/pestart.sh \
sge/hadoop/pestop.sh \
sge/hadoop/setup.pl \
sge/hadoop/wait.sh
.include "../../parallel/hwloc/buildlink3.mk" # optional?
.include "../../databases/db4/buildlink3.mk" # 4.2 at least
.include "../../x11/libXpm/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/tcl/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

View File

@@ -0,0 +1,576 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
bin/qacct
bin/qalter
bin/qconf
bin/qdel
bin/qhold
bin/qhost
bin/qlogin
bin/qmake
bin/qmod
bin/qmon
bin/qping
bin/qquota
bin/qrdel
bin/qresub
bin/qrls
bin/qrsh
bin/qrstat
bin/qrsub
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/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}/qping
sge/bin/${SGE_ARCH}/qquota
sge/bin/${SGE_ARCH}/qrdel
sge/bin/${SGE_ARCH}/qresub
sge/bin/${SGE_ARCH}/qrls
sge/bin/${SGE_ARCH}/qrsh
sge/bin/${SGE_ARCH}/qrstat
sge/bin/${SGE_ARCH}/qrsub
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_coshepherd
sge/bin/${SGE_ARCH}/sge_execd
sge/bin/${SGE_ARCH}/sge_qmaster
sge/bin/${SGE_ARCH}/sge_shadowd
sge/bin/${SGE_ARCH}/sge_shepherd
sge/bin/${SGE_ARCH}/sgepasswd
sge/ckpt/README.cpr
sge/ckpt/README.cray
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_migration_command
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/README-DRMAA.txt
sge/doc/arc_depend_irix.asc
sge/doc/arc_depend_solaris.asc
sge/doc/load_parameters.asc
sge/doc/logfile-trimming.asc
sge/dtrace/README-dtrace.txt
sge/dtrace/monitor.d
sge/dtrace/monitor.sh
sge/examples/drmaa/example.c
sge/examples/drmaa/howto1.c
sge/examples/drmaa/howto1_1.c
sge/examples/drmaa/howto2.c
sge/examples/drmaa/howto2_1.c
sge/examples/drmaa/howto3.c
sge/examples/drmaa/howto3_1.c
sge/examples/drmaa/howto3_2.c
sge/examples/drmaa/howto4.c
sge/examples/drmaa/howto5.c
sge/examples/drmaa/howto6.c
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/ssession.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}/showq
sge/examples/jobsbin/${SGE_ARCH}/work
sge/hadoop/env.sh
sge/hadoop/jsv.sh
sge/hadoop/load_sensor.sh
sge/hadoop/logging.properties
sge/hadoop/make_conf.sh
sge/hadoop/pestart.sh
sge/hadoop/pestop.sh
sge/hadoop/setup.pl
sge/hadoop/ssh
sge/hadoop/wait.sh
sge/include/drmaa.h
sge/inst_sge
sge/install_execd
sge/install_qmaster
sge/lib/${SGE_ARCH}/libXltree.so
sge/lib/${SGE_ARCH}/libdrmaa.so
sge/lib/${SGE_ARCH}/libdrmaa.so.1.0
sge/lib/${SGE_ARCH}/libjuti.so
sge/lib/${SGE_ARCH}/libspoolb.so
sge/lib/${SGE_ARCH}/libspoolc.so
sge/man/man1/gethostbyaddr.1
sge/man/man1/gethostbyname.1
sge/man/man1/gethostname.1
sge/man/man1/getservbyname.1
sge/man/man1/hostnameutils.1
sge/man/man1/jsv.1
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/qping.1
sge/man/man1/qquota.1
sge/man/man1/qrdel.1
sge/man/man1/qresub.1
sge/man/man1/qrls.1
sge/man/man1/qrsh.1
sge/man/man1/qrstat.1
sge/man/man1/qrsub.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/sge_types.1
sge/man/man1/sgepasswd.1
sge/man/man1/submit.1
sge/man/man3/drmaa_allocate_job_template.3
sge/man/man3/drmaa_attributes.3
sge/man/man3/drmaa_control.3
sge/man/man3/drmaa_delete_job_template.3
sge/man/man3/drmaa_exit.3
sge/man/man3/drmaa_get_DRMAA_implementation.3
sge/man/man3/drmaa_get_DRM_system.3
sge/man/man3/drmaa_get_attribute.3
sge/man/man3/drmaa_get_attribute_names.3
sge/man/man3/drmaa_get_contact.3
sge/man/man3/drmaa_get_next_attr_name.3
sge/man/man3/drmaa_get_next_attr_value.3
sge/man/man3/drmaa_get_next_job_id.3
sge/man/man3/drmaa_get_num_attr_names.3
sge/man/man3/drmaa_get_num_attr_values.3
sge/man/man3/drmaa_get_num_job_ids.3
sge/man/man3/drmaa_get_vector_attribute.3
sge/man/man3/drmaa_get_vector_attribute_names.3
sge/man/man3/drmaa_init.3
sge/man/man3/drmaa_job_ps.3
sge/man/man3/drmaa_jobcontrol.3
sge/man/man3/drmaa_jobtemplate.3
sge/man/man3/drmaa_misc.3
sge/man/man3/drmaa_release_attr_names.3
sge/man/man3/drmaa_release_attr_values.3
sge/man/man3/drmaa_release_job_ids.3
sge/man/man3/drmaa_run_bulk_jobs.3
sge/man/man3/drmaa_run_job.3
sge/man/man3/drmaa_session.3
sge/man/man3/drmaa_set_attribute.3
sge/man/man3/drmaa_set_vector_attribute.3
sge/man/man3/drmaa_strerror.3
sge/man/man3/drmaa_submit.3
sge/man/man3/drmaa_synchronize.3
sge/man/man3/drmaa_version.3
sge/man/man3/drmaa_wait.3
sge/man/man3/drmaa_wcoredump.3
sge/man/man3/drmaa_wexitstatus.3
sge/man/man3/drmaa_wifaborted.3
sge/man/man3/drmaa_wifexited.3
sge/man/man3/drmaa_wifsignaled.3
sge/man/man3/drmaa_wtermsig.3
sge/man/man3/jsv_script_interface.3
sge/man/man5/access_list.5
sge/man/man5/accounting.5
sge/man/man5/bootstrap.5
sge/man/man5/calendar_conf.5
sge/man/man5/checkpoint.5
sge/man/man5/complex.5
sge/man/man5/host_aliases.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/reporting.5
sge/man/man5/sched_conf.5
sge/man/man5/sge_aliases.5
sge/man/man5/sge_conf.5
sge/man/man5/sge_pe.5
sge/man/man5/sge_priority.5
sge/man/man5/sge_qstat.5
sge/man/man5/sge_request.5
sge/man/man5/sge_resource_quota.5
sge/man/man5/sgepasswd.5
sge/man/man5/share_tree.5
sge/man/man5/user.5
sge/man/man5/usermapping.5
sge/man/man8/SGE_Helper_Service.exe.8
sge/man/man8/sge_ca.8
sge/man/man8/sge_execd.8
sge/man/man8/sge_qmaster.8
sge/man/man8/sge_shadowd.8
sge/man/man8/sge_shepherd.8
sge/man/man8/sge_st.8
sge/mpi/README
sge/mpi/README.atm
sge/mpi/SunHPCT5/README
sge/mpi/SunHPCT5/pe_sunmpi_ci.template
sge/mpi/SunHPCT5/resume_sunmpi_ci.sh
sge/mpi/SunHPCT5/suspend_sunmpi_ci.sh
sge/mpi/hostname
sge/mpi/mpi.sh
sge/mpi/mpi.template
sge/mpi/mpi_cpi.sh
sge/mpi/mpich.template
sge/mpi/myrinet/README
sge/mpi/myrinet/README.x
sge/mpi/myrinet/gmps
sge/mpi/myrinet/mpi.template
sge/mpi/myrinet/mpich.template
sge/mpi/myrinet/mpich_multi.template
sge/mpi/myrinet/sge_mpirun
sge/mpi/myrinet/sge_mpirun.x
sge/mpi/myrinet/startmpi.sh
sge/mpi/myrinet/startmpi.sh.x
sge/mpi/myrinet/stopmpi.sh
sge/mpi/rsh
sge/mpi/startmpi.sh
sge/mpi/stopmpi.sh
sge/pvm/README
sge/pvm/pvm.sh
sge/pvm/pvm.template
sge/pvm/pvm_nogs.sh
sge/pvm/src/Makefile
sge/pvm/src/aimk
sge/pvm/src/install.sh
sge/pvm/src/master.c
sge/pvm/src/slave.c
sge/pvm/src/spmd.c
sge/pvm/src/start_pvm.c
sge/pvm/src/stop_pvm.c
sge/pvm/startpvm.sh
sge/pvm/stoppvm.sh
sge/qmon/PIXMAPS/21cal.xpm
sge/qmon/PIXMAPS/21cal_ins.xpm
sge/qmon/PIXMAPS/aclask.xpm
sge/qmon/PIXMAPS/ar.xpm
sge/qmon/PIXMAPS/big/toolbar_ar.xpm
sge/qmon/PIXMAPS/big/toolbar_browser.xpm
sge/qmon/PIXMAPS/big/toolbar_calendar.xpm
sge/qmon/PIXMAPS/big/toolbar_ckpt.xpm
sge/qmon/PIXMAPS/big/toolbar_cluster.xpm
sge/qmon/PIXMAPS/big/toolbar_cplx.xpm
sge/qmon/PIXMAPS/big/toolbar_exit.xpm
sge/qmon/PIXMAPS/big/toolbar_host.xpm
sge/qmon/PIXMAPS/big/toolbar_job.xpm
sge/qmon/PIXMAPS/big/toolbar_pe.xpm
sge/qmon/PIXMAPS/big/toolbar_prj.xpm
sge/qmon/PIXMAPS/big/toolbar_queue.xpm
sge/qmon/PIXMAPS/big/toolbar_rqs.xpm
sge/qmon/PIXMAPS/big/toolbar_sched.xpm
sge/qmon/PIXMAPS/big/toolbar_submit.xpm
sge/qmon/PIXMAPS/big/toolbar_ticket.xpm
sge/qmon/PIXMAPS/big/toolbar_user.xpm
sge/qmon/PIXMAPS/binary_off.xpm
sge/qmon/PIXMAPS/binary_off_ins.xpm
sge/qmon/PIXMAPS/binary_on.xpm
sge/qmon/PIXMAPS/binary_on_ins.xpm
sge/qmon/PIXMAPS/bool.xpm
sge/qmon/PIXMAPS/branch.xpm
sge/qmon/PIXMAPS/branch_open.xpm
sge/qmon/PIXMAPS/ckpt.xpm
sge/qmon/PIXMAPS/cstr.xpm
sge/qmon/PIXMAPS/ctx.xpm
sge/qmon/PIXMAPS/days.xpm
sge/qmon/PIXMAPS/deadline.xpm
sge/qmon/PIXMAPS/deadline_ins.xpm
sge/qmon/PIXMAPS/double.xpm
sge/qmon/PIXMAPS/dynamite.xpm
sge/qmon/PIXMAPS/env.xpm
sge/qmon/PIXMAPS/file_link.xpm
sge/qmon/PIXMAPS/head_open.xpm
sge/qmon/PIXMAPS/host.xpm
sge/qmon/PIXMAPS/hours.xpm
sge/qmon/PIXMAPS/infinity.xpm
sge/qmon/PIXMAPS/int.xpm
sge/qmon/PIXMAPS/intro-sge.xpm
sge/qmon/PIXMAPS/intro.xpm
sge/qmon/PIXMAPS/leaf.xpm
sge/qmon/PIXMAPS/leaf_minus.xpm
sge/qmon/PIXMAPS/leaf_open.xpm
sge/qmon/PIXMAPS/leaf_plus.xpm
sge/qmon/PIXMAPS/leftarrow.xpm
sge/qmon/PIXMAPS/lock.xpm
sge/qmon/PIXMAPS/logo-sge.xpm
sge/qmon/PIXMAPS/logo.xpm
sge/qmon/PIXMAPS/mailbox.xpm
sge/qmon/PIXMAPS/mailbox_ins.xpm
sge/qmon/PIXMAPS/mcicon.xpm
sge/qmon/PIXMAPS/mem.xpm
sge/qmon/PIXMAPS/memorybig.xpm
sge/qmon/PIXMAPS/minutes.xpm
sge/qmon/PIXMAPS/open_lock.xpm
sge/qmon/PIXMAPS/open_lock_insensitive.xpm
sge/qmon/PIXMAPS/peask.xpm
sge/qmon/PIXMAPS/peconf.xpm
sge/qmon/PIXMAPS/penv.xpm
sge/qmon/PIXMAPS/project.xpm
sge/qmon/PIXMAPS/project_ins.xpm
sge/qmon/PIXMAPS/qask.xpm
sge/qmon/PIXMAPS/qlegend.xpm
sge/qmon/PIXMAPS/qsh_off.xpm
sge/qmon/PIXMAPS/qsh_off_ins.xpm
sge/qmon/PIXMAPS/qsh_on.xpm
sge/qmon/PIXMAPS/qsh_on_ins.xpm
sge/qmon/PIXMAPS/resources.xpm
sge/qmon/PIXMAPS/resources_enabled.xpm
sge/qmon/PIXMAPS/rightarrow.xpm
sge/qmon/PIXMAPS/script_file.xpm
sge/qmon/PIXMAPS/script_file_ins.xpm
sge/qmon/PIXMAPS/seconds.xpm
sge/qmon/PIXMAPS/shell.xpm
sge/qmon/PIXMAPS/shell_ins.xpm
sge/qmon/PIXMAPS/stderror.xpm
sge/qmon/PIXMAPS/stderror_ins.xpm
sge/qmon/PIXMAPS/stdinput.xpm
sge/qmon/PIXMAPS/stdinput_ins.xpm
sge/qmon/PIXMAPS/stdoutput.xpm
sge/qmon/PIXMAPS/stdoutput_ins.xpm
sge/qmon/PIXMAPS/str.xpm
sge/qmon/PIXMAPS/time.xpm
sge/qmon/PIXMAPS/toolbar_ar.xpm
sge/qmon/PIXMAPS/toolbar_browser.xpm
sge/qmon/PIXMAPS/toolbar_calendar.xpm
sge/qmon/PIXMAPS/toolbar_ckpt.xpm
sge/qmon/PIXMAPS/toolbar_cluster.xpm
sge/qmon/PIXMAPS/toolbar_cplx.xpm
sge/qmon/PIXMAPS/toolbar_exit.xpm
sge/qmon/PIXMAPS/toolbar_host.xpm
sge/qmon/PIXMAPS/toolbar_job.xpm
sge/qmon/PIXMAPS/toolbar_pe.xpm
sge/qmon/PIXMAPS/toolbar_prj.xpm
sge/qmon/PIXMAPS/toolbar_queue.xpm
sge/qmon/PIXMAPS/toolbar_rqs.xpm
sge/qmon/PIXMAPS/toolbar_sched.xpm
sge/qmon/PIXMAPS/toolbar_submit.xpm
sge/qmon/PIXMAPS/toolbar_ticket.xpm
sge/qmon/PIXMAPS/toolbar_user.xpm
sge/qmon/PIXMAPS/trashcan.xpm
sge/qmon/PIXMAPS/unknown.xpm
sge/qmon/PIXMAPS/uparrow.xpm
sge/qmon/PIXMAPS/xterm-axp.xpm
sge/qmon/PIXMAPS/xterm-blank.xpm
sge/qmon/PIXMAPS/xterm-cray.xpm
sge/qmon/PIXMAPS/xterm-dec.xpm
sge/qmon/PIXMAPS/xterm-hp.xpm
sge/qmon/PIXMAPS/xterm-ibm.xpm
sge/qmon/PIXMAPS/xterm-linux.xpm
sge/qmon/PIXMAPS/xterm-sgi.xpm
sge/qmon/PIXMAPS/xterm-sgi1.xpm
sge/qmon/PIXMAPS/xterm-sol.xpm
sge/qmon/PIXMAPS/xterm-sun.xpm
sge/qmon/PIXMAPS/xterm.xpm
sge/qmon/Qmon
sge/qmon/qmon_help.ad
sge/util/arch
sge/util/arch.dist
sge/util/arch_variables
sge/util/arch_variables.orig
sge/util/bdb_checkpoint.sh
sge/util/certtool.sh
sge/util/create_settings.sh
sge/util/dl.csh
sge/util/dl.sh
sge/util/dl1.csh
sge/util/dl2.csh
sge/util/install_modules/DB_CONFIG
sge/util/install_modules/backup_template.conf
sge/util/install_modules/inst_berkeley.sh
sge/util/install_modules/inst_common.sh
sge/util/install_modules/inst_execd.sh
sge/util/install_modules/inst_execd_uninst.sh
sge/util/install_modules/inst_qmaster.sh
sge/util/install_modules/inst_qmaster_uninst.sh
sge/util/install_modules/inst_schedd_high.conf
sge/util/install_modules/inst_schedd_max.conf
sge/util/install_modules/inst_schedd_normal.conf
sge/util/install_modules/inst_st.sh
sge/util/install_modules/inst_template.conf
sge/util/jaas.config.template
sge/util/java.policy.template
sge/util/jmxremote.access
sge/util/jmxremote.password
sge/util/logchecker.sh
sge/util/logging.properties.template
sge/util/management.properties.template
sge/util/qtask
sge/util/rctemplates/darwin_template
sge/util/rctemplates/sgebdb_template
sge/util/rctemplates/sgeexecd_template
sge/util/rctemplates/sgemaster_template
sge/util/resources/calendars/day
sge/util/resources/calendars/day_s
sge/util/resources/calendars/night
sge/util/resources/calendars/night_s
sge/util/resources/centry/arch
sge/util/resources/centry/calendar
sge/util/resources/centry/cpu
sge/util/resources/centry/display_win_gui
sge/util/resources/centry/h_core
sge/util/resources/centry/h_cpu
sge/util/resources/centry/h_data
sge/util/resources/centry/h_fsize
sge/util/resources/centry/h_rss
sge/util/resources/centry/h_rt
sge/util/resources/centry/h_stack
sge/util/resources/centry/h_vmem
sge/util/resources/centry/hostname
sge/util/resources/centry/load_avg
sge/util/resources/centry/load_long
sge/util/resources/centry/load_medium
sge/util/resources/centry/load_short
sge/util/resources/centry/m_core
sge/util/resources/centry/m_socket
sge/util/resources/centry/m_topology
sge/util/resources/centry/m_topology_inuse
sge/util/resources/centry/mem_free
sge/util/resources/centry/mem_total
sge/util/resources/centry/mem_used
sge/util/resources/centry/min_cpu_interval
sge/util/resources/centry/np_load_avg
sge/util/resources/centry/np_load_long
sge/util/resources/centry/np_load_medium
sge/util/resources/centry/np_load_short
sge/util/resources/centry/num_proc
sge/util/resources/centry/qname
sge/util/resources/centry/rerun
sge/util/resources/centry/s_core
sge/util/resources/centry/s_cpu
sge/util/resources/centry/s_data
sge/util/resources/centry/s_fsize
sge/util/resources/centry/s_rss
sge/util/resources/centry/s_rt
sge/util/resources/centry/s_stack
sge/util/resources/centry/s_vmem
sge/util/resources/centry/seq_no
sge/util/resources/centry/slots
sge/util/resources/centry/swap_free
sge/util/resources/centry/swap_rate
sge/util/resources/centry/swap_rsvd
sge/util/resources/centry/swap_total
sge/util/resources/centry/swap_used
sge/util/resources/centry/tmpdir
sge/util/resources/centry/virtual_free
sge/util/resources/centry/virtual_total
sge/util/resources/centry/virtual_used
sge/util/resources/jsv/JSV.pm
sge/util/resources/jsv/SimpleJsv.java
sge/util/resources/jsv/jjsv.sh
sge/util/resources/jsv/jsv.pl
sge/util/resources/jsv/jsv.sh
sge/util/resources/jsv/jsv.tcl
sge/util/resources/jsv/jsv_include.sh
sge/util/resources/jsv/jsv_include.tcl
sge/util/resources/jsv/logging.properties
sge/util/resources/loadsensors/calendar.sh
sge/util/resources/loadsensors/ibm-loadsensor
sge/util/resources/loadsensors/interix-loadsensor.sh
sge/util/resources/loadsensors/load.sh
sge/util/resources/loadsensors/maui.sh
sge/util/resources/loadsensors/nuser.sh
sge/util/resources/loadsensors/sgi_tty_sensor.sh
sge/util/resources/loadsensors/solaris-iidle.sh
sge/util/resources/pe/make
sge/util/resources/pe/make.sge_pqs_api
sge/util/resources/schemas/qhost/qhost.xsd
sge/util/resources/schemas/qquota/qquota.xsd
sge/util/resources/schemas/qrstat/qrstat.xsd
sge/util/resources/schemas/qstat/detailed_job_info.xsd
sge/util/resources/schemas/qstat/detailed_job_info_cb.xsd
sge/util/resources/schemas/qstat/message.xsd
sge/util/resources/schemas/qstat/qstat.xsd
sge/util/resources/schemas/qstat/qstat_cb.xsd
sge/util/resources/starter_methods/settaskid.sh
sge/util/resources/usersets/arusers
sge/util/resources/usersets/deadlineusers
sge/util/resources/usersets/defaultdepartment
sge/util/rmiconsole.policy
sge/util/setfileperm.sh
sge/util/setfileperm.sh.orig
sge/util/sgeCA/renew_all_certs.csh
sge/util/sgeCA/sge_ca
sge/util/sgeCA/sge_ca.cnf
sge/util/sgeCA/sge_ssl.cnf
sge/util/sgeCA/sge_ssl_template.cnf
sge/util/sgeSMF/bdb_template.xml
sge/util/sgeSMF/execd_template.xml
sge/util/sgeSMF/qmaster_template.xml
sge/util/sgeSMF/sge_smf.sh
sge/util/sgeSMF/sge_smf_support.sh
sge/util/sgeSMF/shadowd_template.xml
sge/util/sgeST/sge_st
sge/util/sgeST/st_settings.sh
sge/util/sge_aliases
sge/util/sge_request
sge/util/sgeremoterun
sge/util/upgrade_modules/inst_upgrade.sh
sge/util/upgrade_modules/load_sge_config.sh
sge/util/upgrade_modules/save_sge_config.sh
sge/utilbin/${SGE_ARCH}/adminrun
sge/utilbin/${SGE_ARCH}/authuser
sge/utilbin/${SGE_ARCH}/berkeley_db_svc
sge/utilbin/${SGE_ARCH}/checkprog
sge/utilbin/${SGE_ARCH}/checkuser
sge/utilbin/${SGE_ARCH}/db_archive
sge/utilbin/${SGE_ARCH}/db_checkpoint
sge/utilbin/${SGE_ARCH}/db_deadlock
sge/utilbin/${SGE_ARCH}/db_dump
sge/utilbin/${SGE_ARCH}/db_load
sge/utilbin/${SGE_ARCH}/db_printlog
sge/utilbin/${SGE_ARCH}/db_recover
sge/utilbin/${SGE_ARCH}/db_stat
sge/utilbin/${SGE_ARCH}/db_upgrade
sge/utilbin/${SGE_ARCH}/db_verify
sge/utilbin/${SGE_ARCH}/echo_raw
sge/utilbin/${SGE_ARCH}/filestat
sge/utilbin/${SGE_ARCH}/fstype
sge/utilbin/${SGE_ARCH}/gethostbyaddr
sge/utilbin/${SGE_ARCH}/gethostbyname
sge/utilbin/${SGE_ARCH}/gethostname
sge/utilbin/${SGE_ARCH}/getservbyname
sge/utilbin/${SGE_ARCH}/infotext
sge/utilbin/${SGE_ARCH}/loadcheck
sge/utilbin/${SGE_ARCH}/now
sge/utilbin/${SGE_ARCH}/openssl
sge/utilbin/${SGE_ARCH}/qrsh_starter
sge/utilbin/${SGE_ARCH}/read_raw
sge/utilbin/${SGE_ARCH}/rlogin
sge/utilbin/${SGE_ARCH}/rsh
sge/utilbin/${SGE_ARCH}/rshd
sge/utilbin/${SGE_ARCH}/sge_share_mon
sge/utilbin/${SGE_ARCH}/spooldefaults
sge/utilbin/${SGE_ARCH}/spooledit
sge/utilbin/${SGE_ARCH}/spoolinit
sge/utilbin/${SGE_ARCH}/testsuidroot
sge/utilbin/${SGE_ARCH}/uidgid
sge/utilbin/${SGE_ARCH}/valid_jvmlib

View File

@@ -0,0 +1,14 @@
$NetBSD: distinfo,v 1.2 2012/03/21 20:52:30 asau Exp $
SHA1 (GE2011.11.tar.gz) = bd06d10f7186652e9b264bf8256cb6b633d2b6b9
RMD160 (GE2011.11.tar.gz) = 9ed02a132993c34c89a47ae8e3ac22fbf10d6506
Size (GE2011.11.tar.gz) = 14293882 bytes
SHA1 (patch-ad) = 0da714b6f9f2dfb0d952f84863a76fdac23aed8e
SHA1 (patch-ag) = f33c490bbb93c6d37ef1937210bff7b92cf19207
SHA1 (patch-ak) = e73a58e547b8401eff27a4635629577767234f0f
SHA1 (patch-am) = 3098e0016eaaff35c119cf8d0f67e0838c3eb28a
SHA1 (patch-at) = d29e29e4915f8015618a4ebc5b17231c2bcc4bf5
SHA1 (patch-bd) = 3977477ccf3d67a3e807bbda42d072397a9d9485
SHA1 (patch-bl) = 5cf177b4b3d31a6483da6daa5ec5ff840b3be7fe
SHA1 (patch-bm) = a760a1f06ab301acb1f0dcb88151c308f381ab60
SHA1 (patch-daemons_common_procfs.c) = cdcbf58cb3278d5bc718fd235aaa76a10e938002

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/daemons/shepherd/Makefile.orig 2008-10-31 02:54:16.000000000 +1300
+++ source/daemons/shepherd/Makefile
@@ -62,7 +62,7 @@ SHEPHERD_OBJS = $(SHEPHERD_SRC:.c=.o) sg
SHEPHERD_ADD_OBJS = $(SHEPHERD_ADD_SRC:.c=.o)
-SHEPHERD_ADD_LIBS = -lgdi -lsgeobj -lsgeobjd $(KRBLIB) -lcull -lcomm_static -lcommlists -luti $(WINGRIDLIB_STATIC) -llck -lrmon $(DLLIB)
+SHEPHERD_ADD_LIBS = -lgdi -lsgeobj -lsgeobjd $(KRBLIB) -lcull -lcomm -lcommlists -luti $(WINGRIDLIB) -llck -lrmon $(DLLIB)
SHEPHERD_LIB_DEPENDS = $(GDILIB) $(SGEOBJDLIB) $(SGEOBJLIB) $(KRBLIBS) $(CULLLIB) $(COMMLIB) $(COMMLISTSLIB) $(COMMLIB_STATIC) $(UTILIB) $(WINGRIDLIB_DEP) $(LCKLIB) $(RMONLIB)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/libs/spool/Makefile.orig 2009-02-10 00:06:38.000000000 +1300
+++ source/libs/spool/Makefile
@@ -123,7 +123,7 @@ test_sge_spooling.o: $(SPOOLLIB_DIR)/tes
$(CC) $(CFLAGS) -c $(SPOOLLIB_DIR)/test_sge_spooling.c
test_sge_spooling_utilities: test_sge_spooling_utilities.o $(SPOOLING_DEPS) $(SGEOBJLIB) $(SGEOBJDLIB) $(MIRLIB) $(EVCLIB) $(GDILIB) $(SCHEDLIB) $(LCKLIB) $(CULLLIB) $(COMMLIB) $(COMMLISTSLIB) $(UTILIB) $(RMONLIB) $(WINGRIDLIB_DEP)
- $(LD_WRAPPER) $(CC) $(CFLAGS) -o test_sge_spooling_utilities $(LFLAGS) test_sge_spooling_utilities.o $(SPOOLING_LIBS) $(SCHEDLIB) $(MIRLIB) $(EVCLIB) $(GDILIB) $(SGEOBJLIB) $(SGEOBJDLIB) $(COMMLIB) $(COMMLISTSLIB) $(CULLLIB) $(UTILIB) $(RMONLIB) $(WINGRIDLIB) $(LCKLIB) $(SECLIB) $(SLIBS) $(LIBS) $(DLLIB)
+ $(LD_WRAPPER) $(CC) $(CFLAGS) -o test_sge_spooling_utilities $(LFLAGS) test_sge_spooling_utilities.o $(SPOOLING_LIBS) $(SPOOLLIB) $(SCHEDLIB) $(MIRLIB) $(EVCLIB) $(GDILIB) $(SGEOBJLIB) $(SGEOBJDLIB) $(COMMLIB) $(COMMLISTSLIB) $(CULLLIB) $(UTILIB) $(RMONLIB) $(WINGRIDLIB) $(LCKLIB) $(SECLIB) $(SLIBS) $(LIBS) $(DLLIB)
test_sge_spooling_utilities.o: $(SPOOLLIB_DIR)/test_sge_spooling_utilities.c
$(CC) $(CFLAGS) -c $(SPOOLLIB_DIR)/test_sge_spooling_utilities.c

View File

@@ -0,0 +1,44 @@
$NetBSD: patch-ak,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
Add LDFLAGS
replace $(COMMLISTSLIB) with -lcommlists so that pkgsrc wrapper
doesnt reorder.
--- source/utilbin/Makefile.orig 2011-11-14 19:00:55.000000000 +0000
+++ source/utilbin/Makefile
@@ -146,7 +146,7 @@ read_raw.o: $(UTILBIN_DIR)/read_raw.c
#---------------------------------------------------------------------
echo_raw: echo_raw.o version.o $(UTILIB) $(RMONLIB) $(COMMLISTSLIB) $(LCKLIB)
- $(CC) $(CFLAGS) -o $@ $(LFLAGS) echo_raw.o version.o -luti -lrmon -llck $(COMMLISTSLIB) $(LIBS)
+ $(CC) $(CFLAGS) -o $@ $(LFLAGS) echo_raw.o version.o -luti -lrmon -llck -lcommlists $(LIBS)
echo_raw.o: $(UTILBIN_DIR)/echo_raw.c
$(CC) $(CFLAGS) -c $(UTILBIN_DIR)/echo_raw.c
@@ -188,7 +188,7 @@ signals.o: $(UTILBIN_DIR)/signals.c
#---------------------------------------------------------------------
loadcheck: loadcheck.o version.o $(WINGRIDLIB_DEP) $(UTILIB) $(RMONLIB) $(COMMLISTSLIB) $(LCKLIB) $(SGEOBJLIB) $(SGEOBJDLIB) $(CULLLIB)
- $(CC) -o $@ $(LFLAGS) loadcheck.o version.o -lsgeobj -lsgeobjd -lcull -luti $(WINGRIDLIB) -llck -lrmon $(COMMLISTSLIB) $(LOADAVGLIBS) $(LIBS)
+ $(CC) -o $@ $(LFLAGS) loadcheck.o version.o -lsgeobj -lsgeobjd -lcull -luti $(WINGRIDLIB) -llck -lrmon -lcommlists $(LOADAVGLIBS) $(LIBS)
loadcheck.o: $(UTILBIN_DIR)/loadcheck.c
$(CC) $(CFLAGS) -c $(UTILBIN_DIR)/loadcheck.c
@@ -222,7 +222,7 @@ fstype.o: $(UTILBIN_DIR)/fstype.c
$(CC) $(CFLAGS) $(MEMCFLAG) $(GCC_NODUPLWARN) -c $(UTILBIN_DIR)/fstype.c
#---------------------------------------------------------------------
spooldefaults: spooldefaults.o version.o sge_mt_init.o $(SPOOLING_DEPS) $(SPOOLCLIB) $(SPOOLLIB) $(SCHEDLIB) $(EVCLIB) $(GDILIB) $(SGEOBJLIB) $(SGEOBJDLIB) $(COMMLIB) $(COMMLISTSLIB) $(CULLLIB) $(LCKLIB) $(WINGRIDLIB_DEP) $(UTILIB) $(RMONLIB)
- $(CC) -o $@ $(LFLAGS) spooldefaults.o version.o sge_mt_init.o -lspoolc $(SPOOLING_LIBS) -lsched -levc -lgdi -lsgeobj -lsgeobjd $(SECLIB) $(KRBLIB) -lcull -lcomm -lcommlists -luti $(WINGRIDLIB) -llck -lrmon $(DLLIB) $(SLIBS) $(LIBS)
+ $(CC) -o $@ $(LFLAGS) $(COMPILER_RPATH_FLAG)$(SGE_ROOT)/lib/$(SGE_ARCH) spooldefaults.o version.o sge_mt_init.o -lspoolc $(SPOOLING_LIBS) -lsched -levc -lgdi -lsgeobj -lsgeobjd $(SECLIB) $(KRBLIB) -lcull -lcomm -lcommlists -luti $(WINGRIDLIB) -llck -lrmon $(DLLIB) $(SLIBS) $(LIBS)
spooldefaults.o: $(UTILBIN_DIR)/spooldefaults.c
$(CC) $(CFLAGS) -c $(UTILBIN_DIR)/spooldefaults.c
@@ -290,7 +290,7 @@ valid_jvmlib.o: $(UTILBIN_DIR)/valid_jv
$(CC) $(CFLAGS) -c $(UTILBIN_DIR)/valid_jvmlib.c
#---------------------------------------------------------------------
-AUTHUSER_ADD_LIBS = -luti -llck -lrmon $(COMMLISTSLIB) $(DLLIB)
+AUTHUSER_ADD_LIBS = -luti -llck -lrmon -lcommlists $(DLLIB)
authuser: authuser.o juti.o $(UTILIB) $(LCKLIB) $(RMONLIB) $(COMMLISTSLIB)
$(CC) -o authuser $(LFLAGS) authuser.o juti.o $(AUTHLIBS) $(AUTHUSER_ADD_LIBS) $(LIBS)

View File

@@ -0,0 +1,119 @@
$NetBSD: patch-am,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/aimk.orig 2011-11-14 19:01:16.000000000 +0000
+++ source/aimk
@@ -412,7 +412,7 @@ set SPOOLING_DEPS = "spoolloaderlib sp
# we generate a berkeley db shared lib, so we need bdb include and lib path
set CFLAGS = "-I$BERKELEYDB_HOME/include/${BDB_INCLUDE_SUBDIR} $CFLAGS"
set LFLAGS = "-L$BERKELEYDB_HOME/lib/${BDB_LIB_SUBDIR} $LFLAGS"
-set SHARED_LFLAGS = "$SHARED_LFLAGS -L$BERKELEYDB_HOME/lib/${BDB_LIB_SUBDIR}"
+set SHARED_LFLAGS = "$SHARED_LFLAGS -L$BERKELEYDB_HOME/lib/${BDB_LIB_SUBDIR} -R$BERKELEYDB_HOME/lib"
# JUTI Targets
set JUTI_ALL = juti_all
@@ -1301,9 +1301,9 @@ case NETBSD_*:
set DLLIB = ""
set DEPEND_FLAGS = "$CFLAGS $XMTINCD"
set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT"
- set CFLAGS = "$OFLAG -Wall -DNETBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include"
+ set CFLAGS = "$OFLAG -Wall -DNETBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I${X11BASE}/include"
set NOERR_CFLAG = "-Wno-error"
- set LFLAGS = "$DEBUG_FLAG $LFLAGS -export-dynamic"
+ set LFLAGS = "$DEBUG_FLAG $LFLAGS -export-dynamic -L${LOCALBASE}/lib -R${LOCALBASE}/lib"
set LIBS = "$LIBS -lkvm"
set SHAREDLD = $CC
set SHARED_CFLAGS = "-fPIC"
@@ -1311,9 +1311,9 @@ case NETBSD_*:
set AUTHLIBS = "-lcrypt -lpam"
set XMTDEF = ""
- set XINCD = "$XMTINCD $XINCD -I/usr/X11/include -I/usr/pkg/include"
+ set XINCD = "$XMTINCD $XINCD -I${X11BASE}/include"
set XCFLAGS = "-Wno-strict-prototypes -Wno-error $XMTDEF $XINCD $XCFLAGS"
- set XLIBD = "-L/usr/X11R6/lib -R/usr/X11R6/lib -L/usr/pkg/lib -R /usr/pkg/lib"
+ set XLIBD = "-L${X11BASE}/lib -R${X11BASE}/lib -L${LOCALBASE}/lib -R ${LOCALBASE}/lib"
set XLFLAGS = "$XLIBD"
set XLIBS = " -lXm -lXpm -lXt -lXext -lX11 -lSM -lICE -lXp"
set RM = "rm -f"
@@ -2246,7 +2246,7 @@ endif
if ( $HWLOC == 1 ) then
set CFLAGS = "$CFLAGS -DTHREADBINDING -DHWLOC"
- set CORE_INCLUDE = "$CORE_INCLUDE -I$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/include/ -I$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/include"
+# set CORE_INCLUDE = "$CORE_INCLUDE -I$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/include/ -I$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/include"
# set LFLAGS = "$LFLAGS -L$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/src/.libs/"
# set LIBS = "$LIBS -lhwloc"
set LIBS = "-L$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/src/.libs/ -lhwloc $LIBS"
@@ -2317,7 +2317,7 @@ if ( "$BUILDMAN" == 1 ) then
exit 1
endif
- $SOURCE/scripts/mk_ascman $SOURCE $SGE_PRODUCT_MODE $BUILDMAN $BUILDHTMLMAN $KVMAN
+ $SOURCE/scripts/mk_ascman $SOURCE $SGE_PRODUCT_MODE 0 $BUILDHTMLMAN $KVMAN
if ( $status != 0 ) then
echo not done
@@ -2581,36 +2581,36 @@ if ( "$PLPA" == 1 ) then
cd $SOURCE
endif
-if ( "$HWLOC" == 1 ) then
- echo _________3_r_d_p_a_r_t_y__H_W_L_O_C_______
-
- set maj_ver = `echo $HWLOC_VERSION| cut -f 1 -d .`
- set min_ver = `echo $HWLOC_VERSION| cut -f 2 -d .`
-
- if ( "$maj_ver" == 1 && "$min_ver" <= 2 ) then
- set HWLOC_CFLAGS_EXTRA = "--disable-xml"
- else
- set HWLOC_CFLAGS_EXTRA = "--disable-libxml2 --disable-pci"
- endif
-
- if ( ! -d $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH || \
- ! -r $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/Makefile ) then
- mkdir -p $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
- cd $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
- env CFLAGS="$HWLOC_CFLAGS" ../configure --enable-static --disable-shared $HWLOC_CFLAGS_EXTRA
- endif
+# if ( "$HWLOC" == 1 ) then
+# echo _________3_r_d_p_a_r_t_y__H_W_L_O_C_______
- cd $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
+# set maj_ver = `echo $HWLOC_VERSION| cut -f 1 -d .`
+# set min_ver = `echo $HWLOC_VERSION| cut -f 2 -d .`
- $MAKE $MAKEOPT -f Makefile "MAKE=$MAKE" "COMPILE_ARCH=$COMPILE_ARCH" $argv
+# if ( "$maj_ver" == 1 && "$min_ver" <= 2 ) then
+# set HWLOC_CFLAGS_EXTRA = "--disable-xml"
+# else
+# set HWLOC_CFLAGS_EXTRA = "--disable-libxml2 --disable-pci"
+# endif
+
+# if ( ! -d $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH || \
+# ! -r $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/Makefile ) then
+# mkdir -p $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
+# cd $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
+# env CFLAGS="$HWLOC_CFLAGS" ../configure --enable-static --disable-shared $HWLOC_CFLAGS_EXTRA
+# endif
+
+# cd $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
+
+# $MAKE $MAKEOPT -f Makefile "MAKE=$MAKE" "COMPILE_ARCH=$COMPILE_ARCH" $argv
+
+# if ( $status != 0 ) then
+# echo not done
+# exit 1
+# endif
- if ( $status != 0 ) then
- echo not done
- exit 1
- endif
-
- cd $SOURCE
-endif
+# cd $SOURCE
+# endif
if ( "$MAKESTRPTIME" == 1 ) then
echo _________3_r_d_p_a_r_t_y__S_T_R_P_T_I_M_E_

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-at,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/dist/util/arch_variables.orig 2005-11-11 03:53:15.000000000 +1300
+++ source/dist/util/arch_variables
@@ -197,8 +197,8 @@ case $ARCH in
AWK=/usr/bin/awk
ECHO="/bin/echo"
RC_FILE=netbsd
- RC_PREFIX=/etc/rc.d
- RC_SUFFIX=.sh
+ RC_PREFIX=@rcd_dir@
+ RC_SUFFIX=
XTERM=/usr/X11R6/bin/xterm
MAILER=/usr/bin/mail
QLOGIN_COMMAND=telnet

View File

@@ -0,0 +1,77 @@
$NetBSD: patch-bd,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
Exclude Java files.
DESTDIR support.
--- source/scripts/distinst.orig 2011-11-14 23:00:44.000000000 +0400
+++ source/scripts/distinst 2012-02-22 01:09:06.000000000 +0400
@@ -75,13 +75,13 @@
# The last number listed here will be the verson linked from libdrmaa.so
DRMAA_SHARED_LIB_VERSIONS="1.0"
DRMAA_HEADER_FILES="libs/japi/drmaa.h"
-DRMAAJ_FILES="CLASSES/jdrmaa/drmaa"
+#DRMAAJ_FILES="CLASSES/jdrmaa/drmaa"
JNI_SHARED_LIBRARIES="libdrmaa libjuti libjgdi"
-JUTIJ_FILES="CLASSES/juti/juti"
-JGDIJ_FILES="libs/jgdi/build/jgdi"
-JJSV_FILES="CLASSES/jjsv/JSV"
+#JUTIJ_FILES="CLASSES/juti/juti"
+#JGDIJ_FILES="libs/jgdi/build/jgdi"
+#JJSV_FILES="CLASSES/jjsv/JSV"
JAVA_LIBRARIES="${DRMAAJ_FILES} ${JUTIJ_FILES} ${JGDIJ_FILES} ${JJSV_FILES}"
PVMSOURCES="start_pvm.c stop_pvm.c slave.c master.c spmd.c Makefile"
@@ -428,7 +428,7 @@
instopenssl=true
instbdb=true
instarco=false
-instguiinst=true
+instguiinst=false
instsgeinspect=false
enforce_shlibpath=false
@@ -527,11 +527,11 @@
echo Please set variable SGE_ROOT. Installation failed.
exit 1
fi
- if [ ! -d $SGE_ROOT ]; then
- echo Please create directory \"$SGE_ROOT\" first. Installation failed.
+ if [ ! -d "$DESTDIR$SGE_ROOT" ]; then
+ echo Please create directory \"$DESTDIR$SGE_ROOT\" first. Installation failed.
exit 1
fi
- DEST_SGE_ROOT=$SGE_ROOT
+ DEST_SGE_ROOT=$DESTDIR$SGE_ROOT
localinst=true
;;
-mansrc)
@@ -897,13 +897,16 @@
$DEST_SGE_ROOT/util/sgeCA/*.cnf \
$DEST_SGE_ROOT/util/sgeSMF/*.xml \
$DEST_SGE_ROOT/util/sgeSMF/sge_smf_support.sh \
- $DEST_SGE_ROOT/util/DetectJvmLibrary.jar \
$DEST_SGE_ROOT/util/resources/calendars/* \
$DEST_SGE_ROOT/util/resources/centry/* \
$DEST_SGE_ROOT/util/resources/pe/* \
$DEST_SGE_ROOT/util/resources/schemas/*/* \
$DEST_SGE_ROOT/util/resources/usersets/*
+ if [ -f $DEST_SGE_ROOT/util/DetectJvmLibrary.jar ] ; then
+ Execute chmod 644 $DEST_SGE_ROOT/util/DetectJvmLibrary.jar
+ fi
+
Execute chmod 755 $DEST_SGE_ROOT/util/resources/jsv/jsv.sh \
$DEST_SGE_ROOT/util/resources/jsv/jjsv.sh \
$DEST_SGE_ROOT/util/resources/jsv/jsv.pl \
@@ -1085,9 +1088,6 @@
if [ -f CLASSES/herd/herd.jar ]; then
Execute cp CLASSES/herd/herd.jar $DEST_SGE_ROOT/lib/herd.jar
- elif [ $exit_on_error = true ]; then
- echo "\"CLASSES/herd/herd.jar\" not found. Installation failed."
- exit 1
fi
fi

View File

@@ -0,0 +1,125 @@
$NetBSD: patch-bl,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/libs/comm/cl_ssl_framework.c.orig 2009-02-16 08:50:41.000000000 +0000
+++ source/libs/comm/cl_ssl_framework.c
@@ -104,6 +104,9 @@
#define OPENSSL_CONST const
#endif
+#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10000000L
+typedef _STACK STACK;
+#endif
#define cl_com_ssl_func__SSL_CTX_set_mode(ctx,op) \
cl_com_ssl_func__SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
@@ -161,8 +164,8 @@ static int (*cl_com_ssl
static void (*cl_com_ssl_func__SSL_set_bio) (SSL *s, BIO *rbio,BIO *wbio);
static int (*cl_com_ssl_func__SSL_accept) (SSL *ssl);
static void (*cl_com_ssl_func__SSL_CTX_free) (SSL_CTX *);
-static SSL_CTX* (*cl_com_ssl_func__SSL_CTX_new) (SSL_METHOD *meth);
-static SSL_METHOD* (*cl_com_ssl_func__SSLv23_method) (void);
+static SSL_CTX* (*cl_com_ssl_func__SSL_CTX_new) (const SSL_METHOD *meth);
+static const SSL_METHOD* (*cl_com_ssl_func__SSLv23_method) (void);
static int (*cl_com_ssl_func__SSL_CTX_use_certificate_chain_file) (SSL_CTX *ctx, const char *file);
static int (*cl_com_ssl_func__SSL_CTX_use_certificate) (SSL_CTX *ctx, X509 *cert);
static int (*cl_com_ssl_func__SSL_CTX_use_PrivateKey_file) (SSL_CTX *ctx, const char *file, int type);
@@ -243,9 +246,9 @@ static void (*cl_com_ssl
static void (*cl_com_ssl_func__X509_STORE_CTX_set_error) (X509_STORE_CTX *ctx,int s);
static void (*cl_com_ssl_func__X509_OBJECT_free_contents) (X509_OBJECT *a);
static ASN1_INTEGER* (*cl_com_ssl_func__X509_get_serialNumber) (X509 *x);
-static int (*cl_com_ssl_func__X509_cmp_current_time) (ASN1_TIME *s);
-static int (*cl_com_ssl_func__ASN1_INTEGER_cmp) (ASN1_INTEGER *x, ASN1_INTEGER *y);
-static long (*cl_com_ssl_func__ASN1_INTEGER_get) (ASN1_INTEGER *a);
+static int (*cl_com_ssl_func__X509_cmp_current_time) (const ASN1_TIME *s);
+static int (*cl_com_ssl_func__ASN1_INTEGER_cmp) (const ASN1_INTEGER *x, const ASN1_INTEGER *y);
+static long (*cl_com_ssl_func__ASN1_INTEGER_get) (const ASN1_INTEGER *a);
static int (*cl_com_ssl_func__X509_CRL_verify) (X509_CRL *a, EVP_PKEY *r);
static EVP_PKEY* (*cl_com_ssl_func__X509_get_pubkey) (X509 *x);
static int (*cl_com_ssl_func__X509_STORE_set_default_paths) (X509_STORE *ctx);
@@ -1040,7 +1043,7 @@ static int cl_com_ssl_build_symbol_table
{
char* func_name = NULL;
int had_errors = 0;
-#if defined(FREEBSD) || defined(DARWIN)
+#if defined(NETBSD) || defined(FREEBSD) || defined(DARWIN)
void* cl_com_ssl_crypto_handle_saved = NULL;
#endif
@@ -1062,7 +1065,7 @@ static int cl_com_ssl_build_symbol_table
cl_com_ssl_crypto_handle = dlopen ("libssl.dylib", RTLD_NOW | RTLD_GLOBAL );
#endif /* RTLD_NODELETE */
-#elif defined(FREEBSD)
+#elif defined(NETBSD) || defined(FREEBSD)
#ifdef RTLD_NODELETE
cl_com_ssl_crypto_handle = dlopen ("libssl.so", RTLD_LAZY | RTLD_GLOBAL | RTLD_NODELETE);
#else
@@ -1091,7 +1094,7 @@ static int cl_com_ssl_build_symbol_table
return CL_RETVAL_SSL_DLOPEN_SSL_LIB_FAILED;
}
-#if defined(FREEBSD) || defined(DARWIN)
+#if defined(NETBSD) || defined(FREEBSD) || defined(DARWIN)
cl_com_ssl_crypto_handle_saved = cl_com_ssl_crypto_handle;
cl_com_ssl_crypto_handle = RTLD_DEFAULT;
#endif
@@ -1204,14 +1207,14 @@ static int cl_com_ssl_build_symbol_table
}
func_name = "SSL_CTX_new";
- cl_com_ssl_func__SSL_CTX_new = (SSL_CTX* (*)(SSL_METHOD *meth))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__SSL_CTX_new = (SSL_CTX* (*)(const SSL_METHOD *meth))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__SSL_CTX_new == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
}
func_name = "SSLv23_method";
- cl_com_ssl_func__SSLv23_method = (SSL_METHOD* (*)(void))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__SSLv23_method = (const SSL_METHOD* (*)(void))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__SSLv23_method == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
@@ -1750,21 +1753,21 @@ static int cl_com_ssl_build_symbol_table
}
func_name = "X509_cmp_current_time";
- cl_com_ssl_func__X509_cmp_current_time = (int (*)(ASN1_TIME *s))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__X509_cmp_current_time = (int (*)(const ASN1_TIME *s))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__X509_cmp_current_time == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
}
func_name = "ASN1_INTEGER_cmp";
- cl_com_ssl_func__ASN1_INTEGER_cmp = (int (*)(ASN1_INTEGER *x, ASN1_INTEGER *y))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__ASN1_INTEGER_cmp = (int (*)(const ASN1_INTEGER *x, const ASN1_INTEGER *y))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__ASN1_INTEGER_cmp == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
}
func_name = "ASN1_INTEGER_get";
- cl_com_ssl_func__ASN1_INTEGER_get = (long (*)(ASN1_INTEGER *a))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__ASN1_INTEGER_get = (long (*)(const ASN1_INTEGER *a))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__ASN1_INTEGER_get == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
@@ -1813,7 +1816,7 @@ static int cl_com_ssl_build_symbol_table
return CL_RETVAL_SSL_CANT_LOAD_ALL_FUNCTIONS;
}
-#if defined(FREEBSD)
+#if defined(FREEBSD) || defined(NETBSD)
cl_com_ssl_crypto_handle = cl_com_ssl_crypto_handle_saved;
#endif
@@ -1918,7 +1921,7 @@ static int cl_com_ssl_build_symbol_table
cl_com_ssl_func__SSL_CTX_get_ex_data = (void* (*)(SSL_CTX *ssl,int idx))SSL_CTX_get_ex_data;
cl_com_ssl_func__SSL_CTX_set_ex_data = SSL_CTX_set_ex_data;
cl_com_ssl_func__sk_num = sk_num;
- cl_com_ssl_func__sk_value = sk_value;
+ cl_com_ssl_func__sk_value = (char* (*)(const STACK *, int))sk_value;
cl_com_ssl_func__X509_STORE_get_by_subject = X509_STORE_get_by_subject;
cl_com_ssl_func__EVP_PKEY_free = EVP_PKEY_free;
cl_com_ssl_func__X509_STORE_CTX_set_error = X509_STORE_CTX_set_error;

View File

@@ -0,0 +1,60 @@
$NetBSD: patch-bm,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
DESTDIR support.
--- source/dist/util/setfileperm.sh.orig 2011-11-14 23:00:55.000000000 +0400
+++ source/dist/util/setfileperm.sh 2012-02-22 01:42:23.000000000 +0400
@@ -49,7 +49,7 @@
PATH=/bin:/usr/bin:/usr/sbin
FILELIST="3rd_party bin ckpt dtrace examples inst_sge install_execd install_qmaster \
- lib mpi pvm qmon util utilbin start_gui_installer"
+ lib mpi pvm qmon util utilbin"
OPTFILES="catman doc include man hadoop"
@@ -81,7 +81,7 @@
instauto=false
-if [ -z "$SGE_ROOT" -o ! -d "$SGE_ROOT" ]; then
+if [ -z "$SGE_ROOT" -o ! -d "$DESTDIR$SGE_ROOT" ]; then
echo
echo ERROR: Please set your \$SGE_ROOT environment variable
echo and start this script again. Exit.
@@ -89,7 +89,7 @@
exit 1
fi
-if [ ! -f "$SGE_ROOT/util/arch" ]; then
+if [ ! -f "$DESTDIR$SGE_ROOT/util/arch" ]; then
echo
echo ERROR: The shell script \"$SGE_ROOT/util/arch\" does not exist.
echo Please verify your distribution and restart this script. Exit.
@@ -97,7 +97,7 @@
exit 1
fi
-if [ ! -f $SGE_ROOT/util/arch_variables ]; then
+if [ ! -f "$DESTDIR$SGE_ROOT"/util/arch_variables ]; then
echo
echo ERROR: Missing shell script \"$SGE_ROOT/util/arch_variables\".
echo Please verify your distribution and restart this script. Exit.
@@ -105,7 +105,7 @@
exit 1
fi
-. $SGE_ROOT/util/arch_variables
+. "$DESTDIR$SGE_ROOT"/util/arch_variables
if [ $ARCH = "win32-x86" ]; then
echo
@@ -183,7 +183,7 @@
done
fi
-cd $1
+cd $DESTDIR$1
if [ $? != 0 ]; then
$ECHO "ERROR: can't change to directory \"$1\". Exiting."
exit 1

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-daemons_common_procfs.c,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/daemons/common/procfs.c.orig 2006-03-10 06:03:19.000000000 +0000
+++ source/daemons/common/procfs.c
@@ -338,6 +338,8 @@ void procfs_kill_addgrpid(gid_t add_grp_
* uids[3], gids[3] => FSUID and FSGID
*/
groups = 0;
+ /* silence gcc's -Werror */
+ uids[0] = uids[1] = gids[0] = gids[1] = 0;
while (fgets(buffer, sizeof(buffer), fp)) {
char *label = NULL;
char *token = NULL;

10
parallel/hwloc/DESCR Normal file
View File

@@ -0,0 +1,10 @@
The Portable Hardware Locality (hwloc) software package provides
a portable abstraction (across OS, versions, architectures, ...)
of the hierarchical topology of modern architectures, including
NUMA memory nodes, sockets, shared caches, cores and
simultaneous multithreading. It also gathers various system
attributes such as cache and memory information as well as the
locality of I/O devices such as network interfaces, InfiniBand
HCAs or GPUs. It primarily aims at helping applications with
gathering information about modern computing hardware so as to
exploit it accordingly and efficiently.

8
parallel/hwloc/MESSAGE Normal file
View File

@@ -0,0 +1,8 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2012/03/21 13:31:35 asau Exp $
On NetBSD setting CPU affinity requires super-user privileges.
Ordinary users can be allowed to control CPU affinity of their threads
via the security.models.extensions.user_set_cpu_affinity sysctl.
===========================================================================

29
parallel/hwloc/Makefile Normal file
View File

@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.13 2013/06/04 22:16:57 tron Exp $
DISTNAME= hwloc-1.7
PKGREVISION= 2
CATEGORIES= parallel
MASTER_SITES= http://www.open-mpi.org/software/hwloc/v${PKGVERSION_NOREV}/downloads/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://www.open-mpi.org/projects/hwloc/
COMMENT= Portable Hardware Locality
LICENSE= modified-bsd
USE_LIBTOOL= yes
USE_TOOLS+= aclocal automake autoconf autoreconf pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-picky
TEST_TARGET= check
pre-configure:
cd ${WRKSRC} && autoreconf -ivf
# libpci??
#.include "../../graphics/cairo/buildlink3.mk" # optional
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

393
parallel/hwloc/PLIST Normal file
View File

@@ -0,0 +1,393 @@
@comment $NetBSD: PLIST,v 1.3 2013/04/15 20:46:17 adam Exp $
bin/hwloc-annotate
bin/hwloc-assembler
bin/hwloc-assembler-remote
bin/hwloc-bind
bin/hwloc-calc
bin/hwloc-distances
bin/hwloc-distrib
bin/hwloc-info
bin/hwloc-ls
bin/hwloc-ps
bin/lstopo
bin/lstopo-no-graphics
include/hwloc.h
include/hwloc/autogen/config.h
include/hwloc/bitmap.h
include/hwloc/cuda.h
include/hwloc/cudart.h
include/hwloc/gl.h
include/hwloc/helper.h
include/hwloc/intel-mic.h
include/hwloc/myriexpress.h
include/hwloc/nvml.h
include/hwloc/opencl.h
include/hwloc/openfabrics-verbs.h
include/hwloc/plugins.h
include/hwloc/rename.h
lib/libhwloc.la
lib/pkgconfig/hwloc.pc
man/man1/hwloc-annotate.1
man/man1/hwloc-assembler-remote.1
man/man1/hwloc-assembler.1
man/man1/hwloc-bind.1
man/man1/hwloc-calc.1
man/man1/hwloc-distances.1
man/man1/hwloc-distrib.1
man/man1/hwloc-info.1
man/man1/hwloc-ls.1
man/man1/hwloc-ps.1
man/man1/lstopo-no-graphics.1
man/man1/lstopo.1
man/man3/HWLOC_API_VERSION.3
man/man3/HWLOC_CPUBIND_NOMEMBIND.3
man/man3/HWLOC_CPUBIND_PROCESS.3
man/man3/HWLOC_CPUBIND_STRICT.3
man/man3/HWLOC_CPUBIND_THREAD.3
man/man3/HWLOC_MEMBIND_BIND.3
man/man3/HWLOC_MEMBIND_DEFAULT.3
man/man3/HWLOC_MEMBIND_FIRSTTOUCH.3
man/man3/HWLOC_MEMBIND_INTERLEAVE.3
man/man3/HWLOC_MEMBIND_MIGRATE.3
man/man3/HWLOC_MEMBIND_MIXED.3
man/man3/HWLOC_MEMBIND_NEXTTOUCH.3
man/man3/HWLOC_MEMBIND_NOCPUBIND.3
man/man3/HWLOC_MEMBIND_PROCESS.3
man/man3/HWLOC_MEMBIND_REPLICATE.3
man/man3/HWLOC_MEMBIND_STRICT.3
man/man3/HWLOC_MEMBIND_THREAD.3
man/man3/HWLOC_OBJ_BRIDGE.3
man/man3/HWLOC_OBJ_BRIDGE_HOST.3
man/man3/HWLOC_OBJ_BRIDGE_PCI.3
man/man3/HWLOC_OBJ_CACHE.3
man/man3/HWLOC_OBJ_CACHE_DATA.3
man/man3/HWLOC_OBJ_CACHE_INSTRUCTION.3
man/man3/HWLOC_OBJ_CACHE_UNIFIED.3
man/man3/HWLOC_OBJ_CORE.3
man/man3/HWLOC_OBJ_GROUP.3
man/man3/HWLOC_OBJ_MACHINE.3
man/man3/HWLOC_OBJ_MISC.3
man/man3/HWLOC_OBJ_NODE.3
man/man3/HWLOC_OBJ_OSDEV_BLOCK.3
man/man3/HWLOC_OBJ_OSDEV_COPROC.3
man/man3/HWLOC_OBJ_OSDEV_DMA.3
man/man3/HWLOC_OBJ_OSDEV_GPU.3
man/man3/HWLOC_OBJ_OSDEV_NETWORK.3
man/man3/HWLOC_OBJ_OSDEV_OPENFABRICS.3
man/man3/HWLOC_OBJ_OS_DEVICE.3
man/man3/HWLOC_OBJ_PCI_DEVICE.3
man/man3/HWLOC_OBJ_PU.3
man/man3/HWLOC_OBJ_SOCKET.3
man/man3/HWLOC_OBJ_SYSTEM.3
man/man3/HWLOC_OBJ_TYPE_MAX.3
man/man3/HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES.3
man/man3/HWLOC_RESTRICT_FLAG_ADAPT_IO.3
man/man3/HWLOC_RESTRICT_FLAG_ADAPT_MISC.3
man/man3/HWLOC_TOPOLOGY_FLAG_ICACHES.3
man/man3/HWLOC_TOPOLOGY_FLAG_IO_BRIDGES.3
man/man3/HWLOC_TOPOLOGY_FLAG_IO_DEVICES.3
man/man3/HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM.3
man/man3/HWLOC_TOPOLOGY_FLAG_WHOLE_IO.3
man/man3/HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM.3
man/man3/HWLOC_TYPE_DEPTH_BRIDGE.3
man/man3/HWLOC_TYPE_DEPTH_MULTIPLE.3
man/man3/HWLOC_TYPE_DEPTH_OS_DEVICE.3
man/man3/HWLOC_TYPE_DEPTH_PCI_DEVICE.3
man/man3/HWLOC_TYPE_DEPTH_UNKNOWN.3
man/man3/HWLOC_TYPE_UNORDERED.3
man/man3/hwloc_alloc.3
man/man3/hwloc_alloc_membind.3
man/man3/hwloc_alloc_membind_nodeset.3
man/man3/hwloc_alloc_membind_policy.3
man/man3/hwloc_alloc_membind_policy_nodeset.3
man/man3/hwloc_bitmap_allbut.3
man/man3/hwloc_bitmap_alloc.3
man/man3/hwloc_bitmap_alloc_full.3
man/man3/hwloc_bitmap_and.3
man/man3/hwloc_bitmap_andnot.3
man/man3/hwloc_bitmap_asprintf.3
man/man3/hwloc_bitmap_clr.3
man/man3/hwloc_bitmap_clr_range.3
man/man3/hwloc_bitmap_compare.3
man/man3/hwloc_bitmap_compare_first.3
man/man3/hwloc_bitmap_copy.3
man/man3/hwloc_bitmap_dup.3
man/man3/hwloc_bitmap_fill.3
man/man3/hwloc_bitmap_first.3
man/man3/hwloc_bitmap_foreach_begin.3
man/man3/hwloc_bitmap_foreach_end.3
man/man3/hwloc_bitmap_free.3
man/man3/hwloc_bitmap_from_ith_ulong.3
man/man3/hwloc_bitmap_from_ulong.3
man/man3/hwloc_bitmap_intersects.3
man/man3/hwloc_bitmap_isequal.3
man/man3/hwloc_bitmap_isfull.3
man/man3/hwloc_bitmap_isincluded.3
man/man3/hwloc_bitmap_isset.3
man/man3/hwloc_bitmap_iszero.3
man/man3/hwloc_bitmap_last.3
man/man3/hwloc_bitmap_list_asprintf.3
man/man3/hwloc_bitmap_list_snprintf.3
man/man3/hwloc_bitmap_list_sscanf.3
man/man3/hwloc_bitmap_next.3
man/man3/hwloc_bitmap_not.3
man/man3/hwloc_bitmap_only.3
man/man3/hwloc_bitmap_or.3
man/man3/hwloc_bitmap_set.3
man/man3/hwloc_bitmap_set_ith_ulong.3
man/man3/hwloc_bitmap_set_range.3
man/man3/hwloc_bitmap_singlify.3
man/man3/hwloc_bitmap_snprintf.3
man/man3/hwloc_bitmap_sscanf.3
man/man3/hwloc_bitmap_t.3
man/man3/hwloc_bitmap_taskset_asprintf.3
man/man3/hwloc_bitmap_taskset_snprintf.3
man/man3/hwloc_bitmap_taskset_sscanf.3
man/man3/hwloc_bitmap_to_ith_ulong.3
man/man3/hwloc_bitmap_to_ulong.3
man/man3/hwloc_bitmap_weight.3
man/man3/hwloc_bitmap_xor.3
man/man3/hwloc_bitmap_zero.3
man/man3/hwloc_bridge_covers_pcibus.3
man/man3/hwloc_compare_types.3
man/man3/hwloc_compare_types_e.3
man/man3/hwloc_const_bitmap_t.3
man/man3/hwloc_const_cpuset_t.3
man/man3/hwloc_const_nodeset_t.3
man/man3/hwloc_cpubind_flags_t.3
man/man3/hwloc_cpuset_from_glibc_sched_affinity.3
man/man3/hwloc_cpuset_from_linux_libnuma_bitmask.3
man/man3/hwloc_cpuset_from_linux_libnuma_ulongs.3
man/man3/hwloc_cpuset_from_nodeset.3
man/man3/hwloc_cpuset_from_nodeset_strict.3
man/man3/hwloc_cpuset_t.3
man/man3/hwloc_cpuset_to_glibc_sched_affinity.3
man/man3/hwloc_cpuset_to_linux_libnuma_bitmask.3
man/man3/hwloc_cpuset_to_linux_libnuma_ulongs.3
man/man3/hwloc_cpuset_to_nodeset.3
man/man3/hwloc_cpuset_to_nodeset_strict.3
man/man3/hwloc_cuda_get_device_cpuset.3
man/man3/hwloc_cuda_get_device_osdev.3
man/man3/hwloc_cuda_get_device_osdev_by_index.3
man/man3/hwloc_cuda_get_device_pci_ids.3
man/man3/hwloc_cuda_get_device_pcidev.3
man/man3/hwloc_cudart_get_device_cpuset.3
man/man3/hwloc_cudart_get_device_osdev_by_index.3
man/man3/hwloc_cudart_get_device_pci_ids.3
man/man3/hwloc_cudart_get_device_pcidev.3
man/man3/hwloc_custom_insert_group_object_by_parent.3
man/man3/hwloc_custom_insert_topology.3
man/man3/hwloc_distances_s.3
man/man3/hwloc_distribute.3
man/man3/hwloc_distributev.3
man/man3/hwloc_export_obj_userdata.3
man/man3/hwloc_export_obj_userdata_base64.3
man/man3/hwloc_free.3
man/man3/hwloc_free_xmlbuffer.3
man/man3/hwloc_get_ancestor_obj_by_depth.3
man/man3/hwloc_get_ancestor_obj_by_type.3
man/man3/hwloc_get_api_version.3
man/man3/hwloc_get_area_membind.3
man/man3/hwloc_get_area_membind_nodeset.3
man/man3/hwloc_get_cache_covering_cpuset.3
man/man3/hwloc_get_cache_type_depth.3
man/man3/hwloc_get_child_covering_cpuset.3
man/man3/hwloc_get_closest_objs.3
man/man3/hwloc_get_common_ancestor_obj.3
man/man3/hwloc_get_cpubind.3
man/man3/hwloc_get_depth_type.3
man/man3/hwloc_get_distance_matrix_covering_obj_by_depth.3
man/man3/hwloc_get_first_largest_obj_inside_cpuset.3
man/man3/hwloc_get_hostbridge_by_pcibus.3
man/man3/hwloc_get_largest_objs_inside_cpuset.3
man/man3/hwloc_get_last_cpu_location.3
man/man3/hwloc_get_latency.3
man/man3/hwloc_get_membind.3
man/man3/hwloc_get_membind_nodeset.3
man/man3/hwloc_get_nbobjs_by_depth.3
man/man3/hwloc_get_nbobjs_by_type.3
man/man3/hwloc_get_nbobjs_inside_cpuset_by_depth.3
man/man3/hwloc_get_nbobjs_inside_cpuset_by_type.3
man/man3/hwloc_get_next_bridge.3
man/man3/hwloc_get_next_child.3
man/man3/hwloc_get_next_obj_by_depth.3
man/man3/hwloc_get_next_obj_by_type.3
man/man3/hwloc_get_next_obj_covering_cpuset_by_depth.3
man/man3/hwloc_get_next_obj_covering_cpuset_by_type.3
man/man3/hwloc_get_next_obj_inside_cpuset_by_depth.3
man/man3/hwloc_get_next_obj_inside_cpuset_by_type.3
man/man3/hwloc_get_next_osdev.3
man/man3/hwloc_get_next_pcidev.3
man/man3/hwloc_get_non_io_ancestor_obj.3
man/man3/hwloc_get_obj_below_array_by_type.3
man/man3/hwloc_get_obj_below_by_type.3
man/man3/hwloc_get_obj_by_depth.3
man/man3/hwloc_get_obj_by_type.3
man/man3/hwloc_get_obj_covering_cpuset.3
man/man3/hwloc_get_obj_index_inside_cpuset.3
man/man3/hwloc_get_obj_inside_cpuset_by_depth.3
man/man3/hwloc_get_obj_inside_cpuset_by_type.3
man/man3/hwloc_get_pcidev_by_busid.3
man/man3/hwloc_get_pcidev_by_busidstring.3
man/man3/hwloc_get_proc_cpubind.3
man/man3/hwloc_get_proc_last_cpu_location.3
man/man3/hwloc_get_proc_membind.3
man/man3/hwloc_get_proc_membind_nodeset.3
man/man3/hwloc_get_pu_obj_by_os_index.3
man/man3/hwloc_get_root_obj.3
man/man3/hwloc_get_shared_cache_covering_obj.3
man/man3/hwloc_get_thread_cpubind.3
man/man3/hwloc_get_type_depth.3
man/man3/hwloc_get_type_depth_e.3
man/man3/hwloc_get_type_or_above_depth.3
man/man3/hwloc_get_type_or_below_depth.3
man/man3/hwloc_get_whole_distance_matrix_by_depth.3
man/man3/hwloc_get_whole_distance_matrix_by_type.3
man/man3/hwloc_gl_get_display_by_osdev.3
man/man3/hwloc_gl_get_display_osdev_by_name.3
man/man3/hwloc_gl_get_display_osdev_by_port_device.3
man/man3/hwloc_ibv_get_device_cpuset.3
man/man3/hwloc_ibv_get_device_osdev.3
man/man3/hwloc_ibv_get_device_osdev_by_name.3
man/man3/hwloc_intel_mic_get_device_cpuset.3
man/man3/hwloc_intel_mic_get_device_osdev_by_index.3
man/man3/hwloc_linux_get_tid_cpubind.3
man/man3/hwloc_linux_parse_cpumap_file.3
man/man3/hwloc_linux_set_tid_cpubind.3
man/man3/hwloc_membind_flags_t.3
man/man3/hwloc_membind_policy_t.3
man/man3/hwloc_mx_board_get_device_cpuset.3
man/man3/hwloc_mx_endpoint_get_device_cpuset.3
man/man3/hwloc_nodeset_from_linux_libnuma_bitmask.3
man/man3/hwloc_nodeset_from_linux_libnuma_ulongs.3
man/man3/hwloc_nodeset_t.3
man/man3/hwloc_nodeset_to_linux_libnuma_bitmask.3
man/man3/hwloc_nodeset_to_linux_libnuma_ulongs.3
man/man3/hwloc_nvml_get_device_cpuset.3
man/man3/hwloc_nvml_get_device_osdev.3
man/man3/hwloc_nvml_get_device_osdev_by_index.3
man/man3/hwloc_obj.3
man/man3/hwloc_obj_add_info.3
man/man3/hwloc_obj_attr_snprintf.3
man/man3/hwloc_obj_attr_u.3
man/man3/hwloc_obj_attr_u_hwloc_bridge_attr_s.3
man/man3/hwloc_obj_attr_u_hwloc_cache_attr_s.3
man/man3/hwloc_obj_attr_u_hwloc_group_attr_s.3
man/man3/hwloc_obj_attr_u_hwloc_osdev_attr_s.3
man/man3/hwloc_obj_attr_u_hwloc_pcidev_attr_s.3
man/man3/hwloc_obj_bridge_type_e.3
man/man3/hwloc_obj_bridge_type_t.3
man/man3/hwloc_obj_cache_type_e.3
man/man3/hwloc_obj_cache_type_t.3
man/man3/hwloc_obj_cpuset_snprintf.3
man/man3/hwloc_obj_get_info_by_name.3
man/man3/hwloc_obj_info_s.3
man/man3/hwloc_obj_is_in_subtree.3
man/man3/hwloc_obj_memory_s.3
man/man3/hwloc_obj_memory_s_hwloc_obj_memory_page_type_s.3
man/man3/hwloc_obj_osdev_type_e.3
man/man3/hwloc_obj_osdev_type_t.3
man/man3/hwloc_obj_snprintf.3
man/man3/hwloc_obj_t.3
man/man3/hwloc_obj_type_of_string.3
man/man3/hwloc_obj_type_snprintf.3
man/man3/hwloc_obj_type_string.3
man/man3/hwloc_obj_type_t.3
man/man3/hwloc_opencl_get_device_cpuset.3
man/man3/hwloc_opencl_get_device_osdev.3
man/man3/hwloc_opencl_get_device_osdev_by_index.3
man/man3/hwloc_restrict_flags_e.3
man/man3/hwloc_set_area_membind.3
man/man3/hwloc_set_area_membind_nodeset.3
man/man3/hwloc_set_cpubind.3
man/man3/hwloc_set_membind.3
man/man3/hwloc_set_membind_nodeset.3
man/man3/hwloc_set_proc_cpubind.3
man/man3/hwloc_set_proc_membind.3
man/man3/hwloc_set_proc_membind_nodeset.3
man/man3/hwloc_set_thread_cpubind.3
man/man3/hwloc_topology_check.3
man/man3/hwloc_topology_cpubind_support.3
man/man3/hwloc_topology_destroy.3
man/man3/hwloc_topology_discovery_support.3
man/man3/hwloc_topology_export_xml.3
man/man3/hwloc_topology_export_xmlbuffer.3
man/man3/hwloc_topology_flags_e.3
man/man3/hwloc_topology_get_allowed_cpuset.3
man/man3/hwloc_topology_get_allowed_nodeset.3
man/man3/hwloc_topology_get_complete_cpuset.3
man/man3/hwloc_topology_get_complete_nodeset.3
man/man3/hwloc_topology_get_depth.3
man/man3/hwloc_topology_get_flags.3
man/man3/hwloc_topology_get_online_cpuset.3
man/man3/hwloc_topology_get_support.3
man/man3/hwloc_topology_get_topology_cpuset.3
man/man3/hwloc_topology_get_topology_nodeset.3
man/man3/hwloc_topology_ignore_all_keep_structure.3
man/man3/hwloc_topology_ignore_type.3
man/man3/hwloc_topology_ignore_type_keep_structure.3
man/man3/hwloc_topology_init.3
man/man3/hwloc_topology_insert_misc_object_by_cpuset.3
man/man3/hwloc_topology_insert_misc_object_by_parent.3
man/man3/hwloc_topology_is_thissystem.3
man/man3/hwloc_topology_load.3
man/man3/hwloc_topology_membind_support.3
man/man3/hwloc_topology_restrict.3
man/man3/hwloc_topology_set_custom.3
man/man3/hwloc_topology_set_distance_matrix.3
man/man3/hwloc_topology_set_flags.3
man/man3/hwloc_topology_set_fsroot.3
man/man3/hwloc_topology_set_pid.3
man/man3/hwloc_topology_set_synthetic.3
man/man3/hwloc_topology_set_userdata_export_callback.3
man/man3/hwloc_topology_set_userdata_import_callback.3
man/man3/hwloc_topology_set_xml.3
man/man3/hwloc_topology_set_xmlbuffer.3
man/man3/hwloc_topology_support.3
man/man3/hwloc_topology_t.3
man/man3/hwlocality_advanced_io.3
man/man3/hwlocality_api_version.3
man/man3/hwlocality_bitmap.3
man/man3/hwlocality_configuration.3
man/man3/hwlocality_conversion.3
man/man3/hwlocality_cpubinding.3
man/man3/hwlocality_creation.3
man/man3/hwlocality_cuda.3
man/man3/hwlocality_cudart.3
man/man3/hwlocality_custom.3
man/man3/hwlocality_distances.3
man/man3/hwlocality_gl.3
man/man3/hwlocality_glibc_sched.3
man/man3/hwlocality_helper_binding.3
man/man3/hwlocality_helper_cpuset.3
man/man3/hwlocality_helper_find_cache.3
man/man3/hwlocality_helper_find_covering.3
man/man3/hwlocality_helper_find_coverings.3
man/man3/hwlocality_helper_find_inside.3
man/man3/hwlocality_helper_nodeset.3
man/man3/hwlocality_helper_nodeset_convert.3
man/man3/hwlocality_helper_traversal.3
man/man3/hwlocality_helper_traversal_basic.3
man/man3/hwlocality_helper_types.3
man/man3/hwlocality_information.3
man/man3/hwlocality_intel_mic.3
man/man3/hwlocality_linux.3
man/man3/hwlocality_linux_libnuma_bitmask.3
man/man3/hwlocality_linux_libnuma_ulongs.3
man/man3/hwlocality_membinding.3
man/man3/hwlocality_myriexpress.3
man/man3/hwlocality_nvml.3
man/man3/hwlocality_objects.3
man/man3/hwlocality_opencl.3
man/man3/hwlocality_openfabrics.3
man/man3/hwlocality_sets.3
man/man3/hwlocality_tinker.3
man/man3/hwlocality_topology.3
man/man3/hwlocality_traversal.3
man/man3/hwlocality_types.3
man/man3/hwlocality_xmlexport.3
man/man7/hwloc.7
share/doc/hwloc/hwloc-a4.pdf
share/doc/hwloc/hwloc-letter.pdf
share/hwloc/hwloc-valgrind.supp
share/hwloc/hwloc.dtd

View File

@@ -0,0 +1,6 @@
@comment $NetBSD: PLIST.Linux,v 1.1 2013/03/19 20:06:10 sbd Exp $
bin/hwloc-gather-topology
include/hwloc/glibc-sched.h
include/hwloc/linux-libnuma.h
include/hwloc/linux.h
man/man1/hwloc-gather-topology.1

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.SunOS,v 1.1 2013/03/20 05:33:24 asau Exp $
include/hwloc/solaris-chiptype.h

View File

@@ -0,0 +1,14 @@
# $NetBSD: buildlink3.mk,v 1.3 2013/04/15 20:46:17 adam Exp $
BUILDLINK_TREE+= hwloc
.if !defined(HWLOC_BUILDLINK3_MK)
HWLOC_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hwloc+= hwloc>=1.4
BUILDLINK_PKGSRCDIR.hwloc?= ../../parallel/hwloc
.include "../../textproc/libxml2/buildlink3.mk"
.endif # HWLOC_BUILDLINK3_MK
BUILDLINK_TREE+= -hwloc

5
parallel/hwloc/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.5 2013/04/15 20:46:17 adam Exp $
SHA1 (hwloc-1.7.tar.bz2) = 60f5ca622ee70fbc098f372d7c8e651ed27e7e65
RMD160 (hwloc-1.7.tar.bz2) = f44b43bdd814bc2a52db0bc173dfe162dde14cd1
Size (hwloc-1.7.tar.bz2) = 3300570 bytes

4
parallel/linda/DESCR Normal file
View File

@@ -0,0 +1,4 @@
linda is an simple library implementation of Linda parallel
programming system (http://www.cs.yale.edu/Linda/linda.html). To
write a parallel program with linda, you have to know only 6
functions: spawn, out, in, inp, rd and rdp with linda.

18
parallel/linda/Makefile Normal file
View File

@@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.24 2012/09/15 10:06:08 obache Exp $
#
DISTNAME= linda-0.1.1
PKGREVISION= 10
CATEGORIES= parallel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=linda/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/linda/
COMMENT= Parallel distributed database environment
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

4
parallel/linda/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:10:40 joerg Exp $
include/linda/linda.h
lib/libinda.la
lib/pkgconfig/linda.pc

6
parallel/linda/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2012/11/19 03:01:07 joerg Exp $
SHA1 (linda-0.1.1.tar.gz) = 84cd0a614ce049908a0dbe2dabcc317493534fec
RMD160 (linda-0.1.1.tar.gz) = 0148408654945cebde41639ccbff4b792d35eada
Size (linda-0.1.1.tar.gz) = 187939 bytes
SHA1 (patch-src_tuplespace.c) = f8f7f6de36224ed8435776cb952d8fc862316ffa

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_tuplespace.c,v 1.1 2012/11/19 03:01:07 joerg Exp $
--- src/tuplespace.c.orig 2012-11-19 01:13:47.000000000 +0000
+++ src/tuplespace.c
@@ -285,7 +285,7 @@ TupleResult
tuplespace_enter(Tuple * tuple, GTimeVal * end_time)
{
TupleSlot * slot;
- g_return_if_fail (tuple);
+ g_return_val_if_fail (tuple, TUPLE_HOLD);
slot = &(tuplespace[tuple->hash]);
return (TupleResult)tuple_slot_slot(slot, tuple, end_time);

5
parallel/mpi-ch/DESCR Normal file
View File

@@ -0,0 +1,5 @@
MPICH is a freely available, portable implementation of MPI, MPI-2,
and MPI-3 standard message-passing interface.
Documentation on installing and using MPICH is available, as well as
manual pages for the routines and commands.

58
parallel/mpi-ch/Makefile Normal file
View File

@@ -0,0 +1,58 @@
# $NetBSD: Makefile,v 1.77 2013/05/31 12:41:45 wiz Exp $
DISTNAME= mpich-3.0.4
PKGREVISION= 1
CATEGORIES= parallel
MASTER_SITES= http://www.mpich.org/static/tarballs/${PKGVERSION_NOREV}/
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://www.mpich.org/
COMMENT= Open source MPI, MPI-2, and MPI-3 implementation from Univ. of Chicago
DEPENDS+= bash-[0-9]*:../../shells/bash
#MPI_SUBPREFIX= mpich
#MPI_PREFIX= ${LOCALBASE}/${MPI_SUBPREFIX}
MPI_PREFIX= ${LOCALBASE}
INSTALLATION_PREFIX= ${MPI_PREFIX}
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= perl:run
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${MPI_PREFIX}
CONFIGURE_ARGS+= --datadir=${MPI_PREFIX}/share/${PKGBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --docdir=${MPI_PREFIX}/share/doc/${PKGBASE}
CONFIGURE_ARGS+= --htmldir=${MPI_PREFIX}/share/doc/${PKGBASE}/html
CONFIGURE_ARGS+= --with-openpa-prefix=${BUILDLINK_PREFIX.openpa}
CONFIGURE_ARGS+= --with-hwloc-prefix=${BUILDLINK_PREFIX.hwloc}
CONFIGURE_ARGS+= --with-pm=hydra:gforker
# Make MPI compiler wrapper usable outside pkgsrc:
CONFIGURE_ENV+= WRAPPER_LDFLAGS="-L${MPI_PREFIX}/lib ${COMPILER_RPATH_FLAG}${MPI_PREFIX}/lib"
CONFIGURE_ENV+= MPICH_LDFLAGS="-L${MPI_PREFIX}/lib ${COMPILER_RPATH_FLAG}${MPI_PREFIX}/lib"
PKG_SYSCONFSUBDIR= mpich
BUILDLINK_PASSTHRU_RPATHDIRS+= ${MPI_PREFIX}/lib
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
# FreeBSD 6 hack:
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
BUILDLINK_TRANSFORM+= rm:-lrt
.endif
.include "options.mk"
TEST_TARGET= check
.include "../../parallel/hwloc/buildlink3.mk"
.include "../../parallel/openpa/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

462
parallel/mpi-ch/PLIST Normal file
View File

@@ -0,0 +1,462 @@
@comment $NetBSD: PLIST,v 1.21 2013/05/10 08:24:57 adam Exp $
bin/hydra_nameserver
bin/hydra_persist
bin/hydra_pmi_proxy
${PLIST.mpd}bin/mpd
${PLIST.mpd}bin/mpd.py
${PLIST.mpd}bin/mpdallexit
${PLIST.mpd}bin/mpdallexit.py
${PLIST.mpd}bin/mpdboot
${PLIST.mpd}bin/mpdboot.py
${PLIST.mpd}bin/mpdcheck
${PLIST.mpd}bin/mpdcheck.py
${PLIST.mpd}bin/mpdchkpyver.py
${PLIST.mpd}bin/mpdcleanup
${PLIST.mpd}bin/mpdcleanup.py
${PLIST.mpd}bin/mpdexit
${PLIST.mpd}bin/mpdexit.py
${PLIST.mpd}bin/mpdgdbdrv.py
${PLIST.mpd}bin/mpdhelp
${PLIST.mpd}bin/mpdhelp.py
${PLIST.mpd}bin/mpdkilljob
${PLIST.mpd}bin/mpdkilljob.py
${PLIST.mpd}bin/mpdlib.py
${PLIST.mpd}bin/mpdlistjobs
${PLIST.mpd}bin/mpdlistjobs.py
${PLIST.mpd}bin/mpdman.py
${PLIST.mpd}bin/mpdringtest
${PLIST.mpd}bin/mpdringtest.py
${PLIST.mpd}bin/mpdroot
${PLIST.mpd}bin/mpdrun
${PLIST.mpd}bin/mpdsigjob
${PLIST.mpd}bin/mpdsigjob.py
${PLIST.mpd}bin/mpdtrace
${PLIST.mpd}bin/mpdtrace.py
bin/mpic++
bin/mpicc
bin/mpichversion
bin/mpicxx
bin/mpiexec
bin/mpiexec.gforker
bin/mpiexec.hydra
${PLIST.mpd}bin/mpiexec.mpd
bin/mpif77
${PLIST.f90}bin/mpif90
bin/mpirun
bin/parkill
include/mpi.h
${PLIST.f90}include/mpi.mod
${PLIST.f90}include/mpi_base.mod
${PLIST.f90}include/mpi_constants.mod
include/mpicxx.h
include/mpif.h
include/mpio.h
include/mpiof.h
${PLIST.f90}include/mpi_sizeofs.mod
lib/libfmpich.la
lib/libmpich.la
lib/libmpichcxx.la
${PLIST.f90}lib/libmpichf90.la
lib/libmpl.la
lib/pkgconfig/mpich.pc
man/man1/mpicc.1
man/man1/mpicxx.1
man/man1/mpiexec.1
man/man1/mpif77.1
man/man1/mpif90.1
man/man3/MPIX_Comm_group_failed.3
man/man3/MPIX_Comm_reenable_anysource.3
man/man3/MPIX_Comm_remote_group_failed.3
man/man3/MPI_Abort.3
man/man3/MPI_Accumulate.3
man/man3/MPI_Add_error_class.3
man/man3/MPI_Add_error_code.3
man/man3/MPI_Add_error_string.3
man/man3/MPI_Address.3
man/man3/MPI_Allgather.3
man/man3/MPI_Allgatherv.3
man/man3/MPI_Alloc_mem.3
man/man3/MPI_Allreduce.3
man/man3/MPI_Alltoall.3
man/man3/MPI_Alltoallv.3
man/man3/MPI_Alltoallw.3
man/man3/MPI_Attr_delete.3
man/man3/MPI_Attr_get.3
man/man3/MPI_Attr_put.3
man/man3/MPI_Barrier.3
man/man3/MPI_Bcast.3
man/man3/MPI_Bsend.3
man/man3/MPI_Bsend_init.3
man/man3/MPI_Buffer_attach.3
man/man3/MPI_Buffer_detach.3
man/man3/MPI_Cancel.3
man/man3/MPI_Cart_coords.3
man/man3/MPI_Cart_create.3
man/man3/MPI_Cart_get.3
man/man3/MPI_Cart_map.3
man/man3/MPI_Cart_rank.3
man/man3/MPI_Cart_shift.3
man/man3/MPI_Cart_sub.3
man/man3/MPI_Cartdim_get.3
man/man3/MPI_Close_port.3
man/man3/MPI_Comm_accept.3
man/man3/MPI_Comm_call_errhandler.3
man/man3/MPI_Comm_compare.3
man/man3/MPI_Comm_connect.3
man/man3/MPI_Comm_create.3
man/man3/MPI_Comm_create_errhandler.3
man/man3/MPI_Comm_create_group.3
man/man3/MPI_Comm_create_keyval.3
man/man3/MPI_Comm_delete_attr.3
man/man3/MPI_Comm_disconnect.3
man/man3/MPI_Comm_dup.3
man/man3/MPI_Comm_dup_with_info.3
man/man3/MPI_Comm_free.3
man/man3/MPI_Comm_free_keyval.3
man/man3/MPI_Comm_get_attr.3
man/man3/MPI_Comm_get_errhandler.3
man/man3/MPI_Comm_get_info.3
man/man3/MPI_Comm_get_name.3
man/man3/MPI_Comm_get_parent.3
man/man3/MPI_Comm_group.3
man/man3/MPI_Comm_idup.3
man/man3/MPI_Comm_join.3
man/man3/MPI_Comm_rank.3
man/man3/MPI_Comm_remote_group.3
man/man3/MPI_Comm_remote_size.3
man/man3/MPI_Comm_set_attr.3
man/man3/MPI_Comm_set_errhandler.3
man/man3/MPI_Comm_set_info.3
man/man3/MPI_Comm_set_name.3
man/man3/MPI_Comm_size.3
man/man3/MPI_Comm_spawn.3
man/man3/MPI_Comm_spawn_multiple.3
man/man3/MPI_Comm_split.3
man/man3/MPI_Comm_split_type.3
man/man3/MPI_Comm_test_inter.3
man/man3/MPI_Compare_and_swap.3
man/man3/MPI_Dims_create.3
man/man3/MPI_Dist_graph_create.3
man/man3/MPI_Dist_graph_create_adjacent.3
man/man3/MPI_Dist_graph_neighbors.3
man/man3/MPI_Dist_graph_neighbors_count.3
man/man3/MPI_Errhandler_create.3
man/man3/MPI_Errhandler_free.3
man/man3/MPI_Errhandler_get.3
man/man3/MPI_Errhandler_set.3
man/man3/MPI_Error_class.3
man/man3/MPI_Error_string.3
man/man3/MPI_Exscan.3
man/man3/MPI_Fetch_and_op.3
man/man3/MPI_File_c2f.3
man/man3/MPI_File_call_errhandler.3
man/man3/MPI_File_close.3
man/man3/MPI_File_create_errhandler.3
man/man3/MPI_File_delete.3
man/man3/MPI_File_f2c.3
man/man3/MPI_File_get_amode.3
man/man3/MPI_File_get_atomicity.3
man/man3/MPI_File_get_byte_offset.3
man/man3/MPI_File_get_errhandler.3
man/man3/MPI_File_get_group.3
man/man3/MPI_File_get_info.3
man/man3/MPI_File_get_position.3
man/man3/MPI_File_get_position_shared.3
man/man3/MPI_File_get_size.3
man/man3/MPI_File_get_type_extent.3
man/man3/MPI_File_get_view.3
man/man3/MPI_File_iread.3
man/man3/MPI_File_iread_at.3
man/man3/MPI_File_iread_shared.3
man/man3/MPI_File_iwrite.3
man/man3/MPI_File_iwrite_at.3
man/man3/MPI_File_iwrite_shared.3
man/man3/MPI_File_open.3
man/man3/MPI_File_preallocate.3
man/man3/MPI_File_read.3
man/man3/MPI_File_read_all.3
man/man3/MPI_File_read_all_begin.3
man/man3/MPI_File_read_all_end.3
man/man3/MPI_File_read_at.3
man/man3/MPI_File_read_at_all.3
man/man3/MPI_File_read_at_all_begin.3
man/man3/MPI_File_read_at_all_end.3
man/man3/MPI_File_read_ordered.3
man/man3/MPI_File_read_ordered_begin.3
man/man3/MPI_File_read_ordered_end.3
man/man3/MPI_File_read_shared.3
man/man3/MPI_File_seek.3
man/man3/MPI_File_seek_shared.3
man/man3/MPI_File_set_atomicity.3
man/man3/MPI_File_set_errhandler.3
man/man3/MPI_File_set_info.3
man/man3/MPI_File_set_size.3
man/man3/MPI_File_set_view.3
man/man3/MPI_File_sync.3
man/man3/MPI_File_write.3
man/man3/MPI_File_write_all.3
man/man3/MPI_File_write_all_begin.3
man/man3/MPI_File_write_all_end.3
man/man3/MPI_File_write_at.3
man/man3/MPI_File_write_at_all.3
man/man3/MPI_File_write_at_all_begin.3
man/man3/MPI_File_write_at_all_end.3
man/man3/MPI_File_write_ordered.3
man/man3/MPI_File_write_ordered_begin.3
man/man3/MPI_File_write_ordered_end.3
man/man3/MPI_File_write_shared.3
man/man3/MPI_Finalize.3
man/man3/MPI_Finalized.3
man/man3/MPI_Free_mem.3
man/man3/MPI_Gather.3
man/man3/MPI_Gatherv.3
man/man3/MPI_Get.3
man/man3/MPI_Get_accumulate.3
man/man3/MPI_Get_address.3
man/man3/MPI_Get_count.3
man/man3/MPI_Get_elements.3
man/man3/MPI_Get_elements_x.3
man/man3/MPI_Get_library_version.3
man/man3/MPI_Get_processor_name.3
man/man3/MPI_Get_version.3
man/man3/MPI_Graph_create.3
man/man3/MPI_Graph_get.3
man/man3/MPI_Graph_map.3
man/man3/MPI_Graph_neighbors.3
man/man3/MPI_Graph_neighbors_count.3
man/man3/MPI_Graphdims_get.3
man/man3/MPI_Grequest_complete.3
man/man3/MPI_Grequest_start.3
man/man3/MPI_Group_compare.3
man/man3/MPI_Group_difference.3
man/man3/MPI_Group_excl.3
man/man3/MPI_Group_free.3
man/man3/MPI_Group_incl.3
man/man3/MPI_Group_intersection.3
man/man3/MPI_Group_range_excl.3
man/man3/MPI_Group_range_incl.3
man/man3/MPI_Group_rank.3
man/man3/MPI_Group_size.3
man/man3/MPI_Group_translate_ranks.3
man/man3/MPI_Group_union.3
man/man3/MPI_Iallgather.3
man/man3/MPI_Iallgatherv.3
man/man3/MPI_Iallreduce.3
man/man3/MPI_Ialltoall.3
man/man3/MPI_Ialltoallv.3
man/man3/MPI_Ialltoallw.3
man/man3/MPI_Ibarrier.3
man/man3/MPI_Ibcast.3
man/man3/MPI_Ibsend.3
man/man3/MPI_Iexscan.3
man/man3/MPI_Igather.3
man/man3/MPI_Igatherv.3
man/man3/MPI_Improbe.3
man/man3/MPI_Imrecv.3
man/man3/MPI_Ineighbor_allgather.3
man/man3/MPI_Ineighbor_allgatherv.3
man/man3/MPI_Ineighbor_alltoall.3
man/man3/MPI_Ineighbor_alltoallv.3
man/man3/MPI_Ineighbor_alltoallw.3
man/man3/MPI_Info_create.3
man/man3/MPI_Info_delete.3
man/man3/MPI_Info_dup.3
man/man3/MPI_Info_free.3
man/man3/MPI_Info_get.3
man/man3/MPI_Info_get_nkeys.3
man/man3/MPI_Info_get_nthkey.3
man/man3/MPI_Info_get_valuelen.3
man/man3/MPI_Info_set.3
man/man3/MPI_Init.3
man/man3/MPI_Init_thread.3
man/man3/MPI_Initialized.3
man/man3/MPI_Intercomm_create.3
man/man3/MPI_Intercomm_merge.3
man/man3/MPI_Iprobe.3
man/man3/MPI_Irecv.3
man/man3/MPI_Ireduce.3
man/man3/MPI_Ireduce_scatter.3
man/man3/MPI_Ireduce_scatter_block.3
man/man3/MPI_Irsend.3
man/man3/MPI_Is_thread_main.3
man/man3/MPI_Iscan.3
man/man3/MPI_Iscatter.3
man/man3/MPI_Iscatterv.3
man/man3/MPI_Isend.3
man/man3/MPI_Issend.3
man/man3/MPI_Keyval_create.3
man/man3/MPI_Keyval_free.3
man/man3/MPI_Lookup_name.3
man/man3/MPI_Mprobe.3
man/man3/MPI_Mrecv.3
man/man3/MPI_Neighbor_allgather.3
man/man3/MPI_Neighbor_allgatherv.3
man/man3/MPI_Neighbor_alltoall.3
man/man3/MPI_Neighbor_alltoallv.3
man/man3/MPI_Neighbor_alltoallw.3
man/man3/MPI_Op_commute.3
man/man3/MPI_Op_create.3
man/man3/MPI_Op_free.3
man/man3/MPI_Open_port.3
man/man3/MPI_Pack.3
man/man3/MPI_Pack_external.3
man/man3/MPI_Pack_external_size.3
man/man3/MPI_Pack_size.3
man/man3/MPI_Pcontrol.3
man/man3/MPI_Probe.3
man/man3/MPI_Publish_name.3
man/man3/MPI_Put.3
man/man3/MPI_Query_thread.3
man/man3/MPI_Raccumulate.3
man/man3/MPI_Recv.3
man/man3/MPI_Recv_init.3
man/man3/MPI_Reduce.3
man/man3/MPI_Reduce_local.3
man/man3/MPI_Reduce_scatter.3
man/man3/MPI_Reduce_scatter_block.3
man/man3/MPI_Register_datarep.3
man/man3/MPI_Request_free.3
man/man3/MPI_Request_get_status.3
man/man3/MPI_Rget.3
man/man3/MPI_Rget_accumulate.3
man/man3/MPI_Rput.3
man/man3/MPI_Rsend.3
man/man3/MPI_Rsend_init.3
man/man3/MPI_Scan.3
man/man3/MPI_Scatter.3
man/man3/MPI_Scatterv.3
man/man3/MPI_Send.3
man/man3/MPI_Send_init.3
man/man3/MPI_Sendrecv.3
man/man3/MPI_Sendrecv_replace.3
man/man3/MPI_Ssend.3
man/man3/MPI_Ssend_init.3
man/man3/MPI_Start.3
man/man3/MPI_Startall.3
man/man3/MPI_Status_set_cancelled.3
man/man3/MPI_Status_set_elements.3
man/man3/MPI_Status_set_elements_x.3
man/man3/MPI_T_category_changed.3
man/man3/MPI_T_category_get_categories.3
man/man3/MPI_T_category_get_cvars.3
man/man3/MPI_T_category_get_info.3
man/man3/MPI_T_category_get_num.3
man/man3/MPI_T_category_get_pvars.3
man/man3/MPI_T_cvar_get_info.3
man/man3/MPI_T_cvar_get_num.3
man/man3/MPI_T_cvar_handle_alloc.3
man/man3/MPI_T_cvar_handle_free.3
man/man3/MPI_T_cvar_read.3
man/man3/MPI_T_cvar_write.3
man/man3/MPI_T_enum_get_info.3
man/man3/MPI_T_enum_get_item.3
man/man3/MPI_T_finalize.3
man/man3/MPI_T_init_thread.3
man/man3/MPI_T_pvar_get_info.3
man/man3/MPI_T_pvar_get_num.3
man/man3/MPI_T_pvar_handle_alloc.3
man/man3/MPI_T_pvar_handle_free.3
man/man3/MPI_T_pvar_read.3
man/man3/MPI_T_pvar_readreset.3
man/man3/MPI_T_pvar_reset.3
man/man3/MPI_T_pvar_session_create.3
man/man3/MPI_T_pvar_session_free.3
man/man3/MPI_T_pvar_start.3
man/man3/MPI_T_pvar_stop.3
man/man3/MPI_T_pvar_write.3
man/man3/MPI_Test.3
man/man3/MPI_Test_cancelled.3
man/man3/MPI_Testall.3
man/man3/MPI_Testany.3
man/man3/MPI_Testsome.3
man/man3/MPI_Topo_test.3
man/man3/MPI_Type_commit.3
man/man3/MPI_Type_contiguous.3
man/man3/MPI_Type_create_darray.3
man/man3/MPI_Type_create_hindexed.3
man/man3/MPI_Type_create_hindexed_block.3
man/man3/MPI_Type_create_hvector.3
man/man3/MPI_Type_create_indexed_block.3
man/man3/MPI_Type_create_keyval.3
man/man3/MPI_Type_create_resized.3
man/man3/MPI_Type_create_struct.3
man/man3/MPI_Type_create_subarray.3
man/man3/MPI_Type_delete_attr.3
man/man3/MPI_Type_dup.3
man/man3/MPI_Type_extent.3
man/man3/MPI_Type_free.3
man/man3/MPI_Type_free_keyval.3
man/man3/MPI_Type_get_attr.3
man/man3/MPI_Type_get_contents.3
man/man3/MPI_Type_get_envelope.3
man/man3/MPI_Type_get_extent.3
man/man3/MPI_Type_get_extent_x.3
man/man3/MPI_Type_get_name.3
man/man3/MPI_Type_get_true_extent.3
man/man3/MPI_Type_get_true_extent_x.3
man/man3/MPI_Type_hindexed.3
man/man3/MPI_Type_hvector.3
man/man3/MPI_Type_indexed.3
man/man3/MPI_Type_lb.3
man/man3/MPI_Type_match_size.3
man/man3/MPI_Type_set_attr.3
man/man3/MPI_Type_set_name.3
man/man3/MPI_Type_size.3
man/man3/MPI_Type_size_x.3
man/man3/MPI_Type_struct.3
man/man3/MPI_Type_ub.3
man/man3/MPI_Type_vector.3
man/man3/MPI_Unpack.3
man/man3/MPI_Unpack_external.3
man/man3/MPI_Unpublish_name.3
man/man3/MPI_Wait.3
man/man3/MPI_Waitall.3
man/man3/MPI_Waitany.3
man/man3/MPI_Waitsome.3
man/man3/MPI_Win_allocate.3
man/man3/MPI_Win_allocate_shared.3
man/man3/MPI_Win_attach.3
man/man3/MPI_Win_call_errhandler.3
man/man3/MPI_Win_complete.3
man/man3/MPI_Win_create.3
man/man3/MPI_Win_create_dynamic.3
man/man3/MPI_Win_create_errhandler.3
man/man3/MPI_Win_create_keyval.3
man/man3/MPI_Win_delete_attr.3
man/man3/MPI_Win_detach.3
man/man3/MPI_Win_fence.3
man/man3/MPI_Win_flush.3
man/man3/MPI_Win_flush_all.3
man/man3/MPI_Win_flush_local.3
man/man3/MPI_Win_flush_local_all.3
man/man3/MPI_Win_free.3
man/man3/MPI_Win_free_keyval.3
man/man3/MPI_Win_get_attr.3
man/man3/MPI_Win_get_errhandler.3
man/man3/MPI_Win_get_group.3
man/man3/MPI_Win_get_info.3
man/man3/MPI_Win_get_name.3
man/man3/MPI_Win_lock.3
man/man3/MPI_Win_lock_all.3
man/man3/MPI_Win_post.3
man/man3/MPI_Win_set_attr.3
man/man3/MPI_Win_set_errhandler.3
man/man3/MPI_Win_set_info.3
man/man3/MPI_Win_set_name.3
man/man3/MPI_Win_shared_query.3
man/man3/MPI_Win_start.3
man/man3/MPI_Win_sync.3
man/man3/MPI_Win_test.3
man/man3/MPI_Win_unlock.3
man/man3/MPI_Win_unlock_all.3
man/man3/MPI_Win_wait.3
man/man3/MPI_Wtick.3
man/man3/MPI_Wtime.3
share/doc/mpich/install.pdf
share/doc/mpich/logging.pdf
share/doc/mpich/smpd_pmi.pdf
share/doc/mpich/user.pdf
share/mpich/examples/mpicc.conf
share/mpich/examples/mpicxx.conf
share/mpich/examples/mpif77.conf
${PLIST.f90}share/mpich/examples/mpif90.conf

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.Darwin,v 1.1 2013/05/10 08:25:33 adam Exp $
lib/libpmpich.la

View File

@@ -0,0 +1,18 @@
# $NetBSD: buildlink3.mk,v 1.17 2013/04/30 06:59:27 asau Exp $
BUILDLINK_TREE+= mpich
.if !defined(MPICH_BUILDLINK3_MK)
MPICH_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.mpich+= mpich>=3
BUILDLINK_PKGSRCDIR.mpich?= ../../parallel/mpi-ch
MPI_PREFIX?= $(BUILDLINK_PREFIX.mpich)
FIND_PREFIX:= BUILDLINK_PREFIX.mpich=mpich
.include "../../mk/find-prefix.mk"
.include "../../parallel/openpa/buildlink3.mk"
.endif # MPICH_BUILDLINK3_MK
BUILDLINK_TREE+= -mpich

9
parallel/mpi-ch/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.24 2013/05/10 08:24:57 adam Exp $
SHA1 (mpich-3.0.4.tar.gz) = e89cc8de89d18d5718f7b881f3835b5a0943f897
RMD160 (mpich-3.0.4.tar.gz) = c14b3b335be863dd36c0a58630c969719d8ef217
Size (mpich-3.0.4.tar.gz) = 10921075 bytes
SHA1 (patch-Makefile.in) = 32a78a384ecb94a30631a8a756e746edbe6e0060
SHA1 (patch-configure) = 0e7fec4d30e33387d8b434c6b4e90bab1daa42ba
SHA1 (patch-src_mpid_ch3_channels_nemesis_include_mpidi_ch3_impl.h) = e0f3de9c7c229fee3de5e85e589b88987ef11a11
SHA1 (patch-src_pm_hydra_configure) = c8d25676499386e4a2616db5ab2d86443f29b1f7

View File

@@ -0,0 +1,37 @@
# $NetBSD: options.mk,v 1.3 2013/05/10 08:24:57 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mpich
PKG_SUPPORTED_OPTIONS= debug f90 mpich-mpd threads
PKG_SUGGESTED_OPTIONS= threads
.include "../../mk/bsd.options.mk"
PLIST_VARS+= f90 mpd
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-g=debug # problems
INSTALL_UNSTRIPPED= yes
.endif
.if !empty(PKG_OPTIONS:Mf90)
USE_LANGUAGES+= fortran
PLIST.f90= yes
.else
USE_LANGUAGES+= fortran77
CONFIGURE_ARGS+= --disable-fc
.endif
.if !empty(PKG_OPTIONS:Mthreads)
CONFIGURE_ARGS+= --with-thread-package=posix # aka pthreads
.include "../../mk/pthread.buildlink3.mk"
.endif
# Allow coexistance of MPICH2 and musicpd by disabling MPICH2 parts:
.if !empty(PKG_OPTIONS:Mmpich-mpd)
CONFLICTS+= musicpd-[0-9]* # installs bin/mpd
CONFIGURE_ARGS+= --with-pm=hydra:mpd:gforker
CONFIGURE_ARGS+= --with-python=python${PYVERSSUFFIX}
PLIST.mpd= yes
REPLACE_PYTHON+= src/pm/mpd/*.py src/pm/mpd/test/*.py
.include "../../lang/python/application.mk"
.endif

View File

@@ -0,0 +1,57 @@
$NetBSD: patch-Makefile.in,v 1.2 2013/03/17 17:08:51 asau Exp $
--- Makefile.in.orig 2012-12-20 21:29:15.000000000 +0100
+++ Makefile.in 2013-01-24 16:33:41.164187741 +0100
@@ -5985,6 +5985,7 @@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
+sysconfexampledir = ${datadir}/examples
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
@@ -6163,9 +6164,9 @@
src/mpid/ch3/errnames.txt $(am__append_52) \
src/mpid/common/sock/errnames.txt $(am__append_87) \
src/pmi/errnames.txt
-external_subdirs = src/mpl src/openpa
+external_subdirs = src/mpl # src/openpa
# FIXME how/where does external_libs/ldflags get used?
-external_ldflags = -L$(top_builddir)/src/mpl -L$(top_builddir)/src/openpa/src
+external_ldflags = -L$(top_builddir)/src/mpl # -L$(top_builddir)/src/openpa/src
external_libs = -lmpl -lopa $(am__append_12) $(am__append_13)
# NOTE on our semi-unconventional usage of DIST_SUBDIRS:
@@ -23542,25 +23543,25 @@
dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
+ @list='$(sysconf_DATA)'; test -n "$(sysconfexampledir)" || list=; \
if test -n "$$list"; then \
- echo " $(MKDIR_P) '$(DESTDIR)$(sysconfdir)'"; \
- $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" || exit 1; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(sysconfexampledir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(sysconfexampledir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfexampledir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfexampledir)" || exit $$?; \
done
uninstall-sysconfDATA:
@$(NORMAL_UNINSTALL)
- @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
+ @list='$(sysconf_DATA)'; test -n "$(sysconfexampledir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)
+ dir='$(DESTDIR)$(sysconfexampledir)'; $(am__uninstall_files_from_dir)
install-includeHEADERS: $(include_HEADERS)
@$(NORMAL_INSTALL)
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-configure,v 1.1 2013/04/20 17:39:01 asau Exp $
Make it use weak symbols with Clang.
--- configure.orig 2013-03-28 21:03:38.000000000 +0000
+++ configure
@@ -27768,7 +27768,9 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#ifndef __clang__
extern int PFoo(int);
+#endif
#pragma weak PFoo = Foo
int Foo(int a) { return a; }

View File

@@ -0,0 +1,38 @@
$NetBSD: patch-src_mpid_ch3_channels_nemesis_include_mpidi_ch3_impl.h,v 1.1 2013/04/15 21:40:17 adam Exp $
Use pthread_mutexattr_setpshared() only when available.
--- src/mpid/ch3/channels/nemesis/include/mpidi_ch3_impl.h.orig 2013-04-15 21:03:05.000000000 +0000
+++ src/mpid/ch3/channels/nemesis/include/mpidi_ch3_impl.h
@@ -99,6 +99,7 @@ int MPIDI_CH3_SHM_Win_free(MPID_Win **wi
"**pthread_unlock %s", strerror(pt_err)); \
} while (0)
+#ifdef _POSIX_THREAD_PROCESS_SHARED
#define MPIDI_CH3I_SHM_MUTEX_INIT(win_ptr) \
do { \
int pt_err; \
@@ -117,6 +118,23 @@ int MPIDI_CH3_SHM_Win_free(MPID_Win **wi
MPIU_ERR_CHKANDJUMP1(pt_err, mpi_errno, MPI_ERR_OTHER, "**pthread_mutex", \
"**pthread_mutex %s", strerror(pt_err)); \
} while (0);
+#else
+#define MPIDI_CH3I_SHM_MUTEX_INIT(win_ptr) \
+ do { \
+ int pt_err; \
+ pthread_mutexattr_t attr; \
+ \
+ pt_err = pthread_mutexattr_init(&attr); \
+ MPIU_ERR_CHKANDJUMP1(pt_err, mpi_errno, MPI_ERR_OTHER, "**pthread_mutex", \
+ "**pthread_mutex %s", strerror(pt_err)); \
+ pt_err = pthread_mutex_init((win_ptr)->shm_mutex, &attr); \
+ MPIU_ERR_CHKANDJUMP1(pt_err, mpi_errno, MPI_ERR_OTHER, "**pthread_mutex", \
+ "**pthread_mutex %s", strerror(pt_err)); \
+ pt_err = pthread_mutexattr_destroy(&attr); \
+ MPIU_ERR_CHKANDJUMP1(pt_err, mpi_errno, MPI_ERR_OTHER, "**pthread_mutex", \
+ "**pthread_mutex %s", strerror(pt_err)); \
+ } while (0);
+#endif
#define MPIDI_CH3I_SHM_MUTEX_DESTROY(win_ptr) \
do { \

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_pm_hydra_configure,v 1.2 2013/03/17 17:08:52 asau Exp $
--- src/pm/hydra/configure.orig 2012-12-20 21:28:12.000000000 +0100
+++ src/pm/hydra/configure 2013-01-24 15:36:08.260189221 +0100
@@ -14373,7 +14373,7 @@
cat >>confdefs.h <<_ACEOF
-#define HYDRA_CONFIGURE_ARGS_CLEAN "`echo $ac_configure_args`"
+#define HYDRA_CONFIGURE_ARGS_CLEAN "`echo -n $ac_configure_args`"
_ACEOF

28
parallel/openmpi/DESCR Normal file
View File

@@ -0,0 +1,28 @@
The Open MPI Project is an open source MPI-2 implementation
that is developed and maintained by a consortium of academic,
research, and industry partners. Open MPI is therefore able to
combine the expertise, technologies, and resources from all
across the High Performance Computing community in order to
build the best MPI library available. Open MPI offers advantages
for system and software vendors, application developers and
computer science researchers.
Features implemented or in short-term development for Open MPI
include:
- Full MPI-2 standards conformance
- Thread safety and concurrency
- Dynamic process spawning
- Network and process fault tolerance
- Support network heterogeneity
- Single library supports all networks
- Run-time instrumentation
- Many job schedulers supported
- Many OS's supported (32 and 64 bit)
- Production quality software
- High performance on all platforms
- Portable and maintainable
- Tunable by installers and end-users
- Component-based design, documented APIs
- Active, responsive mailing list
- Open source license based on the BSD license

53
parallel/openmpi/Makefile Normal file
View File

@@ -0,0 +1,53 @@
# $NetBSD: Makefile,v 1.23 2013/05/31 12:41:45 wiz Exp $
DISTNAME= openmpi-1.6.4
PKGREVISION= 1
CATEGORIES= parallel
MASTER_SITES= http://www.open-mpi.org/software/ompi/v1.6/downloads/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://www.open-mpi.org/
COMMENT= Open source MPI-2 implementation
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++ fortran77
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool \
${WRKSRC}/ompi/contrib/vt/vt/extlib/otf/libtool \
${WRKSRC}/ompi/contrib/vt/vt/libtool \
${WRKSRC}/ompi/mca/io/romio/romio/libtool
SHLIBTOOL_OVERRIDE= ${WRKSRC}/config/libtool.m4 \
${WRKSRC}/opal/libltdl/m4/libtool.m4
CONFIGURE_ARGS+= --disable-mpi-f90
CONFIGURE_ARGS+= --without-sge
CONFIGURE_ARGS+= --without-slurm
CONFIGURE_ARGS+= --enable-contrib-no-build=vt # in separate package
CONFIGURE_ARGS+= --with-libltdl=external # use our libltdl
CONFIGURE_ARGS+= --with-hwloc=$(BUILDLINK_PREFIX.hwloc:Q) #external
CONFIGURE_ARGS+= --with-wrapper-ldflags="-L${PREFIX}/lib ${LINKER_RPATH_FLAG}${PREFIX}/lib"
CONFIGURE_ENV+= ompi_cv_f77_have_INTEGERp8=no # no "INTEGER*8"??
CONFIGURE_ARGS+= OPAL_HAVE_LTDL_ADVISE=0
# Prevent detection of OpenMP support in order to make PLIST consistent:
BUILDLINK_TRANSFORM= rm:-fopenmp
USE_TOOLS+= perl:run
.include "options.mk"
TEST_TARGET= check
## Just in case you'll need it...
# USE_TOOLS+= aclocal autoconf automake bash perl
# REPLACE_BASH= autogen.sh
# pre-configure: replace-interpreter
# cd $(WRKSRC) && $(BASH) autogen.sh
LIBLTDL_CONVENIENCE_SUBDIR= opal/libltdl
.include "../../devel/libltdl/convenience.mk" # for "test" target to work
.include "../../devel/libltdl/buildlink3.mk"
.include "../../parallel/hwloc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

563
parallel/openmpi/PLIST Normal file
View File

@@ -0,0 +1,563 @@
@comment $NetBSD: PLIST,v 1.11 2013/02/24 01:22:36 asau Exp $
bin/mpiCC
bin/mpic++
bin/mpicc
bin/mpicxx
bin/mpiexec
bin/mpif77
bin/mpif90
bin/mpirun
bin/ompi-clean
bin/ompi-iof
bin/ompi-probe
bin/ompi-profiler
bin/ompi-ps
bin/ompi-server
bin/ompi-top
bin/ompi_info
bin/opal_wrapper
bin/orte-bootproxy.sh
bin/orte-clean
bin/orte-iof
bin/orte-ps
bin/orte-top
bin/orteCC
bin/orte_wrapper_script
bin/ortec++
bin/ortecc
bin/orted
bin/orterun
include/mpi-ext.h
include/mpi.h
include/mpi_portable_platform.h
include/mpif-common.h
include/mpif-config.h
include/mpif-mpi-io.h
include/mpif.h
include/openmpi/ompi/mpi/cxx/comm.h
include/openmpi/ompi/mpi/cxx/comm_inln.h
include/openmpi/ompi/mpi/cxx/constants.h
include/openmpi/ompi/mpi/cxx/datatype.h
include/openmpi/ompi/mpi/cxx/datatype_inln.h
include/openmpi/ompi/mpi/cxx/errhandler.h
include/openmpi/ompi/mpi/cxx/errhandler_inln.h
include/openmpi/ompi/mpi/cxx/exception.h
include/openmpi/ompi/mpi/cxx/file.h
include/openmpi/ompi/mpi/cxx/file_inln.h
include/openmpi/ompi/mpi/cxx/functions.h
include/openmpi/ompi/mpi/cxx/functions_inln.h
include/openmpi/ompi/mpi/cxx/group.h
include/openmpi/ompi/mpi/cxx/group_inln.h
include/openmpi/ompi/mpi/cxx/info.h
include/openmpi/ompi/mpi/cxx/info_inln.h
include/openmpi/ompi/mpi/cxx/intercomm.h
include/openmpi/ompi/mpi/cxx/intercomm_inln.h
include/openmpi/ompi/mpi/cxx/intracomm.h
include/openmpi/ompi/mpi/cxx/intracomm_inln.h
include/openmpi/ompi/mpi/cxx/mpicxx.h
include/openmpi/ompi/mpi/cxx/op.h
include/openmpi/ompi/mpi/cxx/op_inln.h
include/openmpi/ompi/mpi/cxx/request.h
include/openmpi/ompi/mpi/cxx/request_inln.h
include/openmpi/ompi/mpi/cxx/status.h
include/openmpi/ompi/mpi/cxx/status_inln.h
include/openmpi/ompi/mpi/cxx/topology.h
include/openmpi/ompi/mpi/cxx/topology_inln.h
include/openmpi/ompi/mpi/cxx/win.h
include/openmpi/ompi/mpi/cxx/win_inln.h
lib/libmca_common_sm.la
lib/libmpi.la
lib/libmpi_cxx.la
lib/libmpi_f77.la
lib/libompitrace.la
lib/libopen-pal.la
lib/libopen-rte.la
lib/openmpi/libompi_dbg_msgq.la
lib/openmpi/mca_allocator_basic.la
lib/openmpi/mca_allocator_bucket.la
lib/openmpi/mca_bml_r2.la
lib/openmpi/mca_btl_self.la
lib/openmpi/mca_btl_sm.la
lib/openmpi/mca_btl_tcp.la
lib/openmpi/mca_carto_auto_detect.la
lib/openmpi/mca_carto_file.la
lib/openmpi/mca_coll_basic.la
lib/openmpi/mca_coll_hierarch.la
lib/openmpi/mca_coll_inter.la
lib/openmpi/mca_coll_self.la
lib/openmpi/mca_coll_sm.la
lib/openmpi/mca_coll_sync.la
lib/openmpi/mca_coll_tuned.la
lib/openmpi/mca_crs_none.la
lib/openmpi/mca_dpm_orte.la
lib/openmpi/mca_errmgr_default.la
lib/openmpi/mca_ess_env.la
lib/openmpi/mca_ess_hnp.la
lib/openmpi/mca_ess_singleton.la
lib/openmpi/mca_ess_slave.la
lib/openmpi/mca_ess_tool.la
lib/openmpi/mca_filem_rsh.la
lib/openmpi/mca_grpcomm_bad.la
lib/openmpi/mca_grpcomm_basic.la
lib/openmpi/mca_grpcomm_hier.la
lib/openmpi/mca_io_romio.la
lib/openmpi/mca_iof_hnp.la
lib/openmpi/mca_iof_orted.la
lib/openmpi/mca_iof_tool.la
lib/openmpi/mca_maffinity_first_use.la
lib/openmpi/mca_maffinity_hwloc.la
lib/openmpi/mca_mpool_fake.la
lib/openmpi/mca_mpool_rdma.la
lib/openmpi/mca_mpool_sm.la
lib/openmpi/mca_notifier_command.la
lib/openmpi/mca_notifier_syslog.la
lib/openmpi/mca_odls_default.la
lib/openmpi/mca_oob_tcp.la
lib/openmpi/mca_osc_pt2pt.la
lib/openmpi/mca_osc_rdma.la
lib/openmpi/mca_paffinity_hwloc.la
lib/openmpi/mca_plm_rsh.la
lib/openmpi/mca_pml_bfo.la
lib/openmpi/mca_pml_cm.la
lib/openmpi/mca_pml_csum.la
lib/openmpi/mca_pml_ob1.la
lib/openmpi/mca_pml_v.la
lib/openmpi/mca_pubsub_orte.la
lib/openmpi/mca_ras_cm.la
lib/openmpi/mca_rcache_vma.la
lib/openmpi/mca_rmaps_load_balance.la
lib/openmpi/mca_rmaps_rank_file.la
lib/openmpi/mca_rmaps_resilient.la
lib/openmpi/mca_rmaps_round_robin.la
lib/openmpi/mca_rmaps_seq.la
lib/openmpi/mca_rmaps_topo.la
lib/openmpi/mca_rml_oob.la
lib/openmpi/mca_routed_binomial.la
lib/openmpi/mca_routed_cm.la
lib/openmpi/mca_routed_direct.la
lib/openmpi/mca_routed_linear.la
lib/openmpi/mca_routed_radix.la
lib/openmpi/mca_routed_slave.la
lib/openmpi/mca_shmem_mmap.la
lib/openmpi/mca_shmem_sysv.la
lib/openmpi/mca_topo_unity.la
lib/openmpi/mca_vprotocol_pessimist.la
lib/pkgconfig/ompi-c.pc
lib/pkgconfig/ompi-cxx.pc
lib/pkgconfig/ompi-f77.pc
lib/pkgconfig/ompi-f90.pc
lib/pkgconfig/ompi.pc
lib/pkgconfig/orte.pc
man/man1/mpiCC.1
man/man1/mpic++.1
man/man1/mpicc.1
man/man1/mpicxx.1
man/man1/mpiexec.1
man/man1/mpif77.1
man/man1/mpif90.1
man/man1/mpirun.1
man/man1/ompi-clean.1
man/man1/ompi-iof.1
man/man1/ompi-probe.1
man/man1/ompi-profiler.1
man/man1/ompi-ps.1
man/man1/ompi-server.1
man/man1/ompi-top.1
man/man1/ompi_info.1
man/man1/opal_wrapper.1
man/man1/orte-clean.1
man/man1/orte-iof.1
man/man1/orte-ps.1
man/man1/orte-top.1
man/man1/orteCC.1
man/man1/orted.1
man/man1/orterun.1
man/man3/MPI.3
man/man3/MPI_Abort.3
man/man3/MPI_Accumulate.3
man/man3/MPI_Add_error_class.3
man/man3/MPI_Add_error_code.3
man/man3/MPI_Add_error_string.3
man/man3/MPI_Address.3
man/man3/MPI_Allgather.3
man/man3/MPI_Allgatherv.3
man/man3/MPI_Alloc_mem.3
man/man3/MPI_Allreduce.3
man/man3/MPI_Alltoall.3
man/man3/MPI_Alltoallv.3
man/man3/MPI_Alltoallw.3
man/man3/MPI_Attr_delete.3
man/man3/MPI_Attr_get.3
man/man3/MPI_Attr_put.3
man/man3/MPI_Barrier.3
man/man3/MPI_Bcast.3
man/man3/MPI_Bsend.3
man/man3/MPI_Bsend_init.3
man/man3/MPI_Buffer_attach.3
man/man3/MPI_Buffer_detach.3
man/man3/MPI_Cancel.3
man/man3/MPI_Cart_coords.3
man/man3/MPI_Cart_create.3
man/man3/MPI_Cart_get.3
man/man3/MPI_Cart_map.3
man/man3/MPI_Cart_rank.3
man/man3/MPI_Cart_shift.3
man/man3/MPI_Cart_sub.3
man/man3/MPI_Cartdim_get.3
man/man3/MPI_Close_port.3
man/man3/MPI_Comm_accept.3
man/man3/MPI_Comm_c2f.3
man/man3/MPI_Comm_call_errhandler.3
man/man3/MPI_Comm_compare.3
man/man3/MPI_Comm_connect.3
man/man3/MPI_Comm_create.3
man/man3/MPI_Comm_create_errhandler.3
man/man3/MPI_Comm_create_keyval.3
man/man3/MPI_Comm_delete_attr.3
man/man3/MPI_Comm_disconnect.3
man/man3/MPI_Comm_dup.3
man/man3/MPI_Comm_f2c.3
man/man3/MPI_Comm_free.3
man/man3/MPI_Comm_free_keyval.3
man/man3/MPI_Comm_get_attr.3
man/man3/MPI_Comm_get_errhandler.3
man/man3/MPI_Comm_get_name.3
man/man3/MPI_Comm_get_parent.3
man/man3/MPI_Comm_group.3
man/man3/MPI_Comm_join.3
man/man3/MPI_Comm_rank.3
man/man3/MPI_Comm_remote_group.3
man/man3/MPI_Comm_remote_size.3
man/man3/MPI_Comm_set_attr.3
man/man3/MPI_Comm_set_errhandler.3
man/man3/MPI_Comm_set_name.3
man/man3/MPI_Comm_size.3
man/man3/MPI_Comm_spawn.3
man/man3/MPI_Comm_spawn_multiple.3
man/man3/MPI_Comm_split.3
man/man3/MPI_Comm_test_inter.3
man/man3/MPI_Dims_create.3
man/man3/MPI_Errhandler_create.3
man/man3/MPI_Errhandler_free.3
man/man3/MPI_Errhandler_get.3
man/man3/MPI_Errhandler_set.3
man/man3/MPI_Error_class.3
man/man3/MPI_Error_string.3
man/man3/MPI_Exscan.3
man/man3/MPI_File_c2f.3
man/man3/MPI_File_call_errhandler.3
man/man3/MPI_File_close.3
man/man3/MPI_File_create_errhandler.3
man/man3/MPI_File_delete.3
man/man3/MPI_File_f2c.3
man/man3/MPI_File_get_amode.3
man/man3/MPI_File_get_atomicity.3
man/man3/MPI_File_get_byte_offset.3
man/man3/MPI_File_get_errhandler.3
man/man3/MPI_File_get_group.3
man/man3/MPI_File_get_info.3
man/man3/MPI_File_get_position.3
man/man3/MPI_File_get_position_shared.3
man/man3/MPI_File_get_size.3
man/man3/MPI_File_get_type_extent.3
man/man3/MPI_File_get_view.3
man/man3/MPI_File_iread.3
man/man3/MPI_File_iread_at.3
man/man3/MPI_File_iread_shared.3
man/man3/MPI_File_iwrite.3
man/man3/MPI_File_iwrite_at.3
man/man3/MPI_File_iwrite_shared.3
man/man3/MPI_File_open.3
man/man3/MPI_File_preallocate.3
man/man3/MPI_File_read.3
man/man3/MPI_File_read_all.3
man/man3/MPI_File_read_all_begin.3
man/man3/MPI_File_read_all_end.3
man/man3/MPI_File_read_at.3
man/man3/MPI_File_read_at_all.3
man/man3/MPI_File_read_at_all_begin.3
man/man3/MPI_File_read_at_all_end.3
man/man3/MPI_File_read_ordered.3
man/man3/MPI_File_read_ordered_begin.3
man/man3/MPI_File_read_ordered_end.3
man/man3/MPI_File_read_shared.3
man/man3/MPI_File_seek.3
man/man3/MPI_File_seek_shared.3
man/man3/MPI_File_set_atomicity.3
man/man3/MPI_File_set_errhandler.3
man/man3/MPI_File_set_info.3
man/man3/MPI_File_set_size.3
man/man3/MPI_File_set_view.3
man/man3/MPI_File_sync.3
man/man3/MPI_File_write.3
man/man3/MPI_File_write_all.3
man/man3/MPI_File_write_all_begin.3
man/man3/MPI_File_write_all_end.3
man/man3/MPI_File_write_at.3
man/man3/MPI_File_write_at_all.3
man/man3/MPI_File_write_at_all_begin.3
man/man3/MPI_File_write_at_all_end.3
man/man3/MPI_File_write_ordered.3
man/man3/MPI_File_write_ordered_begin.3
man/man3/MPI_File_write_ordered_end.3
man/man3/MPI_File_write_shared.3
man/man3/MPI_Finalize.3
man/man3/MPI_Finalized.3
man/man3/MPI_Free_mem.3
man/man3/MPI_Gather.3
man/man3/MPI_Gatherv.3
man/man3/MPI_Get.3
man/man3/MPI_Get_address.3
man/man3/MPI_Get_count.3
man/man3/MPI_Get_elements.3
man/man3/MPI_Get_processor_name.3
man/man3/MPI_Get_version.3
man/man3/MPI_Graph_create.3
man/man3/MPI_Graph_get.3
man/man3/MPI_Graph_map.3
man/man3/MPI_Graph_neighbors.3
man/man3/MPI_Graph_neighbors_count.3
man/man3/MPI_Graphdims_get.3
man/man3/MPI_Grequest_complete.3
man/man3/MPI_Grequest_start.3
man/man3/MPI_Group_c2f.3
man/man3/MPI_Group_compare.3
man/man3/MPI_Group_difference.3
man/man3/MPI_Group_excl.3
man/man3/MPI_Group_f2c.3
man/man3/MPI_Group_free.3
man/man3/MPI_Group_incl.3
man/man3/MPI_Group_intersection.3
man/man3/MPI_Group_range_excl.3
man/man3/MPI_Group_range_incl.3
man/man3/MPI_Group_rank.3
man/man3/MPI_Group_size.3
man/man3/MPI_Group_translate_ranks.3
man/man3/MPI_Group_union.3
man/man3/MPI_Ibsend.3
man/man3/MPI_Info_c2f.3
man/man3/MPI_Info_create.3
man/man3/MPI_Info_delete.3
man/man3/MPI_Info_dup.3
man/man3/MPI_Info_f2c.3
man/man3/MPI_Info_free.3
man/man3/MPI_Info_get.3
man/man3/MPI_Info_get_nkeys.3
man/man3/MPI_Info_get_nthkey.3
man/man3/MPI_Info_get_valuelen.3
man/man3/MPI_Info_set.3
man/man3/MPI_Init.3
man/man3/MPI_Init_thread.3
man/man3/MPI_Initialized.3
man/man3/MPI_Intercomm_create.3
man/man3/MPI_Intercomm_merge.3
man/man3/MPI_Iprobe.3
man/man3/MPI_Irecv.3
man/man3/MPI_Irsend.3
man/man3/MPI_Is_thread_main.3
man/man3/MPI_Isend.3
man/man3/MPI_Issend.3
man/man3/MPI_Keyval_create.3
man/man3/MPI_Keyval_free.3
man/man3/MPI_Lookup_name.3
man/man3/MPI_Op_c2f.3
man/man3/MPI_Op_create.3
man/man3/MPI_Op_f2c.3
man/man3/MPI_Op_free.3
man/man3/MPI_Open_port.3
man/man3/MPI_Pack.3
man/man3/MPI_Pack_external.3
man/man3/MPI_Pack_external_size.3
man/man3/MPI_Pack_size.3
man/man3/MPI_Pcontrol.3
man/man3/MPI_Probe.3
man/man3/MPI_Publish_name.3
man/man3/MPI_Put.3
man/man3/MPI_Query_thread.3
man/man3/MPI_Recv.3
man/man3/MPI_Recv_init.3
man/man3/MPI_Reduce.3
man/man3/MPI_Reduce_local.3
man/man3/MPI_Reduce_scatter.3
man/man3/MPI_Register_datarep.3
man/man3/MPI_Request_c2f.3
man/man3/MPI_Request_f2c.3
man/man3/MPI_Request_free.3
man/man3/MPI_Request_get_status.3
man/man3/MPI_Rsend.3
man/man3/MPI_Rsend_init.3
man/man3/MPI_Scan.3
man/man3/MPI_Scatter.3
man/man3/MPI_Scatterv.3
man/man3/MPI_Send.3
man/man3/MPI_Send_init.3
man/man3/MPI_Sendrecv.3
man/man3/MPI_Sendrecv_replace.3
man/man3/MPI_Sizeof.3
man/man3/MPI_Ssend.3
man/man3/MPI_Ssend_init.3
man/man3/MPI_Start.3
man/man3/MPI_Startall.3
man/man3/MPI_Status_c2f.3
man/man3/MPI_Status_f2c.3
man/man3/MPI_Status_set_cancelled.3
man/man3/MPI_Status_set_elements.3
man/man3/MPI_Test.3
man/man3/MPI_Test_cancelled.3
man/man3/MPI_Testall.3
man/man3/MPI_Testany.3
man/man3/MPI_Testsome.3
man/man3/MPI_Topo_test.3
man/man3/MPI_Type_c2f.3
man/man3/MPI_Type_commit.3
man/man3/MPI_Type_contiguous.3
man/man3/MPI_Type_create_darray.3
man/man3/MPI_Type_create_f90_complex.3
man/man3/MPI_Type_create_f90_integer.3
man/man3/MPI_Type_create_f90_real.3
man/man3/MPI_Type_create_hindexed.3
man/man3/MPI_Type_create_hvector.3
man/man3/MPI_Type_create_indexed_block.3
man/man3/MPI_Type_create_keyval.3
man/man3/MPI_Type_create_resized.3
man/man3/MPI_Type_create_struct.3
man/man3/MPI_Type_create_subarray.3
man/man3/MPI_Type_delete_attr.3
man/man3/MPI_Type_dup.3
man/man3/MPI_Type_extent.3
man/man3/MPI_Type_f2c.3
man/man3/MPI_Type_free.3
man/man3/MPI_Type_free_keyval.3
man/man3/MPI_Type_get_attr.3
man/man3/MPI_Type_get_contents.3
man/man3/MPI_Type_get_envelope.3
man/man3/MPI_Type_get_extent.3
man/man3/MPI_Type_get_name.3
man/man3/MPI_Type_get_true_extent.3
man/man3/MPI_Type_hindexed.3
man/man3/MPI_Type_hvector.3
man/man3/MPI_Type_indexed.3
man/man3/MPI_Type_lb.3
man/man3/MPI_Type_match_size.3
man/man3/MPI_Type_set_attr.3
man/man3/MPI_Type_set_name.3
man/man3/MPI_Type_size.3
man/man3/MPI_Type_struct.3
man/man3/MPI_Type_ub.3
man/man3/MPI_Type_vector.3
man/man3/MPI_Unpack.3
man/man3/MPI_Unpack_external.3
man/man3/MPI_Unpublish_name.3
man/man3/MPI_Wait.3
man/man3/MPI_Waitall.3
man/man3/MPI_Waitany.3
man/man3/MPI_Waitsome.3
man/man3/MPI_Win_c2f.3
man/man3/MPI_Win_call_errhandler.3
man/man3/MPI_Win_complete.3
man/man3/MPI_Win_create.3
man/man3/MPI_Win_create_errhandler.3
man/man3/MPI_Win_create_keyval.3
man/man3/MPI_Win_delete_attr.3
man/man3/MPI_Win_f2c.3
man/man3/MPI_Win_fence.3
man/man3/MPI_Win_free.3
man/man3/MPI_Win_free_keyval.3
man/man3/MPI_Win_get_attr.3
man/man3/MPI_Win_get_errhandler.3
man/man3/MPI_Win_get_group.3
man/man3/MPI_Win_get_name.3
man/man3/MPI_Win_lock.3
man/man3/MPI_Win_post.3
man/man3/MPI_Win_set_attr.3
man/man3/MPI_Win_set_errhandler.3
man/man3/MPI_Win_set_name.3
man/man3/MPI_Win_start.3
man/man3/MPI_Win_test.3
man/man3/MPI_Win_unlock.3
man/man3/MPI_Win_wait.3
man/man3/MPI_Wtick.3
man/man3/MPI_Wtime.3
man/man3/OpenMPI.3
man/man7/ompi_crcp.7
man/man7/opal_crs.7
man/man7/orte_filem.7
man/man7/orte_hosts.7
man/man7/orte_snapc.7
share/openmpi/amca-param-sets/example.conf
share/openmpi/examples/openmpi-default-hostfile
share/openmpi/examples/openmpi-mca-params.conf
share/openmpi/examples/openmpi-totalview.tcl
share/openmpi/help-coll-sync.txt
share/openmpi/help-dash-host.txt
share/openmpi/help-ess-base.txt
share/openmpi/help-hostfile.txt
share/openmpi/help-mca-base.txt
share/openmpi/help-mca-bml-r2.txt
share/openmpi/help-mca-coll-base.txt
share/openmpi/help-mca-op-base.txt
share/openmpi/help-mca-param.txt
share/openmpi/help-mpi-api.txt
share/openmpi/help-mpi-btl-base.txt
share/openmpi/help-mpi-btl-sm.txt
share/openmpi/help-mpi-btl-tcp.txt
share/openmpi/help-mpi-coll-sm.txt
share/openmpi/help-mpi-common-sm.txt
share/openmpi/help-mpi-errors.txt
share/openmpi/help-mpi-pml-bfo.txt
share/openmpi/help-mpi-pml-csum.txt
share/openmpi/help-mpi-pml-ob1.txt
share/openmpi/help-mpi-runtime.txt
share/openmpi/help-mpool-base.txt
share/openmpi/help-odls-default.txt
share/openmpi/help-ompi-crcp-base.txt
share/openmpi/help-ompi-dpm-base.txt
share/openmpi/help-ompi-dpm-orte.txt
share/openmpi/help-ompi-probe.txt
share/openmpi/help-ompi-profiler.txt
share/openmpi/help-ompi-pubsub-orte.txt
share/openmpi/help-ompi-server.txt
share/openmpi/help-ompi_info.txt
share/openmpi/help-oob-tcp.txt
share/openmpi/help-opal-carto-file.txt
share/openmpi/help-opal-crs-base.txt
share/openmpi/help-opal-crs-none.txt
share/openmpi/help-opal-maffinity-hwloc.txt
share/openmpi/help-opal-runtime.txt
share/openmpi/help-opal-shmem-mmap.txt
share/openmpi/help-opal-shmem-sysv.txt
share/openmpi/help-opal-util.txt
share/openmpi/help-opal-wrapper.txt
share/openmpi/help-orte-clean.txt
share/openmpi/help-orte-filem-base.txt
share/openmpi/help-orte-filem-rsh.txt
share/openmpi/help-orte-iof.txt
share/openmpi/help-orte-notifier-command.txt
share/openmpi/help-orte-odls-base.txt
share/openmpi/help-orte-ps.txt
share/openmpi/help-orte-rmaps-base.txt
share/openmpi/help-orte-rmaps-lb.txt
share/openmpi/help-orte-rmaps-resilient.txt
share/openmpi/help-orte-rmaps-rr.txt
share/openmpi/help-orte-rmaps-seq.txt
share/openmpi/help-orte-rmaps-topo.txt
share/openmpi/help-orte-runtime.txt
share/openmpi/help-orte-snapc-base.txt
share/openmpi/help-orte-top.txt
share/openmpi/help-orted.txt
share/openmpi/help-orterun.txt
share/openmpi/help-plm-base.txt
share/openmpi/help-plm-rsh.txt
share/openmpi/help-ras-base.txt
share/openmpi/help-regex.txt
share/openmpi/help-rmaps_rank_file.txt
share/openmpi/mpiCC-wrapper-data.txt
share/openmpi/mpic++-wrapper-data.txt
share/openmpi/mpicc-wrapper-data.txt
share/openmpi/mpicxx-wrapper-data.txt
share/openmpi/mpif77-wrapper-data.txt
share/openmpi/mpif90-wrapper-data.txt
share/openmpi/openmpi-valgrind.supp
share/openmpi/orteCC-wrapper-data.txt
share/openmpi/ortec++-wrapper-data.txt
share/openmpi/ortecc-wrapper-data.txt

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.DragonFly,v 1.1 2012/12/15 10:41:58 marino Exp $
lib/openmpi/mca_shmem_posix.la
share/openmpi/help-opal-shmem-posix.txt

View File

@@ -0,0 +1,14 @@
# $NetBSD: buildlink3.mk,v 1.3 2012/10/24 05:49:26 asau Exp $
BUILDLINK_TREE+= openmpi
.if !defined(OPENMPI_BUILDLINK3_MK)
OPENMPI_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.openmpi+= openmpi>=1.5.1
BUILDLINK_PKGSRCDIR.openmpi?= ../../parallel/openmpi
.include "../../parallel/hwloc/buildlink3.mk"
.endif # OPENMPI_BUILDLINK3_MK
BUILDLINK_TREE+= -openmpi

View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.13 2013/02/24 01:22:36 asau Exp $
SHA1 (openmpi-1.6.4.tar.bz2) = 38095d3453519177272f488d5058a98f7ebdbf10
RMD160 (openmpi-1.6.4.tar.bz2) = 6abcb4ef5de3da00c23bcad521b66e1774675890
Size (openmpi-1.6.4.tar.bz2) = 10869229 bytes
SHA1 (patch-aa) = 6fa20775c6e2abae7c9a2ae858dbb941652beab8
SHA1 (patch-ai) = 95d699d343a7df8d768e78a235036c842c24e2d2
SHA1 (patch-aj) = 1408114e5fc07d5b0df3e9368b6d2c5b85f85991
SHA1 (patch-ak) = d42271d1c6adeb5e9425cc6a183f5308c74dea59

View File

@@ -0,0 +1,10 @@
# $NetBSD: options.mk,v 1.4 2012/10/17 23:27:34 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openmpi
PKG_SUPPORTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.endif

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-aa,v 1.3 2012/05/28 18:38:18 asau Exp $
Missing RPATH support.
--- opal/tools/wrappers/opal_wrapper.c.orig 2011-12-14 05:43:59.000000000 +0400
+++ opal/tools/wrappers/opal_wrapper.c 2012-02-16 18:10:03.000000000 +0400
@@ -61,6 +61,7 @@
#else
#define OPAL_INCLUDE_FLAG "-I"
#define OPAL_LIBDIR_FLAG "-L"
+#define OPAL_RPATH_FLAG "-R"
#endif /* !defined(__WINDOWS__) && defined(_MSC_VER) */
struct options_data_t {
@@ -363,6 +364,8 @@
#else
asprintf(&line, OPAL_LIBDIR_FLAG"%s",
options_data[parse_options_idx].path_libdir);
+ asprintf(&line, OPAL_RPATH_FLAG"%s",
+ options_data[parse_options_idx].path_libdir);
#endif /* defined(__WINDOWS__) */
opal_argv_append_nosize(&options_data[parse_options_idx].link_flags, line);
free(line);

View File

@@ -0,0 +1,55 @@
$NetBSD: patch-ai,v 1.4 2012/10/17 23:27:35 asau Exp $
Install configuration files into example directory.
--- orte/etc/Makefile.in.orig 2012-08-22 14:26:19.000000000 +0000
+++ orte/etc/Makefile.in
@@ -1085,6 +1085,7 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
+sysconfexampledir = $(pkgdatadir)/examples
sysinfo_solaris_CFLAGS = @sysinfo_solaris_CFLAGS@
sysinfo_solaris_CPPFLAGS = @sysinfo_solaris_CPPFLAGS@
sysinfo_solaris_LDFLAGS = @sysinfo_solaris_LDFLAGS@
@@ -1303,19 +1304,19 @@ uninstall-am: uninstall-local
# details why the mkdir is in install-data-local.
install-data-local:
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)
+ $(MKDIR_P) $(DESTDIR)$(sysconfexampledir)
@ p="$(orte_config_files)"; \
for file in $$p; do \
- if test -f $(DESTDIR)$(sysconfdir)/$$file; then \
+ if test -f $(DESTDIR)$(sysconfexampledir)/$$file; then \
echo "******************************* WARNING ************************************"; \
echo "*** Not installing new $$file over existing file in:"; \
- echo "*** $(DESTDIR)$(sysconfdir)/$$file"; \
+ echo "*** $(DESTDIR)$(sysconfexampledir)/$$file"; \
echo "******************************* WARNING ************************************"; \
else \
if test -f "$$file"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$file | sed -e 's|^.*/||'`"; \
- echo " $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f"; \
- $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f; \
+ echo " $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfexampledir)/$$f"; \
+ $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfexampledir)/$$f; \
fi; \
done
@@ -1326,11 +1327,11 @@ install-data-local:
uninstall-local:
@ p="$(orte_config_files)"; \
for file in $$p; do \
- if test -f "$(DESTDIR)$(sysconfdir)/$$file"; then \
+ if test -f "$(DESTDIR)$(sysconfexampledir)/$$file"; then \
if test -f "$$file"; then d=; else d="$(srcdir)/"; fi; \
- if diff "$(DESTDIR)$(sysconfdir)/$$file" "$$d$$file" > /dev/null 2>&1 ; then \
- echo "rm -f $(DESTDIR)$(sysconfdir)/$$file" ; \
- rm -f "$(DESTDIR)$(sysconfdir)/$$file" ; \
+ if diff "$(DESTDIR)$(sysconfexampledir)/$$file" "$$d$$file" > /dev/null 2>&1 ; then \
+ echo "rm -f $(DESTDIR)$(sysconfexampledir)/$$file" ; \
+ rm -f "$(DESTDIR)$(sysconfexampledir)/$$file" ; \
fi ; \
fi ; \
done

View File

@@ -0,0 +1,62 @@
$NetBSD: patch-aj,v 1.3 2012/10/17 23:27:35 asau Exp $
Install configuration files into example directory.
--- opal/etc/Makefile.in.orig 2012-08-22 14:25:33.000000000 +0000
+++ opal/etc/Makefile.in
@@ -35,6 +35,7 @@
#
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
+sysconfexampledir = $(pkgdatadir)/examples
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
@@ -1302,24 +1303,24 @@ uninstall-am: uninstall-local
# details why the mkdir is in install-data-local.
install-data-local:
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)
+ $(MKDIR_P) $(DESTDIR)$(sysconfexampledir)
@ p="$(opal_config_files)"; \
if test "$(opal_file_from_platform)" = "yes"; then \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfdir)/openmpi-mca-params.conf"; \
- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfdir)/openmpi-mca-params.conf; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfexampledir)/openmpi-mca-params.conf"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfexampledir)/openmpi-mca-params.conf; \
else \
for file in $$p; do \
- if test -f $(DESTDIR)$(sysconfdir)/openmpi-mca-params.conf; then \
+ if test -f $(DESTDIR)$(sysconfexampledir)/openmpi-mca-params.conf; then \
echo "******************************* WARNING ************************************"; \
echo "*** Not installing new $$file over existing file in:"; \
- echo "*** $(DESTDIR)$(sysconfdir)/$$file"; \
+ echo "*** $(DESTDIR)$(sysconfexampledir)/$$file"; \
echo "******************************* WARNING ************************************"; \
else \
if test -f "$$file"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$file | sed -e 's|^.*/||'`"; \
- echo " $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f"; \
- $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f; \
+ echo " $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfexampledir)/$$f"; \
+ $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfexampledir)/$$f; \
fi; \
done \
fi;
@@ -1331,11 +1332,11 @@ install-data-local:
uninstall-local:
@ p="$(opal_config_files)"; \
for file in $$p; do \
- if test -f "$(DESTDIR)$(sysconfdir)/$$file"; then \
+ if test -f "$(DESTDIR)$(sysconfexampledir)/$$file"; then \
if test -f "$$file"; then d=; else d="$(srcdir)/"; fi; \
- if diff "$(DESTDIR)$(sysconfdir)/$$file" "$$d$$file" > /dev/null 2>&1 ; then \
- echo "rm -f $(DESTDIR)$(sysconfdir)/$$file" ; \
- rm -f "$(DESTDIR)$(sysconfdir)/$$file" ; \
+ if diff "$(DESTDIR)$(sysconfexampledir)/$$file" "$$d$$file" > /dev/null 2>&1 ; then \
+ echo "rm -f $(DESTDIR)$(sysconfexampledir)/$$file" ; \
+ rm -f "$(DESTDIR)$(sysconfexampledir)/$$file" ; \
fi ; \
fi ; \
done

View File

@@ -0,0 +1,55 @@
$NetBSD: patch-ak,v 1.3 2012/10/17 23:27:35 asau Exp $
Install configuration files into example directory.
--- ompi/etc/Makefile.in.orig 2012-08-22 14:24:34.000000000 +0000
+++ ompi/etc/Makefile.in
@@ -35,6 +35,7 @@
#
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
+sysconfexampledir = $(pkgdatadir)/examples
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
@@ -1303,19 +1304,19 @@ uninstall-am: uninstall-local
# details why the mkdir is in install-data-local.
install-data-local:
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)
+ $(MKDIR_P) $(DESTDIR)$(sysconfexampledir)
@ p="$(ompi_config_files)"; \
for file in $$p; do \
- if test -f $(DESTDIR)$(sysconfdir)/$$file; then \
+ if test -f $(DESTDIR)$(sysconfexampledir)/$$file; then \
echo "******************************* WARNING ************************************"; \
echo "*** Not installing new $$file over existing file in:"; \
- echo "*** $(DESTDIR)$(sysconfdir)/$$file"; \
+ echo "*** $(DESTDIR)$(sysconfexampledir)/$$file"; \
echo "******************************* WARNING ************************************"; \
else \
if test -f "$$file"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$file | sed -e 's|^.*/||'`"; \
- echo " $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f"; \
- $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f; \
+ echo " $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfexampledir)/$$f"; \
+ $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfexampledir)/$$f; \
fi; \
done
@@ -1326,11 +1327,11 @@ install-data-local:
uninstall-local:
@ p="$(ompi_config_files)"; \
for file in $$p; do \
- if test -f "$(DESTDIR)$(sysconfdir)/$$file"; then \
+ if test -f "$(DESTDIR)$(sysconfexampledir)/$$file"; then \
if test -f "$$file"; then d=; else d="$(srcdir)/"; fi; \
- if diff "$(DESTDIR)$(sysconfdir)/$$file" "$$d$$file" > /dev/null 2>&1 ; then \
- echo "rm -f $(DESTDIR)$(sysconfdir)/$$file" ; \
- rm -f "$(DESTDIR)$(sysconfdir)/$$file" ; \
+ if diff "$(DESTDIR)$(sysconfexampledir)/$$file" "$$d$$file" > /dev/null 2>&1 ; then \
+ echo "rm -f $(DESTDIR)$(sysconfexampledir)/$$file" ; \
+ rm -f "$(DESTDIR)$(sysconfexampledir)/$$file" ; \
fi ; \
fi ; \
done

3
parallel/openpa/DESCR Normal file
View File

@@ -0,0 +1,3 @@
OpenPA is open source, highly-portable library that provides
atomic primitives (and related constructs) for high performance,
concurrent software.

16
parallel/openpa/Makefile Normal file
View File

@@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.4 2013/03/17 14:43:48 asau Exp $
DISTNAME= openpa-1.0.4
CATEGORIES= parallel
MASTER_SITES= http://trac.mcs.anl.gov/projects/openpa/raw-attachment/wiki/Downloads/
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://trac.mcs.anl.gov/projects/openpa/
COMMENT= Atomic primitives for high performance software
USE_TOOLS= pkg-config
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
TEST_TARGET= check
.include "../../mk/bsd.pkg.mk"

21
parallel/openpa/PLIST Normal file
View File

@@ -0,0 +1,21 @@
@comment $NetBSD: PLIST,v 1.3 2013/03/17 14:43:48 asau Exp $
include/opa_config.h
include/opa_primitives.h
include/opa_queue.h
include/opa_util.h
include/primitives/opa_by_lock.h
include/primitives/opa_emulated.h
include/primitives/opa_gcc_ia64.h
include/primitives/opa_gcc_intel_32_64.h
include/primitives/opa_gcc_intel_32_64_barrier.h
include/primitives/opa_gcc_intel_32_64_ops.h
include/primitives/opa_gcc_intel_32_64_p3.h
include/primitives/opa_gcc_intel_32_64_p3barrier.h
include/primitives/opa_gcc_intrinsics.h
include/primitives/opa_gcc_ppc.h
include/primitives/opa_gcc_sicortex.h
include/primitives/opa_nt_intrinsics.h
include/primitives/opa_sun_atomic_ops.h
include/primitives/opa_unsafe.h
lib/libopa.la
lib/pkgconfig/openpa.pc

View File

@@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.2 2013/03/17 14:43:48 asau Exp $
BUILDLINK_TREE+= openpa
.if !defined(OPENPA_BUILDLINK3_MK)
OPENPA_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.openpa+= openpa>=1.0.1
BUILDLINK_PKGSRCDIR.openpa?= ../../parallel/openpa
.endif # OPENPA_BUILDLINK3_MK
BUILDLINK_TREE+= -openpa

6
parallel/openpa/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2013/03/17 14:43:48 asau Exp $
SHA1 (openpa-1.0.4.tar.gz) = 0c714376245a7bf0d5c885d129fb301e5431a3af
RMD160 (openpa-1.0.4.tar.gz) = f0a34b769be9d91db3ebb18ebbb828757748f142
Size (openpa-1.0.4.tar.gz) = 378763 bytes
SHA1 (patch-src_opa__primitives.c) = 7a33197519270ef4ba2a922376b50ccc1a5eedfd

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-src_opa__primitives.c,v 1.1 2013/03/17 14:43:48 asau Exp $
--- src/opa_primitives.c.orig 2012-12-05 01:25:36.000000000 +0000
+++ src/opa_primitives.c
@@ -14,6 +14,8 @@
#include <pthread.h>
#include <opa_primitives.h>
+#include <unistd.h> /* for _POSIX_THREAD_PROCESS_SHARED */
+
pthread_mutex_t *OPA_emulation_lock = NULL;
int OPA_Interprocess_lock_init(OPA_emulation_ipl_t *shm_lock, int isLeader)
@@ -27,7 +29,9 @@ int OPA_Interprocess_lock_init(OPA_emula
* shared memory as well. This is required for some compilers
* (such as SUN Studio) that don't enable it by default. */
if (pthread_mutexattr_init(&attr) ||
+#ifdef _POSIX_THREAD_PROCESS_SHARED
pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED) ||
+#endif
pthread_mutex_init(OPA_emulation_lock, &attr))
mpi_errno = 16; /* MPI_ERR_INTERN */
}

View File

@@ -0,0 +1,2 @@
Parallel::Pvm is a perl extension for the parallel virtual machine
(PVM) message-passing system.

Some files were not shown because too many files have changed in this diff Show More