[slurm-users] sview problem

2017-11-20 Thread Alexey Safonov
Hi, i'm using cluster on CentOS operating system and using my ubuntu workstation can't run sview/sacct etc from my local machine asafonov@ltspc162:/$ sview -vvv sview: error: slurm_persist_conn_open_without_init: failed to open persistant connection to localhost:6819: Connection refused sview: er

Re: [slurm-users] Slurm preemption grace time

2017-11-20 Thread Ailing Zhang
Thanks Jeffrey, bypassing SIGTERM solved my problem! :D Best, Ailing On Mon, Nov 20, 2017 at 8:33 AM, Jeffrey Frey wrote: > • *GraceTime*: Specifies a time period for a job to execute after it is > selected to be preempted. This option can be specified by partition or QOS > using the slurm.conf

[slurm-users] problem: cannot srun with jobid and nodelist to run paraview server as additional job step on existing allocated nodes

2017-11-20 Thread 程迪
Hi everyone, In my practice, I usually reserve a lot of nodes using `salloc` command and run tasks using `mpirun`. And now I want to do it in slurm's way. I saw in the document that I can add job steps using `srun` using `--jobid` and `--nodelist` option. However, I found that I cannot run paravie

Re: [slurm-users] Can't start slurmdbd

2017-11-20 Thread Lachlan Musicman
Also - make sure you have MariaDB-devel when you make the RPMs - that's the first bit. The second bit is you might have to find the accounting_storage_mysql.so and place it in /usr/lib64/slurm. I think it might end up in /path/to/rpmbuild/BUILD/sec/plugins/accounting/.libs/ or something like that

Re: [slurm-users] Can't start slurmdbd

2017-11-20 Thread Philip Kovacs
Try adding this to your conf: PluginDir=/usr/lib64/slurm On Monday, November 20, 2017 6:48 AM, Juan A. Cordero Varelaq wrote: I did that but got the same errors. slurmdbd.log contains by the way the following: [2017-11-20T12:39:04.178] error: Couldn't find the specified plugin name

Re: [slurm-users] Slurm preemption grace time

2017-11-20 Thread Jon Tegner
Hi, could you try submitting the following script: Script job.sh: ** #!/bin/bash #SBATCH -p test-low #SBATCH -n 3 #SBATCH -t 12:00:00 sig_term() { echo "function sig_term called.  Exiting" echo 'sig_term' > slask_term echo $(date) >> slask_term } # associate the funct

Re: [slurm-users] Slurm preemption grace time

2017-11-20 Thread Jeffrey Frey
• GraceTime: Specifies a time period for a job to execute after it is selected to be preempted. This option can be specified by partition or QOS using the slurm.conf file or database respectively. This option is only honored if PreemptMode=CANCEL. The GraceTime is specified in seconds and the de

[slurm-users] Slurm preemption grace time

2017-11-20 Thread Ailing Zhang
Hi slurm community, I'm testing preemption with partition based preemption. Partitions test-high and test-low share the same nodes. I set GraceTime=600 and PreemptMode=CANCEL in test-low. But once I submitted a job to test-high, job in test-low is immediately killed without any grace time. Here is

[slurm-users] --exclusive=user option

2017-11-20 Thread Shintaro Aibara
Dear Slurm Community, I am a new user of slurm and struggling with some basic options. In particular I would like to use the -s and --exclusive=user options to be able to fire multiple jobs on a node, but only for myself. However when I try to partially allocate myself a node, I find that it only

Re: [slurm-users] Can't start slurmdbd

2017-11-20 Thread Juan A. Cordero Varelaq
I did that but got the same errors. slurmdbd.log contains by the way the following: [2017-11-20T12:39:04.178] error: Couldn't find the specified plugin name for accounting_storage/mysql looking at all files [2017-11-20T12:39:04.179] error: cannot find accounting_storage plugin for ac

Re: [slurm-users] Can't start slurmdbd

2017-11-20 Thread Lachlan Musicman
On 20 November 2017 at 20:50, Juan A. Cordero Varelaq < bioinformatica-i...@us.es> wrote: > $ systemctl start slurmdbd > Job for slurmdbd.service failed because the control process exited > with error code. See "systemctl status slurmdbd.service" and "journalctl > -xe" for details. > $

[slurm-users] Can't start slurmdbd

2017-11-20 Thread Juan A. Cordero Varelaq
Hi, Slurm 17.02.3 was installed on my cluster some time ago but recently I decided to use SlurmDBD for the accounting. After installing several packages (slurm-devel, slurm-munge, slurm-perlapi, slurm-plugins, slurm-slurmdbd and slurm-sql) and MariaDB in CentOS 7, I created an SQL database: