<< Previous question   Table of contents   MOSIX home   Next question >>

Question:

How to use MOSIX with SLURM

Answer:

1. Use the -O flag of "srun" (for overcommit)

2. When allocating a new job ("srun", "salloc" or "sbatch"), use the flag "-Cmosix\*{MHN}", where "MHN" is the desired number of MOSIX home-nodes for the job.

3. Precede your commands with "mosrun [mosrun-parameters]". The mosrun-parameters should normally include "-b" and "-m{mem}".

4. Do not specify memory-requirements in "srun", because this does not work with overcommit.