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

gmxapi CMake toolchain #101

Open
eirrgang opened this issue May 31, 2018 · 0 comments
Open

gmxapi CMake toolchain #101

eirrgang opened this issue May 31, 2018 · 0 comments
Labels

Comments

@eirrgang
Copy link
Collaborator

Life is simplest when the Python gmx package is built with the same compiler as libgromacs and libgmxapi, but this typically is a burden on the user. It might help for gromacs-gmxapi to export a CMake toolchain file that the CMakeLists.txt files in gmxapi and sample_restraint will look for to get the right compilers. On the other hand, if we miss something and environment variables still need to be set to find the right libc or some such thing then the errors could be more confusing. We could instead reimplement or reuse gromacs_check_compiler() from gromacs/share/cmake/gromacs/gromacs-config.cmake to make a fatal error with explicit documentation.

@eirrgang eirrgang added this to To do in 0.0.7.2 Jun 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant