taucmdr.cf.storage.levels module

TAU Commander hierarchical file and record storage system.

System-level records are globally readable and writable, depending on the user’s system access level. System-level is a good place for software package installations and some system-specific configurations, e.g. target or compiler configurations.

User-level records are readable and writable by (at least) the user. User-level is also where software is installed when the user doesn’t have write access to SYSTEM_PREFIX. It’s a good place for user-specific records, i.e. preferences or encrypted login credentials.

Project-level records define the project and its member components. The user may also want to install software packages at the project level to avoid quotas or in situations where USER_PREFIX is not accessible from cluster compute nodes.

taucmdr.cf.storage.levels.ORDERED_LEVELS = (<taucmdr.cf.storage.storage_dispatch.ProjectStorageDispatch object at 0x7f2b780a38d0>, <taucmdr.cf.storage.storage_dispatch.StorageDispatch object at 0x7f2b7809cb90>, <taucmdr.cf.storage.storage_dispatch.StorageDispatch object at 0x7f2b79d4a5d0>)

All storage levels in their preferred order.

taucmdr.cf.storage.levels.PROJECT_STORAGE = <taucmdr.cf.storage.storage_dispatch.ProjectStorageDispatch object>

Project-level data storage.

taucmdr.cf.storage.levels.STORAGE_LEVELS = {'project': <taucmdr.cf.storage.storage_dispatch.ProjectStorageDispatch object at 0x7f2b780a38d0>, 'user': <taucmdr.cf.storage.storage_dispatch.StorageDispatch object at 0x7f2b7809cb90>, 'system': <taucmdr.cf.storage.storage_dispatch.StorageDispatch object at 0x7f2b79d4a5d0>}

All storage levels indexed by their names.

taucmdr.cf.storage.levels.SYSTEM_STORAGE = <taucmdr.cf.storage.storage_dispatch.StorageDispatch object>

System-level data storage.

taucmdr.cf.storage.levels.USER_STORAGE = <taucmdr.cf.storage.storage_dispatch.StorageDispatch object>

User-level data storage.

taucmdr.cf.storage.levels.highest_writable_storage()[source]