From 4439734a8a5f5e1ef996d61dcc615a266c25c2cb Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 12 Jul 2007 14:46:41 +0000 Subject: [PATCH] It compiles (too)! Getting a little further... This commit was SVN r15383. --- orte/mca/ras/lsf/ras_lsf.c | 4 ++++ orte/mca/ras/lsf/ras_lsf_component.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/orte/mca/ras/lsf/ras_lsf.c b/orte/mca/ras/lsf/ras_lsf.c index f709d86785..2c338f152f 100644 --- a/orte/mca/ras/lsf/ras_lsf.c +++ b/orte/mca/ras/lsf/ras_lsf.c @@ -9,6 +9,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. + * Copyright (c) 2007 Cisco, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -22,6 +23,9 @@ #include #include +#define SR1_PJOBS +#include + #include "opal/util/argv.h" #include "opal/util/show_help.h" diff --git a/orte/mca/ras/lsf/ras_lsf_component.c b/orte/mca/ras/lsf/ras_lsf_component.c index c1186add4d..51b7522cd4 100644 --- a/orte/mca/ras/lsf/ras_lsf_component.c +++ b/orte/mca/ras/lsf/ras_lsf_component.c @@ -9,6 +9,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. + * Copyright (c) 2007 Cisco, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -17,6 +18,9 @@ */ #include "orte_config.h" + +#include + #include "orte/orte_constants.h" #include "opal/mca/base/base.h" #include "opal/mca/base/mca_base_param.h" @@ -93,7 +97,7 @@ static orte_ras_base_module_t *orte_ras_lsf_init(int* priority) } /* check if lsf is running here */ - if (lsb_init() < 0) { + if (lsb_init("ORTE launcher") < 0) { /* nope, not here */ return NULL; }