Skip to content

specifying resources? #88

Description

@nick-youngblut

The gridmap docs seem to have essentially nothing about specifying job resources (eg., time and memory), although I see there is an unmerged PR for specifying a gpu resource. All I se in the code is:

        if self.mem_free and USE_MEM_FREE:
            ret += " -l mem_free={}".format(self.mem_free)
        if self.num_slots and self.num_slots > 1:
            ret += " -pe {} {}".format(self.par_env, self.num_slots)
        if self.white_list:
            ret += " -l h={}".format('|'.join(self.white_list))
        if self.queue:
            ret += " -q {}".format(self.queue)

How is the user supposed to set -l h_rt or -l h_vmem? We also have special resource settings that our cluster admin setup, so how can the user specify non-standard resources (e.g., -l tmpfs)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions