<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">On our HPC systems we have a lot of users attempting to organize job arrays for varying purposes -- parameter scans, SSMD (Single-Script, Multiple Datasets).  We eventually wrote an abstract utility to try to help them with the process:<div class=""><br class=""></div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><a href="https://github.com/jtfrey/job-templating-tool" class="">https://github.com/jtfrey/job-templating-tool</a></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">May be of some use to you.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><br class=""><blockquote type="cite" class="">On Jul 15, 2020, at 16:13 , c b <<a href="mailto:breedthoughts.www@gmail.com" class="">breedthoughts.www@gmail.com</a>> wrote:<br class=""><br class="">I'm trying to run an embarrassingly parallel experiment, with 500+ tasks that all differ in one parameter.  e.g.:<br class=""><br class="">job 1 - script.py foo<br class="">job 2 - script.py bar<br class="">job 3 - script.py baz<br class="">and so on.<br class=""><br class="">This seems like a case where having a slurm array hold all of these jobs would help, so I could just submit one job to my cluster instead of 500 individual jobs.  It seems like sarray is only set up for varying an integer index parameter.  How would i do this for non-numeric values (say, if the parameter I'm varying is a string in a given list) ?<br class=""><br class=""><br class=""></blockquote><br class=""></div></body></html>