Here is my sbatch file:
#!/bin/bash
#SBATCH --output=stata_example.out
#SBATCH --error=stata_example.err
#SBATCH --nodes=1
module load stata
stata do stata_example.do
But it always returns with error: stata: command not found. I have tried with "stata-mp" or "stata-se" "stata-ic", or "stata -b stata_example.do". but it returns same error information. Can anyone help with that?
type stada
. – TheSlatermodule load
command issue an error? – damienfrancoisstata
but it returns with Exit Code 126 "Permission Denied" – Ssay_leemodule list
it will return "1) Stata" – Ssay_lee