Re: [racket] Non threadsafe Fortran library (ARPACK) vs Racket 5.3.3

2013-04-02 Thread Alexander Shendi (Web.de)
Hi Michael, You were right. My mistake was that I assumed that the size of a Fortran LOGICAL was 8 bits, whereas it is 32 bits (at least in g77's case). Many thanks for your help, Alexander "Alexander Shendi (Web.de)" schrieb: >Hi all, > >So here it is > > > >Michael Wilber schrieb: > >>W

Re: [racket] Non threadsafe Fortran library (ARPACK) vs Racket 5.3.3

2013-04-02 Thread Alexander Shendi (Web.de)
Hi all, So here it is Michael Wilber schrieb: >Without places, racket is single-threaded, so non-threadsafe code >shouldn't be a problem unless you're using places. > >When the presence or absence of JIT compilation is significant, that >tells me that maybe you're doing something undefined wi

Re: [racket] Non threadsafe Fortran library (ARPACK) vs Racket 5.3.3

2013-04-02 Thread Danny Yoo
#:in-original-place? should do the trick, as it's what the pango bindings do as well: https://github.com/plt/racket/blob/master/collects/racket/draw/unsafe/pango.rkt#L121-L128 You probably don't need #:atomic?. #:atomic? has to do with callbacks from foreign code back into Racket.

Re: [racket] Non threadsafe Fortran library (ARPACK) vs Racket 5.3.3

2013-04-02 Thread Michael Wilber
Without places, racket is single-threaded, so non-threadsafe code shouldn't be a problem unless you're using places. When the presence or absence of JIT compilation is significant, that tells me that maybe you're doing something undefined with memory. Would you mind showing us the source code? "

[racket] Non threadsafe Fortran library (ARPACK) vs Racket 5.3.3

2013-04-02 Thread Alexander Shendi (Web.de)
Hi, So I habe now installed DrRacket and everything seemed fine until I tried to access libarpack.so via Racket's foreign interface. I seem to have two problems: - the library is not threadsafe. - "racket" and "racket -j" give different results for the same problem. This leads to the following qu

[racket] Network ports, sandboxes?

2013-04-02 Thread Danny Yoo
[I am changing the subject line so that it may be easier to track the conversation.] You can see examples of port usage (including an example of tcp) here on this page: http://docs.racket-lang.org/guide/ports.html You'll want to look into getting familiar with the general input and output

[racket] (no subject)

2013-04-02 Thread deepak verma
i have included the " # lang racket" phrase i have issues with the syntax of tcp-connect it would we very helpful if u can tell how can i send a message "hello" from one machine to another using tcp can u tell something about sand-box and what all things we can do from it thankx

Re: [racket] Racket 5.3.3 vs OpenBSD 5.3

2013-04-02 Thread Matthew Flatt
At Tue, 02 Apr 2013 01:11:49 +0200, Juan Francisco Cantero Hurtado wrote: > On 04/01/13 23:41, Matthew Flatt wrote: > > Thanks for tracking this down! > > > > Just to make sure, does `--enable-libffi' work for you? It should be > > the default, actually. > > Yes, but I added -pthread to LDFLAGS. O