taucmdr.cf.storage.sqlite3_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.sqlite3_project.SQLiteProjectStorage[source]¶
Bases:
SQLiteLocalFileStorageHandle 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.
- _abc_impl = <_abc._abc_data object>¶
- 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
shutil.rmtreeordisconnect_filesystem().
- property 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:
- Raises:
ProjectStorageError – Neither the current directory nor any of its parent directories contain a TAU Commander project directory.