-datagrp

Specifies user group for job data requirements.

Categories

properties, resource

Synopsis

[-datagrp "user_group_name "]

Description

By default, if the CACHE_PERMISSIONS=group parameter is specified in lsf.datamanager, the data manager uses the primary group of the user who submitted the job to control access to the cached files. Only users who belong to that group can access the files in the data requirement. Use the -datagrp option to specify a particular user group for access to the cache. The user who submits the job must be a member of the specified group. You can specify only one -datagrp option per job.

The job must have a data requirement to use -datagrp.

Normally, if you submit a data job with the -datagrp option, you must belong to the data group specified. If you do not belong to the specified group, the mbatchd daemon rejects the job submission. If the LSF_DATA_SKIP_GROUP_CHECK=Y parameter is configured in the lsf.conf file, mbatchd does no user group checking, and just accepts the job submission. The parameter LSF_DATA_SKIP_GROUP_CHECK=Y affects only the mbatchd daemon. User group checking is not affected by how the CACHE_ACCESS_CONTROL parameter is configured in the lsf.datamanager file.

Examples

The following job requests the data file /proj/std/model.tar, which belongs to the user group design1:
bsub -o %J.out -data "hostA:/proj/std/model.tar" -datagrp "design1" my_job.sh
 Job <1962> is submitted to default queue <normal>.