I have a scripting question regarding submitting jobs to the cluster.
There is a limitation per user of 1000 jobs only.
Let's say I have 1200 tar.gz files


I tried to submit all the jobs together but after 1000 jobs it gave me an
error message saying per user limit is 1000 and after that it did not
queued the remaining jobs.
I want to write a script where if the submitted jobs goes below
1000(because they finished running), then next jobs are submitted in the
queue. How can I do that?
I have written something like this:

for i in *tar.gz
do
   qsub -l h_vmem=4G -cwd -j y -b y -N tar -R y -q all.q,gpu.q "tar -xzf $i"
done

Hope to hear from you soon.

Regards
Varun
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to