Looking at what you provided in your email the groupadd commands are failing, due to the requested GID 991 and 992 already being assigned by the system your installing on.
Check the /etc/group file and find two GID numbers lower than 991 that are unused and use those instead. Keep them in the 900 range and going to low can run into system GID assignments.
Once you have selected your new GID’s use them in the groupadd commans to create the proper groups. Also use these new GID’s in the useradd commands as appropriate.
From: slurm-users <slurm-use...@lists.schedmd.com>
On Behalf Of Nousheen
Sent: Tuesday, January 25, 2022 2:39 PM
To: slurm...@lists.schedmd.com
Subject: [slurm-users] Fwd: useradd: group 'slurm' does not exist
◆ This message was sent from a non-UWYO address. Please exercise caution when clicking links or opening attachments from external sources.