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?