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

R: Set CMAKE_BIN=$(command -v cmake3) #63

Closed
HenrikBengtsson opened this issue Apr 27, 2022 · 1 comment
Closed

R: Set CMAKE_BIN=$(command -v cmake3) #63

HenrikBengtsson opened this issue Apr 27, 2022 · 1 comment

Comments

@HenrikBengtsson
Copy link
Owner

The nloptr packages requires a modern version of CMake, cf. https://www.c4.ucsf.edu/howto/r.html#the-nloptr-package. The current instructions are to use module load CBI cmake to work around this problem.

However, one can also set CMAKE_BIN to point to the cmake3 binary, cf. astamm/nloptr#104 (comment).

If CMAKE_BIN is unique to nloptr, it should be safe to do this automatically as part of the r module.

@HenrikBengtsson
Copy link
Owner Author

Done

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

No branches or pull requests

1 participant