[slurm-dev] Re: installing slurm on CentOS 5.10

2014-06-24 Thread Antony Cleave

Hi Steve,

SLURM has a nice config file generator which you can access via a web 
browser


you are looking for a file called configurator.html or 
configurator.easy.html


on my system it ended up in /prefix/share/doc/slurm-14.03.3-2/html/ so 
on yours it should be


/usr/local/slurm/14.03.3-2/share/doc/14.03.3-2/html/configurator.html

most important is to get the Control Machine hostname right and you 
define some nodes with a similar configuration to your real nodes

the defaults for the rest should be fine for your purposes

Antony

On 24/06/2014 15:37, Love, Steve W. wrote:

Hello,
I’m trying to build a version of SLURM on a VM for the purpose of 
testing.  The VM is running CentOS 5.10 and has
4 processors.  Our HPC users will be faced with the task of changing 
their submission scripts from a cluster running

SGE to one where they’ll be using SLURM.
I’d like to use the installation of SLURM in order that our users can 
test simple scripts with;

_https://marylou.byu.edu/documentation/slurm/script-generator_
I’ve been following some notes from the Clustervision user portal 
which suggests performing the following;

use yum to install numactl libraries
build hwloc which I did with; ./configure --prefix=/usr/local/hwloc/1.8.1
build munge which I did with; ./configure --prefix=/usr 
--sysconfdir=/etc --localstatedir=/var  make  make install
build slurm which I did with; ./configure 
--prefix=/usr/local/slurm/14.03.3-2/ --enable-multiple-slurmd 
--with-hwloc=/usr/local/hwloc/1.8.1/ --enable-pam
When I try to start a slurm daemon it complains about not having any 
configuration files ... which I can never find?

I’ve went with;
./configure --prefix=/usr/local/slurm/14.03.3-2/ 
--enable-multiple-slurmd --with-hwloc=/usr/local/hwloc/1.8.1/ 
--enable-pam --sysconfdir=/usr/local/slurm/14.03.3-2/

But that too failed to produce any config files.
Any ideas as to what I’m doing wrong here?
Thanks,
Steve Love.
British Geological Survey
Edinburgh

_ _
This message (and any attachments) is for the recipient only. NERC is 
subject to the Freedom of Information Act 2000 and the contents of 
this email and any reply you make may be disclosed by NERC unless it 
is exempt from release under the Act. Any material supplied to NERC 
may be stored in an electronic records management system.




[slurm-dev] Re: installing slurm on CentOS 5.10

2014-06-24 Thread Ryan Cox

Steve,

Our script generator was rewritten recently and released on Github: 
https://github.com/BYUHPC/BYUJobScriptGenerator. You might want to try 
that out and tailor it for your needs, though we have no problem with 
people linking to our site directly if you don't want to host your own 
version.


Ryan

On 06/24/2014 08:38 AM, Love, Steve W. wrote:

Hello,
I’m trying to build a version of SLURM on a VM for the purpose of 
testing.  The VM is running CentOS 5.10 and has
4 processors.  Our HPC users will be faced with the task of changing 
their submission scripts from a cluster running

SGE to one where they’ll be using SLURM.
I’d like to use the installation of SLURM in order that our users can 
test simple scripts with;

_https://marylou.byu.edu/documentation/slurm/script-generator_
I’ve been following some notes from the Clustervision user portal 
which suggests performing the following;

use yum to install numactl libraries
build hwloc which I did with; ./configure --prefix=/usr/local/hwloc/1.8.1
build munge which I did with; ./configure --prefix=/usr 
--sysconfdir=/etc --localstatedir=/var  make  make install
build slurm which I did with; ./configure 
--prefix=/usr/local/slurm/14.03.3-2/ --enable-multiple-slurmd 
--with-hwloc=/usr/local/hwloc/1.8.1/ --enable-pam
When I try to start a slurm daemon it complains about not having any 
configuration files ... which I can never find?

I’ve went with;
./configure --prefix=/usr/local/slurm/14.03.3-2/ 
--enable-multiple-slurmd --with-hwloc=/usr/local/hwloc/1.8.1/ 
--enable-pam --sysconfdir=/usr/local/slurm/14.03.3-2/

But that too failed to produce any config files.
Any ideas as to what I’m doing wrong here?
Thanks,
Steve Love.
British Geological Survey
Edinburgh

_ _
This message (and any attachments) is for the recipient only. NERC is 
subject to the Freedom of Information Act 2000 and the contents of 
this email and any reply you make may be disclosed by NERC unless it 
is exempt from release under the Act. Any material supplied to NERC 
may be stored in an electronic records management system.


--
Ryan Cox
Operations Director
Fulton Supercomputing Lab
Brigham Young University