run.sh and debug.sh use maximum number of processors minus one.