taucmdr.cf.storage.project module¶
TAU project storage container
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.
- 
class taucmdr.cf.storage.project.ProjectStorage[source]¶
- Bases: - taucmdr.cf.storage.local_file.LocalFileStorage- Handle the special case project storage. - Each TAU Commander project has its own project storage that holds project-specific files (i.e. performance data) and the project configuration. - 
destroy(*args, **kwargs)[source]¶
- Disconnects the database and filesystem and recursively deletes the filesystem. - Parameters: - *args – Passed through to disconnect_filesystem.
- **kwargs – Keyword arguments for disconnect_filesystemorshutil.rmtree.
 
- *args – Passed through to 
 - 
prefix¶
- Searches the current directory and its parents for a TAU Commander project directory. - This method does not create or modify files. If the project directory cannot be found then an error is raised. It’s up to the caller to determine how the error should be handled. - Returns: - The project directory, i.e. this storage container’s filesystem prefix. - Return type: - str - Raises: - ProjectStorageError– Neither the current directory nor any of its parent directories contain a TAU Commander project directory.
 
- 
- 
exception taucmdr.cf.storage.project.ProjectStorageError(search_root)[source]¶
- Bases: - taucmdr.cf.storage.StorageError- Indicates that the project storage has not been initialized. - 
message_fmt= '%(value)s\n\n%(hints)s\nPlease contact %(contact)s for assistance.'¶
 
- 
