Nate check out commit e49fcbeb48647460fda59895c22afc4b080efe89

It should give you what you want. Since working_cluster_rec was already in slurmdb.h I ended up sticking with that instead of changing the name. This is also only in 14.11, but the patch should apply cleanly to 14.03.

Danny

On 10/09/2014 12:13 PM, Nate Coraor wrote:
On Thu, Oct 9, 2014 at 2:04 PM, Danny Auble <[email protected]> wrote:
Nate,

Does

diff --git a/src/common/slurmdb_defs.c b/src/common/slurmdb_defs.c
index d094b91..01673fc 100644
--- a/src/common/slurmdb_defs.c
+++ b/src/common/slurmdb_defs.c
@@ -49,6 +49,8 @@
  #include "src/common/slurm_auth.h"
  #include "src/slurmdbd/read_config.h"

+strong_alias(working_cluster_rec, slurm_working_cluster_rec);
+
  slurmdb_cluster_rec_t *working_cluster_rec = NULL;

  static void _free_res_cond_members(slurmdb_res_cond_t *res_cond);

Fix your situation?  You would probably have to change your references to
slurm_working_cluster_rec, but that is probably safer.

Danny
Hi Danny,

I had thought about proposing that change, it works just fine. Should
it be slurmdb_working_cluster_rec? Could you add it to slurmdb.h as
well? I have a few other missing symbols I'm using as well, if you're
going to add anything to the public includes:

     
https://github.com/natefoo/slurm-drmaa/blob/master/slurm_drmaa/slurm_missing.h

Thanks,
--nate

Reply via email to