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

Warning: Could not remove job with ID X - when deleting master #1405

Open
jan-janssen opened this issue Apr 9, 2024 · 0 comments
Open

Warning: Could not remove job with ID X - when deleting master #1405

jan-janssen opened this issue Apr 9, 2024 · 0 comments

Comments

@jan-janssen
Copy link
Member

Example code:

from pyiron_atomistics import Project

pr = Project("ev_curve")
job_lmp = pr.create.job.Lammps("lmp")
job_lmp.structure = pr.create.structure.ase.bulk("Al", cubic=True)
job_elastic = pr.create.job.Murnaghan("murn")
job_elastic.ref_job = job_lmp
job_elastic.run()

pr.remove_jobs(recursive=True, silently=True)

The child jobs of the Murnaghan job (ID 1) are already deleted when the Murnaghan job is deleted. So we see a series of warnings when the corresponding child jobs (ID 2 - 12) are deleted:

2024-04-09 10:54:00,429 - pyiron_log - WARNING - Could not remove job with ID 2
2024-04-09 10:54:00,429 - pyiron_log - WARNING - Could not remove job with ID 3 
2024-04-09 10:54:00,429 - pyiron_log - WARNING - Could not remove job with ID 4 
2024-04-09 10:54:00,429 - pyiron_log - WARNING - Could not remove job with ID 5 
2024-04-09 10:54:00,430 - pyiron_log - WARNING - Could not remove job with ID 6 
2024-04-09 10:54:00,430 - pyiron_log - WARNING - Could not remove job with ID 7 
2024-04-09 10:54:00,431 - pyiron_log - WARNING - Could not remove job with ID 8 
2024-04-09 10:54:00,431 - pyiron_log - WARNING - Could not remove job with ID 9 
2024-04-09 10:54:00,431 - pyiron_log - WARNING - Could not remove job with ID 10 
2024-04-09 10:54:00,432 - pyiron_log - WARNING - Could not remove job with ID 11 
2024-04-09 10:54:00,432 - pyiron_log - WARNING - Could not remove job with ID 12 
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

1 participant