Dear Chris,
Thanks very much for this. If I can be if nay further
assistance, please let me know. Can you let me know if you
make any progress on this in future releases of OpenBugs, or
if you wish me to try out fixes?
Best wishes,
Anthony
On 17/08/12 14:49, Chris Jackson wrote:
> Anthony,
>
> I've managed to reproduce this on the latest version. It looks like a
> deep bug in the mechanism that OpenBUGS uses to communicate with BRugs on
> Linux (and 64 bit windows). As you see, we'd neglected to test it on the
> GeoBUGS examples. Don't think there's an easy workaround, but we'll
> investigate it and work on a fix.
>
> Chris (OpenBUGS developer)
>
>
> On Mon, 13 Aug 2012 15:38:53 +0100, Anthony Staines
> <[log in to unmask]> wrote:
>> Dear colleagues,
>>
>> I am working on using BRugs for the first time. I have it
>> installed and working on Gentoo Linux, with OpenBugs
>> installed to my home directory.
>>
>> I've worked through the Rats example, and it works very
>> nicely. I then tried the Scotland lip cancer example, using
>> the code from the manual, and the files supplied with OpenBugs.
>>
>> In OpenBugs, the script (excerpted) below works fine, when
>> fed in line by line, and when fed in as a script file, and
>> gives very reasonable results.
>>
>> modelCheck("Scotlandmodel.txt") # check model file
>> modelData("Scotlanddata.txt") # read data file
>> modelCompile(2)
>>
>> modelInits("Scotlandinits.txt",1)
>> modelInits("Scotlandinits1.txt",2) #load init data files
>>
>> modelGenInits()
>>
>> modelUpdate(5000) # burn in
>>
>> In BRugs (R 2.14.1) this script, adapted for BRugs, runs
>> fine to the line
>> modelCompile(numChains=2) # compile model with 2 chains
>> where it fails
>>
>> > modelCheck("Scotlandmodel.txt") # check model file
>> model is syntactically correct
>> > modelData("Scotlanddata.txt") # read data file
>> data loaded
>> > modelCompile(numChains=2) # compile model with 2 chains
>> Error in handleRes(res) :
>> Internal "trap" error in OpenBUGS, or non-existent module
>> or procedure called.
>> >
>>
>> The model is the Scotlandmodel.txt distributed with
>> OpenBUGS. Am I doing something really dim? Do I need to
>> install OpenBUGS globally?
>> All advice gratefully received,
>> Anthony
>
--
Anthony Staines, Professor of Health Systems,
School of Nursing and Human Sciences, DCU, Dublin 9,Ireland.
Tel:- +353 1 700 7807. Mobile:- +353 86 606 9713
http://astaines.eu/
You may leave the list at any time by sending the command
SIGNOFF allstat
to [log in to unmask], leaving the subject line blank.
|