[ADMB Users] Need to increase the maximum number of dlinks

dave fournier davef at otter-rsch.com
Mon Apr 18 08:27:39 PDT 2011


    Well you could  increase the maximum number of dlinks.

   grepping on the source one finds something like

   if (nlinks > gradient_structure::MAX_DLINKS)
   {
     cerr << "Need to increase the maximum number of dlinks" << endl;


then grepping on gradient_structure::MAX_DLINKS  produces something like

     gradstrc.cpp:int gradient_structure::MAX_DLINKS = 5000;

Sop change that to something like

int gradient_structure::MAX_DLINKS = 10000;

and recompile the source.





More information about the Users mailing list