On clusters using the slurm workload manager the srun command should be used instead of the mpirun command used locally. To ensure both job steps are executed side-by-side when using slurm the --overlap option is usually required for srun:
#SBATCH <ResourceAllocation>
# start DEM
cd ../DEM
srun --overlap aspherix -in run.asx &
# start CFD alongside
cd ../CFD
srun --overlap cfdemSolverPiso -parallel &
# wait for all job steps to finish
waitWas this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article