Closed ezpzbz closed 3 years ago
After all, it is not a feature which want to have directly in the workchain. Still workchain can be improved to address some issues listed below but delegating the job of generating deintercalation composition within the workchain can cause unwanted issues.
OUTCAR
file.aiida-fireworks
plugin which is new and intended for buffering jobs on HPC. Briefly, we will submit all jobs at once, then this plugin will get them and will take care of sending them to nodes.Having this feature does not make much sense after all. So, I'm closing it.
context
In the current version, we only consider fully deintrcalation of ions which is not the case for most of studies. Therefore, it should be seen in the workchain that how we can consider the partial removal of ions.
solution
We can relatively easy implement this feature via having a
calcfunction
andto_context
submission scheme. So, the following steps should be taken in the workchain:partial
orfull
deintercallation.partial
switched toTrue
, after optimization of fully lithiated structure, the structure update would be doe usingbsym
. Here, we also need to have another input as the requested number of Li removal. There should be a calcfunction that takes the optimized structure, replaces theLi
withX
and removesX
. It will return a dictionary ofStructureData
objects.run_charged
, and in the case of having the above dictionary (for example,self.ctx.partial_deli_structures
), it will loop over values and submit them all in parallel.