Workspace

From bwHPC Wiki
Revision as of 12:45, 27 September 2016 by K Siegmund (talk | contribs) (moved here from BwUniCluster_Hardware_and_Architecture&action=edit&section=7; added lead)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Workspaces provide temporary scratch space for your calculation on a central file storage. They are meant to keep data for a limited time – but usually longer than the time of a single job run. It is not meant for permanent storage, hence data in workspaces is not backed up and may be lost in case of problems on the storage system. Please copy/move important results to $HOME or some disks outside the cluster.

Create workspace

To create a workspace you need to state name of your workspace and lifetime in days. A maximum value for lifetime and a maximum number of renewals is defined on each cluster. Execution of:

  $ ws_allocate blah 30

e.g. returns:

  Workspace created. Duration is 720 hours. 
  Further extensions available: 3
  /work/workspace/scratch/username-blah-0

For more information read the program's help, i.e. $ ws_allocate -h.


List all your workspaces

To list all your workspaces, execute:

  $ ws_list

which will return:

  • Workspace ID
  • Workspace location
  • available extensions
  • creation date and remaining time


Find workspace location

Workspace location/path can be prompted for any workspace ID using ws_find, in case of workspace blah:

  $ ws_find blah

returns the one-liner:

  /work/workspace/scratch/username-blah-0


Extend lifetime of your workspace

Any workspace's lifetime can be only extended a cluster-specific number of times. There several commands to extend workspace lifetime

  1. $ ws_extend blah 40
    which extends workspace ID blah by 40 days from now,
  2. $ ws_extend blah
    which extends workspace ID blah by the number days used previously
  3. $ ws_allocate -x blah 40
    which extends workspace ID blah by 40 days from now.


Delete a workspace

  $ ws_release blah # Manually erase your workspace blah