Re: [pypy-dev] Problems Installing STM

2012-01-05 Thread Armin Rigo
Hi Andrew, On Thu, Jan 5, 2012 at 20:34, Andrew Francis wrote: > [translation:ERROR]  AssertionError: cast_ptr_to_adr(gcref) is a bad idea > with STM.  Consider checking config.stm in (pypy.rpython.memory.gc.minimark:427)MiniMarkGC.post_setup at 0x98f82d4> Ah, sorry. You need also to pass the

Re: [pypy-dev] Problems Installing STM

2012-01-05 Thread Andrew Francis
Hi Armin: From: Armin Rigo To: Andrew Francis Cc: "[email protected]" Sent: Thursday, January 5, 2012 5:46 AM Subject: Re: [pypy-dev] Problems Installing STM >You don't need a PyPy at all, pre-compiled or not.  You don't

Re: [pypy-dev] Problems Installing STM

2012-01-05 Thread Armin Rigo
Hi Andrew, On Tue, Jan 3, 2012 at 19:45, Andrew Francis wrote: > I have downloaded pypy from the repository, overlaid it with a pre-compiled > (I don't have a big enough machine to compile from source) and use > virtualenv, altering PYTHONPATH to point to the top of the pypy directory. You don't

[pypy-dev] Problems Installing STM

2012-01-03 Thread Andrew Francis
Hi Folks: I want to experiment with the STM module. I read the "Comprehensive Strategy for Contention Management in STM" paper and compiled the rstm module. I figured learning to write C/C++ programmes with the module would be a good way to get a feel for STM. On the PyPy side: I have downl