Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] LSF & ompi r18978
From: Thomas Herault (thomas.herault_at_[hidden])
Date: 2008-07-22 12:38:27


Hi,

I just tested compiling ompi on a LSF cluster (LSF 7.0.2) (see ticket
1356).
I could solve a few trivial bugs myself (see svn diff below), however
I hit compile errors beyond my knowledge of ORTE internal structures
in orte/mca/ras/lsf/ras_lsf_module.c and orte/mca/ras/lsf/
ras_lsf_component.c :

orte/mca/ras/lsf/ras_lsf_module.c:49: warning: initialization from
incompatible pointer type
orte/mca/ras/lsf/ras_lsf_module.c: In function ‘allocate’:
orte/mca/ras/lsf/ras_lsf_module.c:73: error: ‘orte_node_t’ has no
member named ‘node_slots’

orte/mca/ras/lsf/ras_lsf_component.c: In function
‘orte_ras_lsf_component_query’:
orte/mca/ras/lsf/ras_lsf_component.c:94: error: ‘orte_proc_info_t’
has no member named ‘seed’

This needs fixing before I can try a run.

Bests,
Thomas
INRIA - Grand-Large Project/Team

===================================================================
--- orte/mca/ras/lsf/ras_lsf_module.c (revision 18978)
+++ orte/mca/ras/lsf/ras_lsf_module.c (working copy)
@@ -17,7 +17,7 @@
   * $HEADER$
   */
  #include "orte_config.h"
-#include "orte/orte_constants.h"
+#include "orte/constants.h"

  #include <errno.h>
  #include <unistd.h>
Index: orte/mca/ras/lsf/ras_lsf_component.c
===================================================================
--- orte/mca/ras/lsf/ras_lsf_component.c (revision 18978)
+++ orte/mca/ras/lsf/ras_lsf_component.c (working copy)
@@ -21,7 +21,7 @@

  #include <lsf/lsbatch.h>

-#include "orte/orte_constants.h"
+#include "orte/constants.h"
  #include "opal/mca/base/base.h"
  #include "opal/mca/base/mca_base_param.h"
  #include "orte/util/proc_info.h"
Index: orte/mca/plm/lsf/plm_lsf_component.c
===================================================================
--- orte/mca/plm/lsf/plm_lsf_component.c (revision 18978)
+++ orte/mca/plm/lsf/plm_lsf_component.c (working copy)
@@ -124,7 +124,7 @@
          opal_output_verbose(10, orte_plm_globals.output,
                              "plm:lsf: NOT available for selection");
          *module = NULL;
- return ORTE_ERROR:
+ return ORTE_ERROR;
      }

      *priority = mca_plm_lsf_component.priority;
Index: orte/mca/ess/lsf/Makefile.am
===================================================================
--- orte/mca/ess/lsf/Makefile.am (revision 18978)
+++ orte/mca/ess/lsf/Makefile.am (working copy)
@@ -17,7 +17,7 @@
  # $HEADER$
  #

-AM_CPPFLAGS = $(pls_lsf_CPPFLAGS)
+AM_CPPFLAGS = $(ess_lsf_CPPFLAGS)

  sources = \
          ess_lsf.h \