Both directories run_dir and resource_dir which are defined in ubench_config.py use a hard coded syntax /home/<userid> which may not always match the real user's home directory .
To improve this behavior, pwd package can be used and the correct value can be found using the following function: pwd.getpwuid(os.getuid()).pw_dir .
Both directories
run_dir
andresource_dir
which are defined inubench_config.py
use a hard coded syntax/home/<userid>
which may not always match the real user's home directory .To improve this behavior,
pwd
package can be used and the correct value can be found using the following function:pwd.getpwuid(os.getuid()).pw_dir
.