-
Notifications
You must be signed in to change notification settings - Fork 31
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
build in separate directory fails #30
Comments
Hi, I've not tested it in a separate build directory - the instructions say to type ./configure and make in the top-level directory. |
OK that works. |
Is there a proper way to create a debug / release version of the libraries ? |
Most of the Adept library is in headers, so if you want to debug your own code that use the library, you don't need to recompile the Adept library - you just should compile your code with the -DADEPT_BOUNDS_CHECKING -DADEPT_INIT_SNAN -DADEPT_TRACK_NON_FINITE_GRADIENTS flags (although I normally don't bother with the last one). See the other options at section 5.6.1 at http://www.met.reading.ac.uk/clouds/adept/adept_documentation_2.1.pdf |
I was able to implement a general adapet gradient and thereby include adept in my new AD comparison package; see The idea behind this comparison package is that it should be easy to add packages and easy to build and test for just one package; i.e., it is only necessary to get the packages one is interested in. The result for some small example cases can be seen in src/main.csv: The cases above are small. You can run larger cases (on your system) using the program Thanks. |
Steps to reproduce:
Result:
Configure Warning:
configure: WARNING: cannot determine how to obtain linking information from f77
System:
The text was updated successfully, but these errors were encountered: