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

Allow finding tblite as dependency #16

Merged
merged 1 commit into from
Aug 25, 2021
Merged

Conversation

awvwgk
Copy link
Member

@awvwgk awvwgk commented Aug 23, 2021

  • has to find mctc-lib explicitly, since modules are used src/tblite.f90
  • make sure we can link statically against external dependencies

- has to find mctc-lib explicitly, since modules are used src/tblite.f90
- make sure we can link statically against external dependencies
@awvwgk
Copy link
Member Author

awvwgk commented Aug 23, 2021

@JayTheDog You can give it a try on majestix with

git clone https://github.com/awvwgk/QCxMS && cd QCxMS
git checkout dependency
module load intel tblite
meson setup _build --default-library=static --buildtype=release -Dfortran_link_args="-qopenmp -static" -Dfortran_args="-Ofast -axAVX2 -mtune=core-avx2 -fma"

This should greatly reduce build time and also use the specially tuned version of tblite I compiled for our micro archs.

@JayTheDog JayTheDog merged commit 274da66 into qcxms:main Aug 25, 2021
@awvwgk awvwgk deleted the dependency branch August 25, 2021 11:49
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