-
Notifications
You must be signed in to change notification settings - Fork 7
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
User friendly support and logic for additional Fleur inputfiles in Fleurinpdata #89
Comments
I have just fixed a bug that did not allow one to validate For example, if one initialises
then the Should it work for Later addition: I have realised that now it works for |
|
Why did they change this? shouldn't the default behavior be that '-explicit' puts everything in the inp.xml (no sym.out file) and not using |
But I have to talk to @gregor about this. Another option is to parse the sym.out data from the |
I have checked also some time ago if inpgen finds the same symmetries spglib does. Either way I think routines to parse the symmetries are not bad to have. |
@anoopkcn all the contents should be already parsed and stored in the FleurinpData attributes:
|
That's a good suggestion. Then all I have to do is to find the corresponding fleurinp data. I will try this. |
There is no reason of finding it, you can just make it on-fly without storing it in the database:
It is actually the way to parse the content of an inp.xml file - just pass it to the FleurinpData initialiser and it will do the job. |
It might also be useful to provide support for removing additional files via the FleurinpModifier (Obviously removing the inp.xml would make no sense at all). For example I noticed that when you add a |
@janssenhenning there is the
|
@Tseplyaev Thanks that's the thing I'm looking for. But I have to think about how one would implement this in the scf workchain, as the fleurinp is only modified in the beginning before the first calculation if I understand it correctly |
But still it might make sense to expose this also to fleurinpmodifier. Because if you do clone, delete a file and store you loose the provenance. fleurinpmodifier does all modifications at once, therefore the file removal should be in there. |
we could also say in But prob. better implement it in the
i.e Per default all files from fleurinp are always added. |
@broeder-j settings would need an additional key 'remove_from_local_copy_list' for this right? line 430 is only used for versions without hdf5 (see lines 437-442).
It is not responsible for the behaviour I'm describing. In the case for HDF5 it would be enough to just remove |
@broeder-j But yes for calculations without HDF5 where remote_data and a fleurinp is specified it could make sense that the |
Some files should become part of fleurinp data some not, depending on the usecase.
If files have to be modyfied, be consistent with inp.xml and sometimes not copied, it may make sense to add them and provide further userfriendly methods for validation and modification.
Here we collect:
nmat file: For LDA+U, not created by inpgen, only by fleur reused in further runs, user sometimes provides a first guess (provide some initialize function), parsing not nessecary
sym.out file: external symmetries, important for GW (output only by inpgen), ggf need to be parsed
relax.xml: file for relaxation with forces and new positions. is written by fleur and reused by fleur. ggf need to be parsed
enpara file?: for certain modes one can provide this, but as far as I now, one does not change it.
@anoopkcn, @Tseplyaev something to add here?
The text was updated successfully, but these errors were encountered: