From 1b515cd6d394684ffeb305e5dc47d3516cfaf6d6 Mon Sep 17 00:00:00 2001
From: tewk <tewk@unknown>
Date: Tue, 27 Aug 2002 23:48:49 +0000
Subject: [PATCH] :

---
 src/slurmd/elan_interconnect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/slurmd/elan_interconnect.c b/src/slurmd/elan_interconnect.c
index b0f44b22058..74525996f63 100644
--- a/src/slurmd/elan_interconnect.c
+++ b/src/slurmd/elan_interconnect.c
@@ -28,6 +28,7 @@
 #include <src/slurmd/setenvpf.h>
 
 
+
 /* exported module funtion to launch tasks */
 /*launch_tasks should really be named launch_job_step*/
 int launch_tasks ( launch_tasks_request_msg_t * launch_msg )
@@ -69,9 +70,8 @@ int interconnect_init ( launch_tasks_request_msg_t * launch_msg )
 				sleep (1);
 				i++ ;
 
-				if (rms_prginfo( launch_msg -> qsw_job, sizeof(pids)/sizeof(pid_t), pids, &npids) < 0) {
+				if (rms_prginfo( launch_msg -> qsw_job -> j_prognum , sizeof(pids)/sizeof(pid_t), pids, &npids) < 0) {
 					perror("rms_prginfo");
-					exit(1);
 				}
 				printf("pids");
 				for (i = 0; i < npids; i++)
-- 
GitLab