You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These don't even work with plain ADOL-C on my Ubuntu 9.04 system. asinh etc are defined the std::tr1 namespace, but ADOL-C 2.1.0 doesn't use that. A solution would be to have:
#include <cmath>
#include <tr1/cmath>
namespace adolc_math {
using namespace std;
using namespace std::tr1;
}
and then defining ADOLC_MATH_NSP to be adolc_math.
good idea.
I think the easiest way to proceed is to fork ADOL-C 2.1.0, change the code as you have stated, recommend the forked ADOL-C for PYADOLC and wait until the changes are incorporated in the official ADOL-C repository (ADOL-C 2.2.0?).
I've got most of the way there; there's a macro here
that checks for the headers. I've put this into configure.ac, and
after a bit of updating of header files, I managed to build ADOL-C.
I have to manually define ATRIG_ERF in usrparms.h; it seems to me that
configure should magically take care of it. I'll post a message to
the ADOL-C list and ask for advice.
No description provided.
The text was updated successfully, but these errors were encountered: