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

Ben Bolker bolker at ufl.edu
Mon Aug 23 09:27:45 PDT 2010


  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
>>
>>
>>   
> 


-- 
Ben Bolker
bbolker at gmail.com , bolker at mcmaster.ca
http://www.math.mcmaster.ca/~bolker
GPG key: http://www.math.mcmaster.ca/~bolker/benbolker-publickey.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.admb-project.org/pipermail/users/attachments/20100823/573645c6/attachment.pgp>


More information about the Users mailing list