[ADMB Users] new version of R2admb on R-forge
dave fournier
davef at otter-rsch.com
Sat Aug 21 01:40:42 PDT 2010
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
>
>
>
More information about the Users
mailing list