[slurm-dev] Re: Clusters API

2014-10-09 Thread Danny Auble
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 O

[slurm-dev] Re: Patch to honor --without-rpath with optional libs

2014-10-09 Thread Rémi Palancher
Le 09/10/2014 20:33, je...@schedmd.com a écrit : Your original patch had an extra "," in the RRDTOOL_LDFLAGS definition. Oops yes, sorry about the mistake! I'm still wondering how this could happened in the copy/paste though :) That is fixed and autogen.sh run in the commit here. The chan

[slurm-dev] Re: Clusters API

2014-10-09 Thread Nate Coraor
On Thu, Oct 9, 2014 at 2:04 PM, Danny Auble 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

[slurm-dev] Re: Sample slurm.conf

2014-10-09 Thread Uwe Sauter
And port 6817 as well Am 09.10.2014 21:04, schrieb Monica Marathe: > Hey Michael, > I did build my configuration file: > > # slurm.conf file generated by configurator.html. > # Put this file on all nodes of your cluster. > # See the slurm.conf man page for more information. > # > ControlMachine=

[slurm-dev] Re: Sample slurm.conf

2014-10-09 Thread Uwe Sauter
Did you check your firewall rules? As you can see you need to allow connections on port 6818... Am 09.10.2014 21:04, schrieb Monica Marathe: > Hey Michael, > I did build my configuration file: > > # slurm.conf file generated by configurator.html. > # Put this file on all nodes of your cluster. >

[slurm-dev] Re: Sample slurm.conf

2014-10-09 Thread Monica Marathe
Hey Michael, I did build my configuration file: # slurm.conf file generated by configurator.html. # Put this file on all nodes of your cluster. # See the slurm.conf man page for more information. # ControlMachine=control-machine #ControlAddr= #BackupController= #BackupAddr= # AuthType=auth/munge C

[slurm-dev] Re: Patch to honor --without-rpath with optional libs

2014-10-09 Thread jette
Your original patch had an extra "," in the RRDTOOL_LDFLAGS definition. That is fixed and autogen.sh run in the commit here. The change will be in version 14.11.0-rc2. Thanks! https://github.com/SchedMD/slurm/commit/92a69eddab89b9b4891e4224c3248a45faefca92 Quoting Rémi Palancher : Hi de

[slurm-dev] Re: Error with slurmctld

2014-10-09 Thread Uwe Sauter
Hi Monica, Am 09.10.2014 19:59, schrieb Monica Marathe: > Hi Uwe, > > Thanks for your help on the slurm error. > I created a new slurm.conf using the easy configurator but am still > facing the following error: > > [root@control-machine Monica]# slurmctld -D -vv > slurmctld: pidfile not loc

[slurm-dev] Re: Sample slurm.conf

2014-10-09 Thread Michael Jennings
Have you tried generating your own on the web? http://slurm.schedmd.com/configurator.easy.html http://slurm.schedmd.com/configurator.html You might more appropriate results that way. :-) Michael On Thu, Oct 9, 2014 at 11:11 AM, Monica Marathe wrote: > Hi, > > Can anyone send me a sample sl

[slurm-dev] Sample slurm.conf

2014-10-09 Thread Monica Marathe
Hi, Can anyone send me a sample slurm.conf file? I am trying to configure SLURM on a single machine only. Thanks! -Monica -- - Monica Marathe

[slurm-dev] Re: Clusters API

2014-10-09 Thread Danny Auble
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

[slurm-dev] Re: srun: spank_fini() called twice

2014-10-09 Thread jette
I have applied your patch to the version 14.11 code base. The commit is here: https://github.com/SchedMD/slurm/commit/d522f721de66f7fad72f6831675329ef6bd3c0c8 Thanks! Quoting Dorian Krause : Dear all, while experimenting with the SPANK API I noticed that the slurm_spank_exit() function is c

[slurm-dev] Re: Clusters API

2014-10-09 Thread Nate Coraor
Here's the fairly complete form of it, in case anyone else finds this useful. As the documentation mentions, all I have to do is compile a standalone libslurmdb.so for the application, with working_cluster_rec public and everything works great: https://github.com/natefoo/slurm-drmaa Thanks,

[slurm-dev] Re: Setting environment variables for executable on nodes with srun

2014-10-09 Thread jette
srun exports all environment variables to the launched task. In Slurm version 14.11 there is an srun option to add more environment variables. This is from the srun man page: --export= Identify which environment variables are propagated to the laucnhed application. Multiple environment

[slurm-dev] Re: plugins: documentation <-> code mismatch

2014-10-09 Thread jette
Web page updated (will be updated on server soon): https://github.com/SchedMD/slurm/commit/480a32dddc7d40b0ac201b72288cd3a15648161e Quoting Uwe Sauter : Hi all, could someone please confirm that the variable const uint32_t plugin_legacy found in http://slurm.schedmd.com/plugins.html -> Dat

[slurm-dev] Re: Trouble with Prolog scripts

2014-10-09 Thread Lee, Ian
Thanks Kilian, This looks like exactly what I was looking for. ~ Ian Lee Lawrence Livermore National Laboratory (W) 925-423-4941 -Original Message- From: Kilian Cavalotti [mailto:kilian.cavalotti.w...@gmail.com] Sent: Tuesday, October 07, 2014 9:33 PM To: slurm-dev Subject: [slurm-dev]

[slurm-dev] Fwd: JSSPP'2015 CFP

2014-10-09 Thread jette
- Forwarded message from Job Scheduling Strategies for Parallel Processing Workshop - 19th Workshop on Job Scheduling Strategies for Parallel Processing (JSSPP) *http://www.cs.huji.ac.il/~feit/parsched/jsspp15/ * In Conjunction with I

[slurm-dev] Re: Passing different binding parameters to a multi-prog application

2014-10-09 Thread Ulf Markwardt
Dear Oliver, in http://slurm.schedmd.com/SUG14/roadmap.pdf, the slides "Asymmetric Resources" show that there is something planned along these lines for the future releases. Kind regards, Ulf -- ___ Dr. Ulf Markwardt Technische

[slurm-dev] unsubscribe

2014-10-09 Thread Ralph Bellofatto
Ralph Bellofatto IBM TJ Watson Research 1-914-945-3321 ralph...@us.ibm.com

[slurm-dev] Re: Patch to honor --without-rpath with optional libs

2014-10-09 Thread Artem Polyakov
Hey, Remi. Check here https://github.com/artpol84/ompi_trunk_build I use this scripts to autogen Open MPI and SLURM. They'll download, compile everything for you. No matter what you have on your laptop. четверг, 9 октября 2014 г. пользователь Rémi Palancher написал: > Hi developers, > > You can f

[slurm-dev] plugins: documentation <-> code mismatch

2014-10-09 Thread Uwe Sauter
Hi all, could someone please confirm that the variable const uint32_t plugin_legacy found in http://slurm.schedmd.com/plugins.html -> Data Objects was replaced with const uint32_t min_plug_version found in several code files in src/plugins/* sometime in the past? If this is correct, could s

[slurm-dev] Passing different binding parameters to a multi-prog application

2014-10-09 Thread Oliver Fortmeier
Dear all, We would like to execute a MPMD program by srun which is basically possible using the "--multi-prog" option for srun. Let's assume, we only have two different executables which should be executed by a single srun command (so, the same "MPI_COMM_WORLD" is used). Is it possible to pass

[slurm-dev] Patch to honor --without-rpath with optional libs

2014-10-09 Thread Rémi Palancher
Hi developers, You can find attached a patch that make hwloc, freeipmi, ofed and rrdtool autoconf macros honor the --without-rpath flag when set, like munge and bluegene macros already do. Sorry, I didn't run autogen.sh in the patch since the version of autotools on my laptop is older than y

[slurm-dev] Setting environment variables for executable on nodes with srun

2014-10-09 Thread Dirk Schubert
Hello! I am Dirk Schubert from Allinea Software Ltd. and I am currently in the process of implementing scalable debugging (Allinea DDT) and profiling (Allinea MAP) support for SLURM (srun). To make it convenient for our users we preload certain libraries (our memory debugging or profiling s

[slurm-dev] srun: spank_fini() called twice

2014-10-09 Thread Dorian Krause
Dear all, while experimenting with the SPANK API I noticed that the slurm_spank_exit() function is called twice by srun in local context since the list of functions registered with atexit() is inherited by the shepard process. Is this intended behavior? I pasted a patch below that ensures that s