View | Details | Raw Unified | Return to bug 158699
Collapse All | Expand All

(-)torque-devel/Makefile (-4 / +7 lines)
Lines 6-17 Link Here
6
#
6
#
7
7
8
PORTNAME=	torque
8
PORTNAME=	torque
9
PORTVERSION=	2.4.6
9
PORTVERSION=	3.0.2
10
CATEGORIES=	sysutils parallel
10
CATEGORIES=	sysutils parallel
11
MASTER_SITES=	http://www.clusterresources.com/downloads/torque/
11
MASTER_SITES=	http://www.clusterresources.com/downloads/torque/
12
12
13
MAINTAINER=	jwbacon@tds.net
13
MAINTAINER=	jwbacon@tds.net
14
COMMENT=	Open source resource manager
14
COMMENT=	Open source distributed computing resource manager based on PBS
15
15
16
USE_AUTOTOOLS=	libtool
16
USE_AUTOTOOLS=	libtool
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
Lines 19-29 Link Here
19
USE_GMAKE=	yes
19
USE_GMAKE=	yes
20
USE_RC_SUBR=	pbs_server.sh pbs_sched.sh pbs_mom.sh
20
USE_RC_SUBR=	pbs_server.sh pbs_sched.sh pbs_mom.sh
21
SUB_FILES=	pkg-message
21
SUB_FILES=	pkg-message
22
USE_PERL5=	yes
22
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
23
24
24
MAN1=		qalter.1 qdel.1 qhold.1 qmove.1 qmsg.1 qorder.1 qrerun.1 \
25
MAN1=		qalter.1 qdel.1 qhold.1 qmove.1 qmsg.1 qorder.1 qrerun.1 \
25
		qrls.1 qselect.1 qsig.1 qstat.1 qsub.1 pbs.1 pbsdsh.1 \
26
		qrls.1 qselect.1 qsig.1 qstat.1 qsub.1 pbs.1 pbsdsh.1 \
26
		nqs2pbs.1 basl2c.1 xpbs.1 xpbsmon.1 qmgr.1 qchkpt.1
27
		nqs2pbs.1 basl2c.1 xpbs.1 xpbsmon.1 qmgr.1 qchkpt.1 \
28
		qgpumode.1 qgpureset.1
27
29
28
MAN3=		rpp.3 tm.3 pbs_alterjob.3 pbs_connect.3 pbs_default.3 \
30
MAN3=		rpp.3 tm.3 pbs_alterjob.3 pbs_connect.3 pbs_default.3 \
29
		pbs_deljob.3 pbs_disconnect.3 pbs_geterrmsg.3 pbs_holdjob.3 \
31
		pbs_deljob.3 pbs_disconnect.3 pbs_geterrmsg.3 pbs_holdjob.3 \
Lines 32-38 Link Here
32
		pbs_rescreserve.3 pbs_rlsjob.3 pbs_runjob.3 pbs_selectjob.3 \
34
		pbs_rescreserve.3 pbs_rlsjob.3 pbs_runjob.3 pbs_selectjob.3 \
33
		pbs_selstat.3 pbs_sigjob.3 pbs_stagein.3 pbs_statjob.3 \
35
		pbs_selstat.3 pbs_sigjob.3 pbs_stagein.3 pbs_statjob.3 \
34
		pbs_statnode.3 pbs_statque.3 pbs_statserver.3 pbs_submit.3 \
36
		pbs_statnode.3 pbs_statque.3 pbs_statserver.3 pbs_submit.3 \
35
		pbs_terminate.3
37
		pbs_terminate.3 pbs_checkpointjob.3 pbs_fbserver.3 \
38
		pbs_get_server_list.3 pbs_gpumode.3 pbs_gpureset.3
36
39
37
MAN7=		pbs_job_attributes.7 pbs_queue_attributes.7 \
40
MAN7=		pbs_job_attributes.7 pbs_queue_attributes.7 \
38
		pbs_server_attributes.7 pbs_resources_aix4.7 \
41
		pbs_server_attributes.7 pbs_resources_aix4.7 \
(-)torque-devel/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (torque-2.4.6.tar.gz) = 970b5d9687dc1c1d74d20a8766c6b1e5
1
SHA256 (torque-3.0.2.tar.gz) = a82c6a269a78ace25a7b60bfe1204db34855ddc56c1af29ca73f165999cb24a1
2
SHA256 (torque-2.4.6.tar.gz) = 84c6f96bd034dc8766fc28a1e0f641c6c01d3c00712f05adb81c37b2be988975
2
SIZE (torque-3.0.2.tar.gz) = 5864771
3
SIZE (torque-2.4.6.tar.gz) = 5537109
(-)torque-devel/files/patch-configure (-22 lines)
Lines 1-22 Link Here
1
--- configure.orig	2008-03-10 17:19:28.000000000 +0100
2
+++ configure	2008-03-18 08:11:50.000000000 +0100
3
@@ -20765,8 +20765,8 @@
4
     else
5
       echo "$as_me:$LINENO: result: yes" >&5
6
 echo "${ECHO_T}yes" >&6
7
-      echo "$as_me:$LINENO: checking CFLAGS for gcc -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror" >&5
8
-echo $ECHO_N "checking CFLAGS for gcc -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror... $ECHO_C" >&6
9
+      echo "$as_me:$LINENO: checking CFLAGS for gcc -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic" >&5
10
+echo $ECHO_N "checking CFLAGS for gcc -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic... $ECHO_C" >&6
11
 if test "${ac_cv_cflags_gcc_option__W__Wall__Wno_unused_parameter__Wno_long_long__pedantic__Werror+set}" = set; then
12
   echo $ECHO_N "(cached) $ECHO_C" >&6
13
 else
14
@@ -20780,7 +20780,7 @@
15
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16
 
17
  ac_save_CFLAGS="$CFLAGS"
18
-for ac_arg in "-pedantic -Werror % -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror"     "-pedantic % -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror %% no, obsolete"     #
19
+for ac_arg in "-pedantic % -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic"     "-pedantic % -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic %% no, obsolete"     #
20
 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
21
    cat >conftest.$ac_ext <<_ACEOF
22
 /* confdefs.h.  */
(-)torque-devel/files/patch-src-resmom-freebsd5-mom_mach.c (+11 lines)
Line 0 Link Here
1
--- src/resmom/freebsd5/mom_mach.c.orig	2011-06-24 13:50:59.000000000 -0500
2
+++ src/resmom/freebsd5/mom_mach.c	2011-06-24 13:51:19.000000000 -0500
3
@@ -166,7 +166,7 @@
4
 extern  int     ignmem;
5
 
6
 extern  int     LOGLEVEL;
7
-extern void checkret(char **, int);
8
+// extern void checkret(char **, int);
9
 
10
 
11
 /*
(-)torque-devel/files/patch-src-resmom-freebsd5-mom_start.c (+10 lines)
Line 0 Link Here
1
--- src/resmom/freebsd5/mom_start.c.orig	2011-06-24 13:40:31.000000000 -0500
2
+++ src/resmom/freebsd5/mom_start.c	2011-06-24 13:41:15.000000000 -0500
3
@@ -214,6 +214,7 @@
4
   task  *ptask = 0;
5
   int  statloc;
6
   unsigned int momport = 0;
7
+  extern unsigned int pbs_rm_port;
8
 
9
   if (LOGLEVEL >= 7)
10
     {
(-)torque-devel/files/patch-src-server-node_manager.c (+10 lines)
Line 0 Link Here
1
--- src/server/node_manager.c.orig	2011-06-24 13:21:21.000000000 -0500
2
+++ src/server/node_manager.c	2011-06-24 13:21:47.000000000 -0500
3
@@ -88,6 +88,7 @@
4
 #include <fcntl.h>
5
 #include <netdb.h>
6
 #include <sys/types.h>
7
+#include <sys/socket.h>
8
 #include <netinet/in.h>
9
 #include <stdarg.h>
10
 #include <assert.h>
(-)torque-devel/files/patch-src-server-pbsd_main.c (+10 lines)
Line 0 Link Here
1
--- src/server/pbsd_main.c.orig	2011-06-24 13:24:45.000000000 -0500
2
+++ src/server/pbsd_main.c	2011-06-24 13:25:15.000000000 -0500
3
@@ -94,6 +94,7 @@
4
 #include <sys/lock.h>
5
 #endif /* PLOCK_DAEMONS */
6
 #include <netinet/in.h>
7
+#include <sys/socket.h>
8
 #include "pbs_ifl.h"
9
 #include <assert.h>
10
 #include <ctype.h>
(-)torque-devel/files/pkg-message.in (-6 / +6 lines)
Lines 3-9 Link Here
3
3
4
	%%PREFIX%%/share/examples/torque/var/spool/torque
4
	%%PREFIX%%/share/examples/torque/var/spool/torque
5
5
6
On all machines, both server and computing nodes:
6
On all machines, both server and compute nodes:
7
7
8
	1. Run
8
	1. Run
9
9
Lines 15-21 Link Here
15
		/var/spool/torque/server_name
15
		/var/spool/torque/server_name
16
16
17
******************************************************************************
17
******************************************************************************
18
On computing nodes:
18
On compute nodes:
19
19
20
	1. Put '$pbsserver ip.address.of.server' into
20
	1. Put '$pbsserver ip.address.of.server' into
21
	
21
	
Lines 26-37 Link Here
26
		pbs_mom_enable="YES"
26
		pbs_mom_enable="YES"
27
27
28
	This may include the server if you allow it to be used
28
	This may include the server if you allow it to be used
29
	as a computing node as well.
29
	as a compute node as well.
30
30
31
******************************************************************************
31
******************************************************************************
32
On the server:
32
On the server:
33
33
34
	1. Put hostnames of computing nodes, one per line, into
34
	1. Put hostnames of compute nodes, one per line, into
35
35
36
		/var/spool/torque/server_priv/nodes
36
		/var/spool/torque/server_priv/nodes
37
37
Lines 50-58 Link Here
50
	The recommended <admin> user is root.
50
	The recommended <admin> user is root.
51
51
52
******************************************************************************
52
******************************************************************************
53
After installation is complete on the server and computing nodes:
53
After installation is complete on the server and compute nodes:
54
54
55
	1. Start node services on all computing nodes with:
55
	1. Start node services on all compute nodes with:
56
56
57
		%%PREFIX%%/etc/rc.d/pbs_mom restart
57
		%%PREFIX%%/etc/rc.d/pbs_mom restart
58
58
(-)torque-devel/pkg-plist (-52 / +59 lines)
Lines 13-18 Link Here
13
bin/qdel
13
bin/qdel
14
bin/qdisable
14
bin/qdisable
15
bin/qenable
15
bin/qenable
16
bin/qgpumode
17
bin/qgpureset
16
bin/qhold
18
bin/qhold
17
bin/qmgr
19
bin/qmgr
18
bin/qmove
20
bin/qmove
Lines 50-104 Link Here
50
sbin/qnoded
52
sbin/qnoded
51
sbin/qschedd
53
sbin/qschedd
52
sbin/qserverd
54
sbin/qserverd
53
%%EXAMPLESDIR%%/torque.setup
55
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/torque.setup
54
%%EXAMPLESDIR%%/var/spool/torque/pbs_environment
56
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/var/spool/torque/pbs_environment
55
%%EXAMPLESDIR%%/var/spool/torque/sched_priv/dedicated_time
57
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/var/spool/torque/sched_priv/dedicated_time
56
%%EXAMPLESDIR%%/var/spool/torque/sched_priv/holidays
58
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/var/spool/torque/sched_priv/holidays
57
%%EXAMPLESDIR%%/var/spool/torque/sched_priv/resource_group
59
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/var/spool/torque/sched_priv/resource_group
58
%%EXAMPLESDIR%%/var/spool/torque/sched_priv/sched_config
60
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/var/spool/torque/sched_priv/sched_config
59
%%EXAMPLESDIR%%/var/spool/torque/server_name
61
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/var/spool/torque/server_name
60
@dirrm %%EXAMPLESDIR%%/var/spool/torque/undelivered
62
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/var/spool/torque/server_priv/nodes
61
@dirrm %%EXAMPLESDIR%%/var/spool/torque/spool
63
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/undelivered
62
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/queues
64
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/spool
63
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/jobs
65
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/queues
64
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/hostlist
66
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/jobs
65
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/disallowed_types
67
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/hostlist
66
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/arrays
68
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/disallowed_types
67
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_users
69
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/credentials
68
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_svr
70
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/arrays
69
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_hosts
71
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_users
70
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_groups
72
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_svr
71
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/accounting
73
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_hosts
72
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv
74
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_groups
73
@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_logs
75
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv/accounting
74
@dirrm %%EXAMPLESDIR%%/var/spool/torque/sched_priv/accounting
76
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_priv
75
@dirrm %%EXAMPLESDIR%%/var/spool/torque/sched_priv
77
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/server_logs
76
@dirrm %%EXAMPLESDIR%%/var/spool/torque/sched_logs
78
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/sched_priv/accounting
77
@dirrm %%EXAMPLESDIR%%/var/spool/torque/mom_priv/jobs
79
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/sched_priv
78
@dirrm %%EXAMPLESDIR%%/var/spool/torque/mom_priv
80
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/sched_logs
79
@dirrm %%EXAMPLESDIR%%/var/spool/torque/mom_logs
81
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/mom_priv/jobs
80
@dirrm %%EXAMPLESDIR%%/var/spool/torque/checkpoint
82
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/mom_priv
81
@dirrm %%EXAMPLESDIR%%/var/spool/torque/aux
83
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/mom_logs
82
@dirrm %%EXAMPLESDIR%%/var/spool/torque
84
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/job_logs
83
@dirrm %%EXAMPLESDIR%%/var/spool
85
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/checkpoint
84
@dirrm %%EXAMPLESDIR%%/var
86
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque/aux
85
@dirrm %%EXAMPLESDIR%%
87
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool/torque
86
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/undelivered
88
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var/spool
87
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/spool
89
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/var
88
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/queues
90
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
89
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/jobs
91
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/undelivered
90
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/hostlist
92
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/spool
91
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/disallowed_types
93
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/queues
92
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/arrays
94
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/jobs
93
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_users
95
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/hostlist
94
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_svr
96
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/disallowed_types
95
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_hosts
97
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/credentials
96
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_groups
98
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/arrays
97
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/accounting
99
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_users
98
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_logs
100
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_svr
99
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/sched_priv/accounting
101
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_hosts
100
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/sched_logs
102
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/acl_groups
101
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/mom_priv/jobs
103
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_priv/accounting
102
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/mom_logs
104
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/server_logs
103
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/checkpoint
105
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/sched_priv/accounting
104
@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/aux
106
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/sched_logs
107
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/mom_priv/jobs
108
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/mom_logs
109
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/job_logs
110
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/checkpoint
111
%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/var/spool/torque/aux

Return to bug 158699