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

BAGEL interface for XMS and MS-CASPT2 in FSSH and LZSH #153

Merged
merged 36 commits into from
Jan 15, 2024
Merged

Conversation

JanosJiri
Copy link
Contributor

The interface for BAGEL and ABIN to perform FSSH and LZSH simulations. It is set to do XMS-CASPT2 by default but input can be modified for MS-CASPT2 and CASSCF. It was tested on cyclopropanone molecule and benchmarked to MOLPRO. Credits to Tomas Jira and Jiri Suchan.

The interface for BAGEL and ABIN to perform FSSH and LZSH simulations.
It is set to do XMS-CASPT2 by default but input can be modified for
MS-CASPT2 and CASSCF. It was tested on cyclopropanone molecule and
benchmarked to MOLPRO. Credits to Tomas Jira and Jiri Suchan.
Copy link
Contributor

@danielhollas danielhollas left a comment

Choose a reason for hiding this comment

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

Awesome, thanks so much to all who contributed to this interface! 👍

interfaces/BAGEL-LZ/r.bagel Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel Outdated Show resolved Hide resolved
interfaces/BAGEL-SH/r.bagel Outdated Show resolved Hide resolved
interfaces/BAGEL-SH/r.bagel Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel Outdated Show resolved Hide resolved
interfaces/BAGEL-SH/r.bagel.nacm Outdated Show resolved Hide resolved
interfaces/BAGEL-SH/r.bagel.nacm Outdated Show resolved Hide resolved
Quick fix of the previous commit based on review by Dan Hollas to make the code working.
Renaming files correctly so that ABIN can call BAGEL interface. The rest
of the review will be processed later.
@danielhollas
Copy link
Contributor

@JanosJiri you can ignore the build errors on this PR, they are not real issues with the code.

This commit contains partial improvements of BAGEL interface. It is not
finished and working, but serves to share progress with Michal and
Honza.
@codecov
Copy link

codecov bot commented Dec 5, 2022

Codecov Report

Merging #153 (50dc81c) into master (81fdc94) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #153   +/-   ##
=======================================
  Coverage   92.37%   92.37%           
=======================================
  Files          43       43           
  Lines        6084     6084           
  Branches      719      741   +22     
=======================================
  Hits         5620     5620           
  Misses        452      452           
  Partials       12       12           
Flag Coverage Δ
unittests 24.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Input is now in separate files so that r. files need not to be modified.
Gradient calculation detects convergence failure and restarts with new
thresholds if necessary.
@danielhollas
Copy link
Contributor

@JanosJiri is this ready for a new round of review or not yet?

@JanosJiri
Copy link
Contributor Author

Yes, it's ready for review @danielhollas.

@danielhollas danielhollas self-requested a review January 26, 2023 16:01
Copy link
Contributor

@danielhollas danielhollas left a comment

Choose a reason for hiding this comment

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

This is looking great now @JanosJiri! Some final small things, and then I'll test it locally with our BAGEL.

interfaces/BAGEL-LZ/r.bagel-lz Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel-lz Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/bagel.inp Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel-lz Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel-lz Outdated Show resolved Hide resolved
interfaces/BAGEL-SH/r.bagel-sh.nacm Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel-lz Outdated Show resolved Hide resolved
interfaces/BAGEL-LZ/r.bagel-lz Show resolved Hide resolved
Suggestion by Dan Hollas were incorporated all except the nproc
variable. We don't have mpi ready here so I could not test it. These
versions are working at our krypton cluster.
@danielhollas danielhollas self-requested a review March 2, 2023 16:52
@danielhollas
Copy link
Contributor

Thanks @JanosJiri 👏 I'll do some testing locally (hopefully next week) and then we should be good to go!

JanosJiri and others added 4 commits August 15, 2023 13:40
This interface is a simple modification of the BAGEL-LZ interface. It
was tested on cyclobutanone MD with GLE thermostat.
@danielhollas
Copy link
Contributor

@JanosJiri I've cleaned up the interfaces in BAGEL-SH and tested XMS-CASPT2, MS-CASPT2 and CASSCF. I've been able to reduce a lot of duplication by moving stuff into functions in bagel.inp. If this looks good to you I'll apply the same thing to LZ and ground state BAGEL.

@danielhollas
Copy link
Contributor

Okay, I think I am done. 😅 I've cleaned up all the three interfaces and tested them on Hamilton. The scripts now also pass the shellcheck BASH linter, invoked as

shellcheck -a -x r.bagel*

@JanosJiri It would be great if you could do last tests on Prague clusters and then we're good to go. When testing, you can increase the deltaE parameter so that you also exercise the NACM calculation. Thanks!

Copy link
Contributor

@danielhollas danielhollas left a comment

Choose a reason for hiding this comment

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

I am going to merge this. We can always open a new PR if we run into any issues or have more improvements.

Awesome work, very happy with what we have. 👏

@danielhollas danielhollas merged commit f25a007 into master Jan 15, 2024
19 checks passed
@danielhollas danielhollas deleted the bagel branch January 15, 2024 14:50
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.

2 participants