Submit job with sbatch
$SUB -J ${jobname} -s -o ${logfile} -e ${logfile} $cmdfile
eg:
main.sh
--------------
#!/bin/bash
export TT=999
sbatch -s -J "myjob " -o ~/aa.log -e ~/aa.err ~/abc1.sh
sbatch -s -J "myjob " -o ~/aa2.log -e ~/aa2.err ~/abc2.sh
No comments:
Post a Comment