Re: [slurm-users] $TMPDIR does not honor "TmpFS"

2018-11-21 Thread Shenglong Wang
We have TMPDIR setup inside prolog file. Hope users do not have absolute path /tmp inside their scripts. #!/bin/bash SLURM_BIN="/opt/slurm/bin" SLURM_job_tmp=/state/partition1/job-${SLURM_JOB_ID} mkdir -m 700 -p $SLURM_job_tmp chown $SLURM_JOB_USER $SLURM_job_tmp echo "export SLURM_JOBTMP=$SL

Re: [slurm-users] Transparently assign different walltime limit to a group of nodes ?

2018-08-13 Thread Shenglong Wang
Please try to use SLURM Lua plugin, setup two partitions, one for n06-n10 and one for all nodes, inside SLURM Lua plugs, you can assign jobs to different partitions based on requested wall time. Best, Shenglong > On Aug 13, 2018, at 9:44 AM, Cyrus Proctor wrote: > > Hi Jens, > > Check out ht

Re: [slurm-users] Finding submitted job script

2018-07-10 Thread Shenglong Wang
scontrol show job -dd JOBID then search Command= Best, Shenglong > On Jul 10, 2018, at 12:02 PM, Mahmood Naderan wrote: > > Hi > How can I check the submitted script of a running based on its jobid? > > > Regards, > Mahmood > >

Re: [slurm-users] Job runtime

2018-03-14 Thread Shenglong Wang
Gaussian reports CPU time, sacct reports wall time here. Was Gaussian setup to run with 2 CPU cores? Best, Shenglong > On Mar 14, 2018, at 8:04 AM, Mahmood Naderan wrote: > > Hi, > I see that slurm reports a 35 min duration for a completed job (g09) like this > > [mahmood@rocks7 ~]$ sacct -j

Re: [slurm-users] how to disable --mem and --mem-per-cpu in srun, salloc and sbatch

2018-01-04 Thread Shenglong Wang
You can try to use SLURM LUA plugins to check and reject the submissions. Best, Shenglong > On Jan 4, 2018, at 9:58 PM, 马银萍 wrote: > > hello, > > I want to stop users to use --mem and --mem-per-cpu in srun,salloc and > sbatch, but I can't figure out how to do, did I need to modify slurm s