-
Notifications
You must be signed in to change notification settings - Fork 15
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
Elastic tensor and child jobs when submitting #197
Comments
Update |
I was able to confirm that this also occurs with a local vasp installation and I think the issue is that the pressure stored in vasp jobs is a scalar, while it is a 3x3 matrix for lammps. I think it would be good to catch this somewhere in the ElasticTensor class. Also it is a bit unclear to me if it is possible to purposely switch to calculation of elastic constants based on energy instead of stresses, since accurate stresses require very high energy cutoffs in dft calculations? The _fit_coeffs_with_energies already exists, but it only seems to get triggered if no pressures are calculated. It would be great if that would be a user option imo. |
I'm going to make sure that there's an option to make energy fitting available even if there's a pressure entry. Other than that I don't really understand why there's only one pressure value and not a pressure tensor. I guess that's something @sudarsan-surendralal can correct? |
I'm not super familiar with the definition of VASP pressures and I am not 100% sure that the stresses output from VASP directly compares to the (3x3) pressure output from LAMMPS. A typical VASP stresses output looks like this
We currently parse the second last line (which gives the stress tensor) and average over the diagonal components of the stress tensor to calculate the hydrostatic pressure which is a scalar.
@samwaseda @Leimeroth , does this correspond to the "pressure tensor" defined in LAMMPS (https://lammps.sandia.gov/doc/compute_pressure.html#description) |
I presume that the values given in But it might make sense to check whether |
What does |
Sorry strain. And it should be |
@Leimeroth Is this issue fixed? |
I don't know if all issues that came up here are fixed. Master jobs and using the energy to fit elastic constants work now, but I am not sure how pressure is stored in VASP jobs now. |
As of #354 the voigt stresses are in the HDF files under |
Yeah I'd say that's a problem. Is there a particular reason that it shouldn't be available in |
See this. For some reason that was already taken and back then we decided not to change the meaning because of backwards compat. |
I think this is fixed since vasp stores the tensor now |
Also see updates 1 and 2 below, issues seems to be the storage of pressure in vasp jobs
Summary
ElasticTensor jobs fail for me when I submit them to our remote cluster.
I am not really sure but I think this could be related to some other weird behavior which I noticed that affects all AtomisticParallel jobs. When I submitted Murnaghan jobs with old pyiron versions (not sure which ones) each child job was given an id and stored in the local database, then each job was submitted to the cluster. Now only the master job is stored in the local database and submitted to the cluster. This has the side effect that the child_ids attribute is an empty list, maybe this causes the issue?
Murnaghan jobs still work, even if there child_ids is empty, so maybe something else causes the problem.
pyiron Version and Platform
Newest pyiron versions from git.
Steps to Reproduce
Submit a ElasticTensor job to a remote cluster.
Error message
The text was updated successfully, but these errors were encountered: