<div dir="ltr"><div><div><div><div><div>Hello Brad,<br><br></div>I might have found an issue with the multithread setup in CppAD.<br></div><div>I realized that CppAD must be called once before multithreading setup is performed, otherwise  an assert() will fail.<br><br></div>I have a attached a file where the issue appears (near copy from team_pthread.cpp).<br></div>This example will only work if team_example() is called one time with num_threads = 1 before being called with num_threads&gt;1.<br></div><div><br></div>Best regards,<br></div>João Leal<br></div>