Bhanu

Regarding recording commands etc. then have a look at this project which was 
presented at FOSDEM last weekend:
https://fosdem.org/2017/schedule/event/ogrt/attachments/slides/1574/export/events/attachments/ogrt/slides/1574/005_ogrt.pdf
https://github.com/georg-rath/ogrt


This should do what you want.




From: Prasad, Bhanu [mailto:bhanu_pra...@hms.harvard.edu]
Sent: 06 February 2017 16:32
To: slurm-dev <slurm-dev@schedmd.com>
Subject: [slurm-dev] how to differentiate regular srun and srun with --pty

Hi,

we recently migrated to slurm-16.05.4

Is there a way to detect whether the user is executing srun with/without --pty 
in job_submit plugin or any other plugin
we need to limit a partition to only srun without --pty (i.e non-interactive 
only)
but can be able to run regular srun
Is there any variables that detect this feature or any one know a work around 
that does this kind of stuff

And

Is there a way to capture commands executed by user using srun / sbatch with 
--wrap
And how to redirect these commands to slurmdb
If changing default slurmdb is a bad idea
how to set up a new parallel database that store all job information including 
things like commands etc..

And

Are there any default ports defiend for the use of mpirun with srun ??


--
Thanks&Regards
Bhanu

Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of the company. Employees of XMA Ltd are 
expressly required not to make defamatory statements and not to infringe or 
authorise any infringement of copyright or any other legal right by email 
communications. Any such communication is contrary to company policy and 
outside the scope of the employment of the individual concerned. The company 
will not accept any liability in respect of such communication, and the 
employee responsible will be personally liable for any damages or other 
liability arising. XMA Limited is registered in England and Wales (registered 
no. 2051703). Registered Office: Wilford Industrial Estate, Ruddington Lane, 
Wilford, Nottingham, NG11 7EP

Reply via email to