From: John Hearns [mailto:john.hea...@xma.co.uk] Sent: 04 December 2015 09:56 To: slurm-dev Subject: [slurm-dev] Re: Problem in loading modules in slurm Batch script.
Hello Hezi, Have you tried making the shell for the batch script a login shell? #!/bin/bash -l I have not come across this with Slurm, but have with other batch systems. There are differences between interactive and non-interactive login sessions. I found the thread I started – in 2007! This was about Gridengine, but may be relevant here. http://sourceforge.net/p/modules/mailman/message/5909573/ ________________________________ Scanned by MailMarshal - M86 Security's comprehensive email content security solution. ________________________________ 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