-
Notifications
You must be signed in to change notification settings - Fork 134
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
Error building examples on Linux #603
Comments
The problem has been identified. The Makefile generated for the examples during the SUNDIALS build does not account for which third-party libraries are enabled etc. The file includes all: examples examples_bl examples_klu examples_slumt Since LAPACK was disabled when building SUNDIALS the examples_bl should not be built. This also explains why running CMake to regenereate the Makefile fixes the issue. Suggested fixUpdate the docs to make this more clear (coming from a non-native English speaker). |
Thanks @willidu. We will try and make the documentation more clear about when re-running CMake is necessary. |
I noticed when running
some linking flags appear to be missing for
|
@Steven-Roberts I think |
I am working on a larger project that use SUNDIALS and want to test its functionality independently. I have tried to build the CXX examples. Most of them work, but some of them do not.
Current Behavior:
Building CVODE CXX examples fail due to undefined references.
Steps To Reproduce:
Fork/clone the repo, checkout v7.0.0. Occurs on master as well
Build SUNDIALS with CMake:
Build some examples
cd install/examples/nvector/serial make ./test_nvector_serial 10 0
Output is success.
cd install/examples/cvode/CXX_serial make
Output (see full output.txt):
Environment:
Edit - Test outputs
As the documentation suggests, i have run 'make test' and 'make test_install'. All is success.
test_output.txt
The text was updated successfully, but these errors were encountered: