[Mauiusers] change max jobs

Garrick Staples garrick at clusterresources.com
Tue Apr 24 12:46:31 MDT 2007

On Tue, Apr 24, 2007 at 10:39:07AM -0700, slash alleged:
> if I want to change max jobs in maui (I did before, recompiling from new
> src), I recall I had to change the 4096 in two places.  I find four(4) 4096
> instances in .h files

This is what I've been doing in my own maui.spec

perl -pi -e 's/^#define MMAX_JOB .*/#define MMAX_JOB 8192/' include/msched.h
perl -pi -e 's/^#define MAX_MJOB .*/#define MAX_MJOB 8192/' include/msched.h
perl -pi -e 's/^#define MAX_MCLASS  .*/#define MAX_MCLASS  64/' include/msched-common.h
perl -pi -e 's/^# define MAX_MRES  .*/# define MAX_MRES 4096/' include/moab.h

More information about the mauiusers mailing list