[Cloud] Re: Source command not working with zsh

2021-11-16 Thread Roy Smith
Actually, all that proves is that the symlink exists. The linked-to target (/bin/zsh) may not. If I may be so bold to ask, why are you trying to use zsh for scripts? Use whatever you want for interactive work, but for scripts, especially scripts to be run in magical environments like on the g

[Cloud] Re: Source command not working with zsh

2021-11-16 Thread Huji Lee
It shows the "correct" answer, i.e.: lrwxrwxrwx 1 root root 8 Dec 18 2019 /usr/bin/zsh -> /bin/zsh So zsh is there and accissble on the grid. Still unclear why the scripts would fail on the grid, and why they would fail without outputing anything. On Tue, Nov 16, 2021 at 9:43 PM Roy Smith wrot

[Cloud] Re: Source command not working with zsh

2021-11-16 Thread Roy Smith
Submit a job that does: > ls -l /usr/bin/zsh and see what it says. > On Nov 16, 2021, at 9:37 PM, Huji Lee wrote: > > Is it really that zsh is not available on the grid, and the grid tries to > replicate my environment first and reaches the "exec zsh" command and falls > apart somehow? ___

[Cloud] Re: Source command not working with zsh

2021-11-16 Thread Huji Lee
I went back and reactivated the line in .bash_profile which enabled zsh ("exec zsh" as the last line of .bash_profile) Then I submitted the job to the grid, using a command like this: jsub -N "n" -once -o ~/err/nightly.out -e ~/err/nightly.err ~/grid/jobs/nightly.sh I did it three ways. First,