I'm trying to make a slurm file that runs a python script on tens/hundreds of input files. Each process is single-threaded and totally independent from each other and I want to speed things up by running them simultaneously.
Currently I'm doing
#SBATCH --nodes=1 --ntasks-per-node=1 --time=0:20:00
python3 xxx.py -i /path/input1
and I want to change it to something like
python3 xxx.py -i /path/*input
How should I change it so that all process could run in parallel?