Search Docs by Keyword

Table of Contents

How do I fairly manage dual/multiple lab affiliations for work on the FASRC cluster?

We’re really glad you asked us this question! How you submit your jobs will determine what lab’s fairshare is┬áselected. There are two levels to this question, the first concerning filesystem rights and the second SLURM submissions.

JOBS/SLURM

In SLURM, ensure that your primary group membership is set for the appropriate lab, and, if you belong to an additional group, ask the additional PI to send us an e-mail requesting that we add your account to their group in SLURM. When submitting SLURM jobs, by default all resource usage will be charged to your primary SLURM group. If you wish to submit jobs for the other group, use the --account=2NDGROUPNAME option on the sbatch or salloc (srun) command.

Example: --account=jharvard_lab

You can also include it as a directive in an sbatch script.

Example: #SBATCH --account=jharvard_lab

FILESYSTEMS

For filesystem rights, your primary group ID should be set to your primary lab group, and you can request additional group memberships via the Portal. If you wish to switch to the other group for work (for example, when creating files in smith_lab shared storage, you would want to make sure your group is set to smith_lab, not jones_lab), use the newgrp 2NDGROUPNAME command.

Example: newgrp jharvard_lab

Bookmarkable Section Links

© The President and Fellows of Harvard College
Except where otherwise noted, this content is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.