aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-15 08:17:34 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-15 08:17:34 +0000
commitfb4c62c28d3717b6764a6ad5bb27ee4f25059f4f (patch)
tree94331cfae9c4da977864fc2ee81d95b6691941d1 /sysutils
parentad707a3e4f7ba1508a8c438b21fe7d3a3bc4bbd2 (diff)
downloadports-fb4c62c28d3717b6764a6ad5bb27ee4f25059f4f.tar.gz
ports-fb4c62c28d3717b6764a6ad5bb27ee4f25059f4f.zip
- 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. PR: ports/106719 Submitted by: trasz
Notes
Notes: svn path=/head/; revision=179832
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/torque/files/patch-src-resmom-start_exec.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/torque/files/patch-src-resmom-start_exec.c b/sysutils/torque/files/patch-src-resmom-start_exec.c
new file mode 100644
index 000000000000..b0443b07b70b
--- /dev/null
+++ b/sysutils/torque/files/patch-src-resmom-start_exec.c
@@ -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");
+