{"action":"closed","issue":{"url":"https://api.github.com/repos/materialsproject/custodian/issues/24","repository_url":"https://api.github.com/repos/materialsproject/custodian","labels_url":"https://api.github.com/repos/materialsproject/custodian/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/materialsproject/custodian/issues/24/comments","events_url":"https://api.github.com/repos/materialsproject/custodian/issues/24/events","html_url":"https://github.com/materialsproject/custodian/issues/24","id":149874590,"number":24,"title":"file_delete of CHGCAR/WAVECAR and nscf runs","user":{"login":"computron","id":986759,"avatar_url":"https://avatars.githubusercontent.com/u/986759?v=3","gravatar_id":"","url":"https://api.github.com/users/computron","html_url":"https://github.com/computron","followers_url":"https://api.github.com/users/computron/followers","following_url":"https://api.github.com/users/computron/following{/other_user}","gists_url":"https://api.github.com/users/computron/gists{/gist_id}","starred_url":"https://api.github.com/users/computron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/computron/subscriptions","organizations_url":"https://api.github.com/users/computron/orgs","repos_url":"https://api.github.com/users/computron/repos","events_url":"https://api.github.com/users/computron/events{/privacy}","received_events_url":"https://api.github.com/users/computron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-20T20:19:59Z","updated_at":"2016-04-21T02:04:06Z","closed_at":"2016-04-21T02:04:06Z","body":"\r\n## System\r\n\r\nMost recent custodian run on NERSC\r\n\r\n## Summary\r\n\r\n* Many VASP custodian handlers have a _file_delete action of CHGCAR and WAVECAR as part of their operation as part of the VASP \"recommendation\"\r\n* However, non-SCF runs (where the CHGCAR is held fixed) requires these files to be present. If they are deleted and VASP is restarted, the job will immediately fail.\r\n\r\n## Error message\r\n\r\n```\r\n reading WAVECAR\r\n WARNING: chargedensity file is incomplete\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n ERROR: charge density could not be read from file CHGCAR for ICHARG>10\r\n```\r\n\r\n## Suggested solution (if known)\r\n\r\nHandlers that delete the CHGCAR/WAVECAR should first check whether ICHARG > 10. If it is, then do not perform the deletion of CHGCAR/WAVECAR.\r\n\r\n## Files\r\n\r\nAn example run directory of this error will be available for the next couple of weeks if needed. Let me know."}}