ports/106719: [MAINTAINER] sysutils/torque: fix running more then one MPI process per node

trasz trasz at pin.if.uz.zgora.pl
Thu Dec 14 14:40:30 UTC 2006


>Number:         106719
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/torque: fix running more then one MPI process per node
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 14 14:40:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Fix for a case when there is more then one MPI process per node in a given
job, like when one uses 'mpiexec -np X' where X is larger than the number
of nodes.

Added file(s):
- files/patch-src-resmom-start_exec.c

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- torque-2.1.6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/torque/files/patch-src-resmom-start_exec.c /home/trasz/torque/files/patch-src-resmom-start_exec.c
--- /usr/ports/sysutils/torque/files/patch-src-resmom-start_exec.c	Thu Jan  1 01:00:00 1970
+++ /home/trasz/torque/files/patch-src-resmom-start_exec.c	Thu Dec 14 15:40:38 2006
@@ -0,0 +1,11 @@
+--- src/resmom/start_exec.c.orig	Sat Nov 18 15:11:38 2006
++++ src/resmom/start_exec.c	Sat Nov 18 15:12:18 2006
+@@ -4772,7 +4772,7 @@
+ 
+           return(-1);
+           }
+-        if (statbuf.st_gid != exgid)
++        if (statbuf.st_gid != exgid && statbuf.st_gid != 0)
+           {
+           log_err(-1,"open_std_file","std file exists with the wrong group, someone is doing something fishy");
+ 
--- torque-2.1.6.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list