- Jul 22, 2015
-
-
Brian Christiansen authored
Bug 1208
-
- Jul 21, 2015
-
-
Morris Jette authored
-
Morris Jette authored
-
Chandler Wilkerson authored
This patch provides a rewrite of how /proc/cpuinfo is parsed in common_jag.c, as the original code made the incorrect assumption that cpuinfo follows a sane format across architectures ;-) The motivation for this patch is that the original code was producing stack smashing on a POWER7 running RHEL6.4 Red Hat adds -fstack-protector along with a lot of other protective CFLAGS when building RPMs. The code ran okay with -fno-stack-protector, but that is not the best work-around. So, the relevant /proc/cpuinfo line on an Intel (Xeon X5675) system looks like: cpu MHz : 3066.915 Whereas the relevant line in a POWER7 system is clock : 3550.000000MHz My patch replaces the assumption that the relevant number starts 11 characters into the string with another assumption: That the relevant number starts two characters after a colon in a string that matches (M|G)Hz. All in all, the function has a few more calls, which may be a performance issue if it has to be called multiple times, but since the section I edited only gets evaluated if we don't know the cpu frequency, getting it right will actually result in fewer string operations and unnecessary opens of /proc/cpuinfo for systems likewise affected. Finally, I also read the actual value into a double and multiply it up to the size indicated by the suffix, so we end up with KHz? It was unclear what the original code intended, since it matched both MHz and GHz, replaced the decimal point with a zero, and read the result as an int. -- Chandler Wilkerson Center for Research Computing Rice University
-
Danny Auble authored
This reverts commit 2c95e2d2. Conflicts: src/plugins/select/alps/basil_interface.c This is related to bug 1822. It isn't clear why the code was taken out in this commit in the first place and based off of commit 2e2de6a4 (which is the reason for the conflict) we tried unsuccessfully to put it back. It appears the only difference here is the addition of always setting mppnppn = 1 instead of always to job_ptr->details->ntasks_per_node when no ntasks is set. This appears to only be an issue with salloc or sbatch as ntasks is always set for srun.
-
David Gloe authored
I've attached a patch to add a new script and templates that create slurm.conf and gres.conf on a Cray SMW. The script parses the output of xthwinv, combines nodes with the same hardware, and writes the output to slurm.conf. It also uses NodeName in gres.conf to allow having the same gres.conf file on all nodes. I removed the settings in slurm.conf that we had commented out or set to the default.
-
Morris Jette authored
-
Morris Jette authored
-
david authored
-
- Jul 20, 2015
-
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
Also change units to bytes everywhere
-
Brian Christiansen authored
Bug 1783
-
Morris Jette authored
-
Morris Jette authored
-
Hongjia Cao authored
-
- Jul 18, 2015
-
-
jette authored
-
Brian Christiansen authored
Prevent slurmctld abort on update of advanced reservation that contains no nodes. bug 1814
-
Brian Christiansen authored
Bug 1810
-
- Jul 17, 2015
-
-
Morris Jette authored
-
Morris Jette authored
srun command line of either --mem or --mem-per-cpu will override both the SLURM_MEM_PER_CPU and SLURM_MEM_PER_NODE environment variables. Without this change, salloc or sbatch setting --mem-per-cpu (or a configuration of DefMemPerCPU) would over-ride the step's --mem value.
-
Danny Auble authored
-
Danny Auble authored
change was made.
-
Morris Jette authored
-
Morris Jette authored
This will make using the Cray test environemt easier
-
Danny Auble authored
-
Morris Jette authored
Conflicts: src/api/cache_info.c src/plugins/slurmctld/dynalloc/msg.c
-
Morris Jette authored
-
Nicolas Joly authored
-
Danny Auble authored
Conflicts: src/plugins/accounting_storage/mysql/as_mysql_assoc.c
-
Danny Auble authored
when removing a limit from an association on multiple clusters at the same time.
-
Danny Auble authored
-
Danny Auble authored
to gain the correct limit when a parent account is root and you remove a subaccount's limit which exists on the parent account.
-
- Jul 16, 2015
-
-
Morris Jette authored
-
Morris Jette authored
Expect is sometimes splitting lines on long output bufffers resulting in this test to sporatically fail. This reduces the volume of output, which seems to fix the problem
-
Morris Jette authored
This fixes changes made in commit d4d51de7 Which fails for a job state of Pending (needed to special case the zero value).
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
abort if specified acct_gather_energy plugin can not be loaded rather than deadlocking bug 1797
-
Danny Auble authored
-