[ADMB Users] Fwd: Re: new version of R2admb on R-forge

Schnute, Jon Jon.Schnute at dfo-mpo.gc.ca
Mon Aug 23 15:20:07 PDT 2010


Thanks, Johnoel. I'm sorry if I've missed something fundamental here,
but I guess I don't know what the "admb version control" actually is. At
one point, I thought that current source code would always be available
at the Google site:

 

http://code.google.com/p/admb-project/.

 

However, the source code there hasn't changed since December 31, 2009.
So how do general users obtain a copy of the current source code? Also,
how often are the various binary distributions updated to include the
latest revisions, and where can a user obtain them? How often will the
Google code site be updated, or is this no longer the official
distribution site? Has anyone devised a dynamic system of version
numbers that could potentially include the version control revision
number (736 in your example below)?

 

In my mind, these matters have important consequences for the user
community. I've already encountered different results from ADMB
depending on which version a particular user happens to have. We've been
having difficulty keeping PBSadmb current with all the various operating
systems, compilers, and hardware platforms. I'd really like to
understand the distribution system properly. Once I do, I'll discuss it
fully in the User's Guide for PBSadmb.

 

Thanks to anyone who can help me with this.

Jon

 

From: users-bounces at admb-project.org
[mailto:users-bounces at admb-project.org] On Behalf Of Johnoel Ancheta
Sent: August-23-10 2:15 PM
To: Ben Bolker
Cc: users at admb-project.org
Subject: Re: [ADMB Users] Fwd: Re: new version of R2admb on R-forge

 

Hi Ben,

Committed the changes suggested by Dave to the admb 
version control.

Index: src/df1b2-separable/tpl2rem.lex
===================================================================
--- src/df1b2-separable/tpl2rem.lex    (revision 736)
+++ src/df1b2-separable/tpl2rem.lex    (working copy)
@@ -3942,8 +3942,17 @@
 
 #else
     strcpy(outcommand,"cat xxglobal.tmp   xxhtop.tmp   header.tmp "
-     "  xxalloc1.tmp   xxalloc2.tmp   xxalloc3.tmp   xxalloc4.tmp "
-     "   xxalloc5.tmp    xxtopm.tmp    xxalloc6.tmp > ");
+     "  xxalloc1.tmp   xxalloc2.tmp   xxalloc3.tmp ");
+    if (report_defined)
+    {
+      strcat(outcommand," xxalloc4.tmp");
+    }
+    if (preliminary_calcs_defined)
+    {
+      strcat(outcommand," xxalloc5.tmp");
+    } 
+    strcat(outcommand, "  xxtopm.tmp    xxalloc6.tmp > ");
+
     strcpy(outcommand2,"cat tfile1  tfile2 tfile3 tfile4 > ");
 
     strcpy(outcommand3a,"sed -n -f ");


Johnoel

On 8/23/10 8:02 AM, John Sibert wrote: 

Can you please look into this and reply to Ben and the list? 

Thanks, 
John 

-------- Original Message -------- 
Subject:     Re: [ADMB Users] new version of R2admb on R-forge 
Date:     Mon, 23 Aug 2010 12:27:45 -0400 
From:     Ben Bolker <bolker at ufl.edu> <mailto:bolker at ufl.edu>  
To:     davef at otter-rsch.com <davef at otter-rsch.com>
<mailto:davef at otter-rsch.com>  
CC:     users at admb-project.org <users at admb-project.org>
<mailto:users at admb-project.org> , Motoki Wu <apewu at ucdavis.edu>
<mailto:apewu at ucdavis.edu>  



  Can this/has this gone in the 'official' source tree so it gets taken 
care of in the next release? 

  thanks, 
    Ben Bolker 

dave fournier wrote: 



 Ben Bolker wrote: 

 OK in that case one can get rid of the erros reported in the liver
gamma 
 function by modifying the 
 lex input file like this. 
 get rid of 
  /* 
     strcpy(outcommand,"cat xxglobal.tmp   xxhtop.tmp   header.tmp " 
      "  xxalloc1.tmp   xxalloc2.tmp   xxalloc3.tmp   xxalloc4.tmp" 
      "   xxalloc5.tmp    xxtopm.tmp    xxalloc6.tmp>  "); 
   */ 
 and change to 
     strcpy(outcommand,"cat xxglobal.tmp   xxhtop.tmp   header.tmp " 
      "  xxalloc1.tmp   xxalloc2.tmp   xxalloc3.tmp "); 
     if (report_defined) 
     { 
       strcat(outcommand," xxalloc4.tmp"); 
     } 
     if (preliminary_calcs_defined) 
     { 
       strcat(outcommand," xxalloc5.tmp"); 
     } 
     This file is named remod10 on my version.  I can supply other 
 detailas etc if required. 






 dave fournier wrote: 




 Ben Bolker wrote: 

 Well there is some confusion because it appears to me that Motoki was 
 using  tpl2rem on simple.tpl 
 which has no random effects. 
 I say this because my  version of tpl2cpp does not produce any error 
 message. 

 Once that is settled 
 for  tpl2rem it would be simple modify the  cat ...  line to exclude
the 
 missing files. 



   It is already settled. 
   As I explained, Motoki's problem came about because R2admb flagged
the 
 warning message about 'safe mode' as an error (it no longer does). 
 Motoki got confused (I think) by the bit of code that was used to flag 
 the 'xxalloc' warnings and thought that was the problem with the code. 
   By default the current version of R2admb runs simple.tpl just fine, 
 with a warning message on some versions about 'safe' mode being 
 deprecated.  It filters xxalloc warnings. 

   cheers 
      Ben 




 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20100823/cfab3601/attachment.html>


More information about the Users mailing list