<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I have read that salloc has some problem running bash scripts  while it is OK with binary files. The following script works fine from bash terminal, but salloc is unable to to that.<br><br><br>$ cat slurm.sh <br>#!/bin/bash<br>./script.sh files_android.txt report/android.txt<br>$ salloc -n 1 -c 1 --mem=4G -p RUBY -A y4 slurm.sh<br>salloc: Granted job allocation 195<br>salloc: error: Unable to exec command "slurm.sh"<br>salloc: Relinquishing job allocation 195<br>$ ls -l slurm.sh <br>-rwxrwxr-x 1 mahmood mahmood 73 Dec 30 13:24 slurm.sh<br>$ ls -l script.sh <br>-rwxrwxr-x 1 mahmood mahmood 251 Dec 28 00:31 script.sh<br><br><br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I have some other scripts and this is going to bother. Any idea? Is there any workaround for that?<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br clear="all"></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="tahoma,sans-serif">Regards,<br>Mahmood</font><br><br><br></div></div></div></div></div></div></div></div>