[slurm-dev] Re: using gdb to debug slurm-15.08?

2016-04-29 Thread Michael Kit Gilbert
gain using "--with debug" and gdb is still working. It does still throw that error regarding "Missing separate debuginfos", but I'm able see a backtrace right away with no problem. Thanks again everybody for the enlightenment and the help! On Fri, Apr 29, 2016 at 12:5

[slurm-dev] Re: using gdb to debug slurm-15.08?

2016-04-29 Thread Michael Kit Gilbert
stripped On Fri, Apr 29, 2016 at 7:38 AM, Michael Kit Gilbert wrote: > Michael, thank you so much for offering your help! I created a Github gist > here <https://gist.github.com/mkgilbert/4e4e987686d6517aa6548831d80a27c8> > with the output from my rpmbuild, which I did with the fo

[slurm-dev] Re: using gdb to debug slurm-15.08?

2016-04-29 Thread Michael Kit Gilbert
--with debug -ta slurm-15.08.9.tar.gz" and does result in > RPMs that install unstripped binaries and libs. So I know it works; > we just have to figure out why it's not working for you. > > If you want, pastebin a log of your build process, and I can take a > look and s

[slurm-dev] Re: using gdb to debug slurm-15.08?

2016-04-28 Thread Michael Kit Gilbert
till gives the debuginfos error. The only thing I haven't tried yet is compiling everything independently instead of patching the rpms. Maybe I'll give that a go. On Wed, Apr 27, 2016 at 11:50 PM, Bjørn-Helge Mevik wrote: > > Michael Kit Gilbert writes: > > > I'm

[slurm-dev] using gdb to debug slurm-15.08?

2016-04-25 Thread Michael Kit Gilbert
Hello everyone, I'm trying to troubleshoot a problem with a local patch I'm writing for Slurm and can't seem to get gdb working properly. I've built the rpms with -D '%_with_cflags CFLAGS="-O0 -g3"' and slurmctld and slurmd appear to be starting normally. However, when I try to attach gdb to the s

[slurm-dev] How does sbatch switch users?

2016-04-05 Thread Michael Kit Gilbert
Hi everyone, Would someone be able to point me to the code in Slurm that allows sbatch to submit jobs as another user (using the --uid option)? I don't see any use of the setuid() function for sbatch...is there some other method employed? Thanks for any help! Mike

[slurm-dev] srun setuid issue

2016-03-24 Thread Michael Kit Gilbert
I'm trying to write a patch that will do away with the need for users who have AdminLevel=admin permissions to use sudo when running `srun --uid=`. I was able to make several changes to various RPC's that started to get me somewhere, but got stuck in the libsrun/srun.c file. Here, the _become_user(

[slurm-dev] srun not allowing running parallel commands correctly?

2015-07-21 Thread Michael Kit Gilbert
Hi everyone, I am trying to configure slurm to use openmpi for the first time. I am familiar with how to submit parallel jobs with openmpi on an existing cluster, but cannot for the life of me figure out how to get parallel jobs to submit correctly on my test virtual cluster. Here's some of system

[slurm-dev] Re: sacct -a --nnodes=2-5

2015-07-08 Thread Michael Kit Gilbert
Danny, I think if you add more to your output you will likely see that the results that display with 1 node are actually just the batch parts of another job, but they show up on their own line. I am not a slurm expert, so there could be other reasons for the 1s showing up in your output, but this

[slurm-dev] Re: Slurm 14.11.7 no more "exceeded memory" error?

2015-06-04 Thread Michael Kit Gilbert
r accurate) and (2) even if the job is not killed you’re > made aware of swap usage and the potential for performance degradation in > your job. > > http://bugs.schedmd.com/show_bug.cgi?id=1682 > > Will > > > On Jun 3, 2015, at 3:48 PM, Michael Kit Gilbert wrote: > &

[slurm-dev] Slurm 14.11.7 no more "exceeded memory" error?

2015-06-03 Thread Michael Kit Gilbert
Hello everyone, We just upgraded to Slurm 14.11.7 recently and have noticed an issue with jobs that exceed their specified memory limit. Instead of the familiar "Exceeded step memory limit..." error that we normally see, we are now seeing that the job simply was killed. Here is a job script I ran

[slurm-dev] Dependent Job Arrays

2015-05-15 Thread Michael Kit Gilbert
Hi everyone, I'm wondering if there is a way to submit a job array where each task is dependent on the previous task, so if one fails the subsequent tasks don't start. I'm aware of how dependencies work, and have a solution for this using a for loop. It submits a jobs with a dependency on the prev

[slurm-dev] Re: Newb question about plugins

2015-03-20 Thread Michael Kit Gilbert
Absolutely! And thank you so much for your willingness to help! On Mar 20, 2015 5:11 AM, "Andy Riebs" wrote: > Thanks for that follow-up Mike > > Andy > > On 03/19/2015 07:33 PM, Michael Kit Gilbert wrote: > > Update: In the interest of helping out anyone else

[slurm-dev] Re: Newb question about plugins

2015-03-19 Thread Michael Kit Gilbert
this syntax was documented in the slurm.conf man page, but I couldn't find anything anywhere on how to properly use it. Just had to go through a lot of trial and error. On Thu, Mar 19, 2015 at 2:37 PM, Michael Kit Gilbert wrote: > Thanks again for the help! > OS: CentOS 6.5 > Slu

[slurm-dev] Re: Newb question about plugins

2015-03-19 Thread Michael Kit Gilbert
t is optional. (BTW, did you discover that > MailProg is a requirement, once you get further down the road?) > > Andy > > > On 03/19/2015 04:33 PM, Michael Kit Gilbert wrote: > > Update: So, I have figured out the problem with slurm not running > properly. It had to do

[slurm-dev] Re: Newb question about plugins

2015-03-19 Thread Michael Kit Gilbert
stack I posted the slurm.conf and plugstack.conf changes I made in the first post. Thanks for any help! On Thu, Mar 19, 2015 at 11:55 AM, Michael Kit Gilbert wrote: > Thank you so much for the reply, Andy. Well, apparently there's a lot > happening that may be causing the issue.

[slurm-dev] Re: Newb question about plugins

2015-03-19 Thread Michael Kit Gilbert
lurmctld -D" which should result in output telling you > what's going wrong. > > Andy > > > > On 03/19/2015 01:15 PM, Michael Kit Gilbert wrote: > > Sorry for the basic question, but I am new to slurm and am having some > basic problems with plugins. What I

[slurm-dev] Newb question about plugins

2015-03-19 Thread Michael Kit Gilbert
Sorry for the basic question, but I am new to slurm and am having some basic problems with plugins. What I'd like to do is make the job_submit_require_timelimit.so plugin that is found in the source code active and required for all jobs. What I've done so far is I've added the line *PluginDir=/us

[slurm-dev] Re: Interactive Lua plugin?

2015-03-18 Thread Michael Kit Gilbert
those times I'm feeling lazy/impatient > and want to `make -j 60`. > > Hope that helps! > > Josh McSavaney > Assistant Systems Administrator (HPC) -- Scheduling Czar > Research Computing @ RIT > > On Wed, Mar 18, 2015 at 6:14 PM Michael Kit Gilbert wrote: > >&g

[slurm-dev] Interactive Lua plugin?

2015-03-18 Thread Michael Kit Gilbert
I'm wanting to create a Lua plugin for Slurm that is interactive with the user: When they submit a job without a time limit specified, they get a prompt that asks for a time limit, and then the job is updated with the time limit and is submitted. Is this at all possible with either a Lua or C plug