[Shootout-list] mandelbrot errors (perl, gforth, guile, ...)

Greg Buchholz sleepingsquirrel@member.fsf.org
Mon, 28 Feb 2005 08:33:06 -0800 (PST)


--0-1939689387-1109608386=:52352
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

Brent Fulgham wrote:
<snip> 
> The logging shows the last successful run.  This means
> that the Forth version completed successfully and
> produced an output file (shown as the N=200 file).
> 
> Since there was no diff error, the N=200 version must
> have been acceptable.
> 
> I'm guessing that the program failed on the next
> iteration (N=300).  Since the output file was not
> obliterated by the N=300 output, the GForth program
> probably crashed during the run (before producing
> output).
> 
> I'm anticipating that you will tell me that you tested
> the GForth version, and it works properly on your
> system at N=300, N=400, N=500, etc.  :-)  If so, can
> you carefully check any configuration or runtime
> settings?  Perhaps I'm missing some kind of heap or
> stack size parameter that allows GForth to complete
> successfully.

    Arrrgh! Okay, my age must be catching up with me.  Looks like I
didn't have the program correct after all (must have screwed it up while
beautifying it for the shootout).  Attached is the REAL gforth version.
I've now tested it with N=127, 200, 300, 400, 401, and 500.  I'm
confident it'll work this time, but just for reference, I'm using gforth
version 0.6.2, with no extra special stack or heap parameters. 



Greg Buchholz




		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
--0-1939689387-1109608386=:52352
Content-Type: application/octet-stream; name="mandelbrot.gforth"
Content-Transfer-Encoding: base64
Content-Description: mandelbrot.gforth
Content-Disposition: attachment; filename="mandelbrot.gforth"

XCBUaGUgR3JlYXQgQ29tcHV0ZXIgTGFuZ3VhZ2UgU2hvb3RvdXQKXCBodHRw
Oi8vc2hvb3RvdXQuYWxpb3RoLmRlYmlhbi5vcmcvClwgClwgY29udHJpYnV0
ZWQgYnkgIEdyZWcgQnVjaGhvbHoKXCBydW46IGdmb3J0aCBtYW5kZWwuZ2Zv
cnRoIDYwMCA+b3V0LnBibQoKCjQuMGUwIGZjb25zdGFudCBsaW1pdF9zcXIK
dmFyaWFib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Ny
IDsgCjogY21wbHhfcGxhbmUgKCB5IHggLS0gRjogQ3IgQ2kpCiAgICBzPmYg
Mi4wZSBmKiBOVU0gcz5mIGYvIDEuNWUgZi0KICAgIHM+ZiAyLjBlIGYqIE5V
TSBzPmYgZi8gMS4wZSBmLSA7CjogZm9yX3ggTlVNIDAgP2RvIGR1cCBpCiAg
ICAgICAgICAgICAgICBjbXBseF9wbGFuZQogICAgICAgICAgICAgICAgMC4w
ZTAgMC4wZTAgaXRlcmF0ZSAKICAgICAgICAgICAgICAgIAogICAgICAgICAg
ICAgICAgYnl0ZV9hY2MgMiohCiAgICAgICAgICAgICAgICBtYWdfc3FyIGxp
bWl0X3NxciBmPD0gaWYgYnl0ZV9hY2MgaW5jISBlbmRpZgogICAgICAgICAg
ICAgICAgYml0X251bSBpbmMhCiAgICAgICAgICAgICAgICBiaXRfbnVtIEAg
OCA9IGlmIHNob3dfYnl0ZSAwIGJpdF9udW0gISAwIGJ5dGVfYWNjICEKICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpIE5VTSAxLSA9IGlm
IGJ5dGVfYWNjIEAgOCBOVU0gOCBtb2QgLSAgCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsc2hpZnQgYnl0ZV9h
Y2MgISAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIHNob3dfYnl0ZQogICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgMCBiaXRfbnVtICEKICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDAgYnl0
ZV9hY2MgIQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgZW5kaWYKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ZW5kaWYKICAgICAgICAgICAgICAgIGZkcm9wIGZkcm9wCiAgICAgICAgICAg
ICAgbG9vcCA7CjogZm9yX3kgTlVNIDAgP2RvIGkgZm9yX3ggbG9vcCA7Cgpw
cmVhbWJsZQpmb3JfeQpieWUK

--0-1939689387-1109608386=:52352--