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

XYZ & packaging bug fixes #199

Merged
merged 6 commits into from
Mar 20, 2024
Merged

XYZ & packaging bug fixes #199

merged 6 commits into from
Mar 20, 2024

Conversation

godotalgorithm
Copy link
Collaborator

The XYZ keyword should have absolutely no effect on geometries given in Cartesian coordinates, but its current behavior can change optimization flags of the 1st 3 atoms in some edge cases. I've minimally modified its behavior to avoid this problem, but there are some fundamental ambiguities about mixing Cartesian and internal coordinates that make the behavior impossible to specify in a sensible manner for all cases.

Also, a minor packaging bug was reported that the Windows zip-based installer doesn't include the DLL for OpenMP, which I've fixed here.

This also contains a very minor touch-up of localizing the memory workspaces for the Pulay mixer so that it doesn't take up excess memory when not in use. I hastily added the workspace to the common arrays when I first implemented the BLAS-based Pulay mixer, which unnecessarily increased MOPAC's base memory footprint. The memory management inside of the SCF cycle is not especially optimized, so the memory footprint can probably be further reduced, but it's a rather big mess to sort through.

Status

  • Ready for merge

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 53.12500% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 66.75%. Comparing base (ce31f37) to head (a968191).

Files Patch % Lines
src/SCF/iter.F90 53.84% 6 Missing ⚠️
src/input/readmo.F90 14.28% 6 Missing ⚠️
src/input/getgeo.F90 62.50% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #199      +/-   ##
==========================================
- Coverage   66.76%   66.75%   -0.02%     
==========================================
  Files         332      332              
  Lines       74071    74082      +11     
==========================================
- Hits        49456    49454       -2     
- Misses      24615    24628      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@godotalgorithm godotalgorithm merged commit a22996f into main Mar 20, 2024
7 of 9 checks passed
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.

1 participant