I want to run 20 jobs simultaneously on HPCC using a bash script. I wrote the code below, but this code cannot run the jobs simultaneously. Can everyone help me out with how can I modify this code to do that?
cd $SLURM_SUBMIT_DIR
for((i=0;i<20;i++))
do
    cd $i
    #running a code
    cd ../
    
done
~
~
 
    