Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filling in trials automatically does not update meta data/json DB #313

Open
zbeekman opened this issue Oct 30, 2018 · 6 comments
Open

Filling in trials automatically does not update meta data/json DB #313

zbeekman opened this issue Oct 30, 2018 · 6 comments

Comments

@zbeekman
Copy link
Member

[zbeekman@onyx01:/p/work/zbeekman/FDL3DI-2.1] $ du -h -d 0 .tau/CFD-KNL/Onyx-knl-FDL-sample-stall-cyc/4
18M	.tau/CFD-KNL/Onyx-knl-FDL-sample-stall-cyc/4
[zbeekman@onyx01:/p/work/zbeekman/FDL3DI-2.1] $ tau trial list 4
== Trial Configurations (/p/work/zbeekman/FDL3DI-2.1/.tau/project.json) =============================================================================================================================================================

+--------+-----------+---------------------------------------------------------------------------------------------------------------------+-------------+-----------+-----------------+
| Number | Data Size |                                                       Command                                                       | Description |  Status   | Elapsed Seconds |
+========+===========+=====================================================================================================================+=============+===========+=================+
|   4    |   0.0B    | aprun -n 64 -N 8 -d 16 -j 2 --cc=depth tau_exec -T papi,pthread,b50df500,intel,mpi -ebs ../FDLv2/fdl3di.exe.knl.kji |     N/A     | executing |       N/A       |
+--------+-----------+---------------------------------------------------------------------------------------------------------------------+-------------+-----------+-----------------+

Selected experiment: Onyx-knl-FDL-sample-stall-cyc

😠

@nchaimov
Copy link
Member

What does "filling in trials automatically" mean?

@zbeekman
Copy link
Member Author

tau trial del 4 when 5 and 6 exist, followed by tau trial create ... aka tau aprun -n ... a.out

@zbeekman
Copy link
Member Author

Sorry, I sent that pre-maturely. To elaborate further, the meta data shown is from the deleted trial. This was not done on the latest unstable, so I've updated and I'm testing again. I suspect the version I was using is recent enough that this issue will persist, but I'll try to reproduce with the latest unstable.

@nchaimov
Copy link
Member

nchaimov commented Oct 30, 2018

The data size, command, etc. are all part of the Trial object... I don't see how it could be reusing metadata from the deleted trial unless the trial was not in fact deleted. Deleting the Trial should remove its entry from the database entirely (and, in the case of a Trial, also delete the corresponding directory).

@zbeekman
Copy link
Member Author

zbeekman commented Oct 30, 2018 via email

@nchaimov
Copy link
Member

Can this be reproduced consistently? If so, does examining the database file in a text editor (it's just a big JSON object) after the delete show that the deleted record is still in the database somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants