On 06/22/2017 12:18 PM, Loris Bennett wrote:> I have just realised that
pdsh, which was what I wanted the consolidated
list for, has a Slurm module, which knows about Slurm jobs. I followed
your instructions here:
https://wiki.fysik.dtu.dk/niflheim/SLURM#pdsh-parallel-distributed-shell
with some modifications for EPEL6. However, in the 'rebuild' line
rpmbuild --rebuild --with=slurm --without=torque pdsh-2.26-4.el6.src.rpm
fails with
--with=slurm: unknown option
The page https://github.com/grondo/pdsh implies it should be
rpmbuild --rebuild --with-slurm --without-torque pdsh-2.26-4.el6.src.rpm
but this also fails:
--with-slurm: unknown option
Any ideas what I'm doing wrong?
Not really. But I notice that the pdsh RPM:
https://dl.fedoraproject.org/pub/epel/6/SRPMS/pdsh-2.26-4.el6.src.rpm
is dated 2012-09-07
I also get the error:
# rpmbuild --rebuild --with=slurm --without=torque pdsh-2.26.tar.bz2
--with=slurm: unknown option
I haven't been able to find documentation of rpmbuild for EL6. Further
investigation is required.
/Ole