Thanks. This will be in the next release.

Quoting "Mark A. Grondona" <mgrond...@llnl.gov>:

PluginDir is a path. It shouldn't be an error to have duplicate
plugins in your path. Plus, the error is not helpful because it
doesn't specify which path is not being loaded. Therefore, just
remove the error and load the first plugin in the path as expected.
---
 src/common/node_select.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/common/node_select.c b/src/common/node_select.c
index d9b93c0..ca986fb 100644
--- a/src/common/node_select.c
+++ b/src/common/node_select.c
@@ -391,10 +391,7 @@ extern int slurm_select_init(bool only_default)
                                            select_context[j].select_type))
                                        break;
                        }
-                       if (j < select_context_cnt) {
-                               error("Duplicate plugin %s ignored",
-                                     select_context[j].select_type);
-                       } else {
+                       if (j >= select_context_cnt) {
                                xrealloc(select_context,
                                         (sizeof(slurm_select_context_t) *
                                          (select_context_cnt + 1)));
--
1.7.1





Reply via email to