Re: [slurm-users] Configuration issue on Ubuntu

2018-08-29 Thread Umut Arus
Thank you Chris. After your suggestion I compiled latest stable version on
a CentOS. And installed Munge packages firstly from Centos repository. Now
I'm getting the below error.

slurmd is succesfully working on same machine.

./slurmctld -Dc
slurmctld: debug:  Log file re-opened
slurmctld: error: Unable to open pidfile
`/var/run/slurm-llnl/slurmctld.pid': No such file or directory
slurmctld: slurmctld version 17.11.9-2 started on cluster cluster

*slurmctld: debug3: Trying to load plugin
/root/sl/sl2/lib/slurm/crypto_munge.soslurmctld: error: Couldn't find the
specified plugin name for crypto/munge looking at all files*
slurmctld: debug3: accept_path_paranoia: stat(/root/sl/sl2/lib/slurm) failed

*slurmctld: error: cannot find crypto plugin for crypto/mungeslurmctld:
error: cannot create crypto context for crypto/munge*
*slurmctld: fatal: slurm_cred_creator_ctx_create((null)): Permission denied*

What is you suggestion for the "Permission denied" and munge errors?

On Wed, Aug 29, 2018 at 12:05 AM Chris Samuel  wrote:

> On Tuesday, 28 August 2018 11:43:54 PM AEST Umut Arus wrote:
>
> > It seems the main problem is; slurmctld: fatal: No front end nodes
> defined
>
> Frontend nodes are for IBM BlueGene and Cray systems where you cannot run
> slurmd on the compute nodes themselves so a proxy system must be used
> instead
> (at $JOB-1 we used this on our BG/Q system).  I strongly suspect you are
> not
> running on either of those!
>
> https://slurm.schedmd.com/slurm.conf.html
>
> # These options may only be used on systems configured and built with the
> # appropriate parameters (--have-front-end, --enable-bluegene-emulation)
> # or a system determined to have the appropriate architecture by the
> # configure script (BlueGene or Cray systems).
>
> If you built Slurm yourself you'll need to check you didn't use those
> arguments by mistake or configure didn't enable them in error, and if this
> is
> an Ubuntu package then it's probably an bug in how they packaged it!
>
> Best of luck,
> Chris
> --
>  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
>
>
>
>
>

-- 
*Umut A.*


Re: [slurm-users] Configuration issue on Ubuntu

2018-08-29 Thread Chris Samuel
On Wednesday, 29 August 2018 8:23:43 PM AEST Umut Arus wrote:

> Thank you Chris. After your suggestion I compiled latest stable version on a
> CentOS. And installed Munge packages firstly from Centos repository. Now
> I'm getting the below error.
[...]
> slurmctld: debug3: Trying to load plugin 
> /root/sl/sl2/lib/slurm/crypto_munge.so

To me that looks like you managed to compile Slurm against a
version of Munge installed under root's home directory.

This is unlikely to be what you want.

If you build Slurm as a non-root user then it won't find that.

All the best,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC






[slurm-users] squeue column width

2018-08-29 Thread Mahmood Naderan
Hi
I want to make the user column larger than the default display format. The
following command fails

# squeue --format="user%20"
squeue: error: Invalid job format specification:
user%20
user%20


Regards,
Mahmood


Re: [slurm-users] squeue column width

2018-08-29 Thread Jeffrey Frey
You're mixing up --Format and --format.  The latter uses printf-like "%" 
syntax:


squeue --format="%20u"


and the former:


squeue --Format="username:20" 





> On Aug 29, 2018, at 11:39 AM, Mahmood Naderan  wrote:
> 
> Hi
> I want to make the user column larger than the default display format. The 
> following command fails
> 
> # squeue --format="user%20"
> squeue: error: Invalid job format specification:
> user%20
> user%20
> 
> 
> Regards,
> Mahmood
> 
> 


::
Jeffrey T. Frey, Ph.D.
Systems Programmer V / HPC Management
Network & Systems Services / College of Engineering
University of Delaware, Newark DE  19716
Office: (302) 831-6034  Mobile: (302) 419-4976
::