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

fhi-aims compatibility #90

Merged
merged 2 commits into from
Mar 25, 2020

Conversation

ikowalec
Copy link
Contributor

@ikowalec ikowalec commented Mar 11, 2020

FHI-aims calculator check_state is not behaving as it should, preventing the calculations from occurring after the first one.

Erasing results prior to next calculation restores intended functionality in ASE/FHI-aims/MLNEB setup.

Change does not affect performance based on mlneb.py test.

FHI-aims calculator requires a separate calculator object to be assigned for each Atoms object. Otherwise references are created and calculations do not proceed after the first DFT calculation. 

Line 866 - added a deepcopy to create new calculator objects

This change restores intended functionality. Since Catlearn does not stop until it arrives at a result, this prevents other users from burning their computational time (and diskspace with growing .traj file!), when using an ASE/FHI-aims/Catlearn setup
Removed deepcopy.

Erasing results prior to new calculation restores intended functionality in ASE/FHI-aims/CatLearn setup.

This is a bypass for check_state not working as intended
@mhangaard mhangaard changed the title WIP_fhi-aims compatibility WIP: fhi-aims compatibility Mar 12, 2020
@mhangaard mhangaard self-requested a review March 12, 2020 14:50
Copy link
Collaborator

@mhangaard mhangaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the previous commit, I tested most of the tutorials including the GPAW one and it works.
When ready to merge, please remove "WIP:" from the title.

@mhangaard mhangaard self-requested a review March 13, 2020 12:06
@mhangaard
Copy link
Collaborator

mhangaard commented Mar 13, 2020

@jagarridotorres do you have access to VASP? Would be cool to test tutorial 11_NEB/00_VASP_example with these changes and the latest ASE if possible.

@ikowalec ikowalec changed the title WIP: fhi-aims compatibility fhi-aims compatibility Mar 13, 2020
Copy link
Collaborator

@mhangaard mhangaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully tested last commit with GPAW in serial.

@ikowalec ikowalec closed this Mar 15, 2020
@ikowalec ikowalec reopened this Mar 15, 2020
@ikowalec
Copy link
Contributor Author

Successfully tested last commit with GPAW in serial.

Great and thanks. Apologies for accidental close of request.

@mhangaard mhangaard merged commit bd7735d into SUNCAT-Center:master Mar 25, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants