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

Mark Maunder mmaunder at iattc.org
Mon Apr 18 11:14:37 PDT 2011


I guess this should be a command line option


-----Original Message-----
From: users-bounces at admb-project.org [mailto:users-bounces at admb-project.org] On Behalf Of dave fournier
Sent: Monday, April 18, 2011 8:28 AM
To: users at admb-project.org
Subject: Re: [ADMB Users] Need to increase the maximum number of dlinks

    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.


_______________________________________________
Users mailing list
Users at admb-project.org
http://lists.admb-project.org/mailman/listinfo/users


More information about the Developers mailing list