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: taucmdr.cf.storage.sqlite3_file.SQLiteLocalFileStorage

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.

connect_filesystem(*args, **kwargs)[source]

Prepares the store filesystem for reading and writing.

destroy(*args, **kwargs)[source]

Disconnects the database and filesystem and recursively deletes the filesystem.

Parameters:
force_cwd(force)[source]
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.
tau_dir(taudir)[source]