Hi community,
I'm looking for a script/code which starts a shell script with a MPI process depending on:
a) the processor workload, i.e. if the workload falls below a certain limit
b) alternatively if the previous process finished, e.g. if a process ID disappears
I need this for computations on a linux cluster, and I would run more than one model in one night. I know, the runs need only a couple of hours and it would be nice to have subsequent computations (at least two).
It is ensured that the processor workload does not fall below about 80% within the run.
I'm rather beginner in linux shell programming, so it would be helpful to have a relatively clear description
but please write your ideas, even if it's only a search advice or whatever...
Regards
Chris
ps.: OS Linux Centos 5.2