Naive parallelization in a .pbs file
问题 Is it possible to do parallelize across a for loop in a PBS file? Below is an my attempt.pbs file. I would like to allocate 4 nodes and simultaneously allocate 16 processes per node. I have successfully done this but now I have 4 jobs and I would like to send one job to each node. (I need to do this because queuing algo will make me wait a few days for submitting 4 separate job on the cluster I'm using) #!/bin/bash #PBS -q normal #PBS -l nodes=4:ppn=16:native #PBS -l walltime=10:00:00 #PBS -N