def load(self, profile_name):
    'Set this profiles values to the values loaded from the profile\n        stored under the given name. An exception is raised if no profile of\n        that name could be found.\n\n        :param profile_name: the name of the profile that will be loaded\n        :type profile_name: string\n        '
    import jip
    profiles = jip.config.get('profiles', {})
    if (profile_name not in profiles):
        raise ValueError(('Profile %s not found!' % profile_name))
    profile = profiles[profile_name]
    self.threads = profile.get('threads', self.threads)
    self.nodes = profile.get('nodes', self.nodes)
    self.tasks = profile.get('tasks', self.tasks)
    self.tasks_per_node = profile.get('tasks_per_node', self.tasks_per_node)
    self.environment = profile.get('environment', self.environment)
    self.time = profile.get('time', self.time)
    self.queue = profile.get('queue', self.queue)
    self.priority = profile.get('priority', self.priority)
    self.log = profile.get('log', self.log)
    self.out = profile.get('out', self.out)
    self.account = profile.get('account', self.account)
    self.mem = profile.get('mem', self.mem)
    self.extra = profile.get('extra', self.extra)
    self.env = profile.get('env', self.env)
    self.description = profile.get('description', self.description)
Set this profiles values to the values loaded from the profile
stored under the given name. An exception is raised if no profile of
that name could be found.

:param profile_name: the name of the profile that will be loaded
:type profile_name: string
def load(self, profile_name):
    'Set this profiles values to the values loaded from the profile\n        stored under the given name. An exception is raised if no profile of\n        that name could be found.\n\n        :param profile_name: the name of the profile that will be loaded\n        :type profile_name: string\n        '
    import jip
    profiles = jip.config.get('profiles', {})
    if (profile_name not in profiles):
        raise ValueError(('Profile %s not found!' % profile_name))
    profile = profiles[profile_name]
    self.threads = profile.get('threads', self.threads)
    self.nodes = profile.get('nodes', self.nodes)
    self.tasks = profile.get('tasks', self.tasks)
    self.tasks_per_node = profile.get('tasks_per_node', self.tasks_per_node)
    self.environment = profile.get('environment', self.environment)
    self.time = profile.get('time', self.time)
    self.queue = profile.get('queue', self.queue)
    self.priority = profile.get('priority', self.priority)
    self.log = profile.get('log', self.log)
    self.out = profile.get('out', self.out)
    self.account = profile.get('account', self.account)
    self.mem = profile.get('mem', self.mem)
    self.extra = profile.get('extra', self.extra)
    self.env = profile.get('env', self.env)
    self.description = profile.get('description', self.description)