[slurm-users] Is it possible to make SlurmctldPidFile in slurm.conf suport %h or %n?

2020-03-27 Thread Fred Liu
Hi,

Subject says it all.


Thanks.

Fred


Re: [slurm-users] Slurm - Maridb error

2020-03-27 Thread Ole Holm Nielsen

On 26-03-2020 20:45, Dhumal, Dr. Nilesh wrote:

Ole,
Thanks for the link. I am able to run  rpmbuild -ta 
slurm-20.02.0.tar.bz2 successfully.


Both slurm tar-balls 19.05 as well as 20.02 should build without errors. 
 If not, you likely have a problem with your system or are missing 
prerequisites.


Please note that updated versions of Slurm 19.05 and 20.02 were 
announced yesterday.


My computing node doesn't have internet access. Any recommendation, how 
to install all packages offline.


We install RPMs that have been downloaded to a local NFS server.  You 
could also connect your compute nodes to the internet, or use a NAT 
gateway router for internet access.


I also tried to  install slurm-19.05.5.tar.bz2. It doesn't get install 
successfully. Is it there any command to uninstall or remove old version.


This should not happen.  Please study my Slurm installation Wiki page 
carefully: https://wiki.fysik.dtu.dk/niflheim/Slurm_installation


To remove existing packages:

rpm -qa | grep slurm
yum remove 

/Ole



*From:* slurm-users  on behalf of 
Ole Holm Nielsen 

*Sent:* Wednesday, March 25, 2020 3:27 AM
*To:* slurm-users@lists.schedmd.com 
*Subject:* Re: [slurm-users] Slurm - Maridb error
Hi Nilesh,

You may find relevant information about installing on CentOS/RHEL 7 in my
Slurm Wiki: 
https://urldefense.com/v3/__https://wiki.fysik.dtu.dk/niflheim/Slurm_installation__;!!IkmNjII!VPgokmTLH1QzQeAjJAlKw6xDLffIDc0HamsdSqTBI4ocZwU2g3lJyXXEiIur6hP5$ 



/Ole


On 3/25/20 2:48 AM, Dhumal, Dr. Nilesh wrote:

Hello,
I am installing slurm on centos . I installed all supporting libraries 
successfully. I also installed MariDB before installing slurm.

I get the following error for sudo rpmbuild -ta slurm-20.02.0.tar.bz2

error: File not found: 
/root/rpmbuild/BUILDROOT/slurm-20.02.0-1.el7.x86_64/usr/lib64/slurm/accounting_storage_mysql.so



RPM build errors:
      File not found: 
/root/rpmbuild/BUILDROOT/slurm-20.02.0-1.el7.x86_64/usr/lib64/slurm/accounting_storage_mysql.so
      File not found: 
/root/rpmbuild/BUILDROOT/slurm-20.02.0-1.el7.x86_64/usr/lib64/slurm/accounting_storage_mysql.so