Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2006 15:42:56 +0100 (CET)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106719: [MAINTAINER] sysutils/torque: fix running more then one MPI process per node
Message-ID:  <20061214144256.BFB0139DBB@pin.if.uz.zgora.pl>
Resent-Message-ID: <200612141440.kBEEe7oe091342@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061214144256.BFB0139DBB>