In a very crowded hpc cluster where the job submission queues are very long, I want to evaluate the performance of an algorithm (written in R) which depends on a parameter list. There are 5 possible settings for this parameter list. When I submit a new job it will queue for some unknown time (depending on the jobs submitted before mine) before running rather than start running immediately.
Is there a way for me to submit the five jobs automatically and under version control, in the sense that I do not need to wait and constantly check whether the queuing job starts running so that I can modify the values, git push, and submit a another job with new parameter list? Also I want 5 jobs be in the queue as fast as possible.
My idea is to submit 5 jobs using 5 scripts for the 5 parameter list. But this will involve lots of copy paste, does not scale well when there are say 20 possible values for the parameter list. And it does not work well with git.
Update This post is a duplicate. Thanks @High Performance Mark and @atalbot for pointing out. I will learn more on design patterns.
Thanks!