Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!eutrc3!eutrc4!rcpt
From: rcpt@eutrc4.urc.tue.nl (Piet Tutelaers)
Newsgroups: comp.lang.modula2
Subject: Re: FUNNY Eight Co-Queens
Summary: Tim's proposed suggestions failed
Message-ID: <844@eutrc3.urc.tue.nl>
Date: 15 Aug 89 12:16:43 GMT
References: <819@eutrc3.urc.tue.nl> <89220.090027ODX@PSUVM>
Sender: news@eutrc3.urc.tue.nl
Lines: 36


On my program Queens.mod (a solution of the 8 queens problem with
coroutines), that crashes the Logitech 3.0 development system, I got the
following suggestions:

< I compiled your code using JPI TopSpeed M2 and it worked identically (and
< correctly) with lines 3 and 69 and without them.  I don't have the Logitech
< compiler anymore, but I used to work with it (I should say *argue* with it :-)
< and I still have the documentation.  It seems to me that two possible things
< might be going on here, both of which should be easy to test (you may have
< tested them already, but just in case :-).  One is that the compiler is trying
< to optimize the loop in Init, and is not updating the memory location of
< colData[initCol] soon enough (page 87 of User's Manual v3.0).  You might try
< turning optimization off before the loop is entered.

I did, but this does not solve the problem.

< ..........                                           Otherwise, the work-
< space you are allocating may be too small (page 383 of User's Manual v3.0).
< You might try increasing wkspsize to 1024 or so, as it says near the middle
< of page 383.

I have played around with all kind of workspace sizes, but again without any
success (the program with lines 3 and 69 added, runs within the given
workspace 0f 200).

< Sorry I couldn't be of more help, but maybe one of these ideas will work.
< 
< Good luck,
< Tim Larson
< ODX@PSUVM.BITNET

Thanks Tim for your suggestions

Piet Tutelaers
rcpt@eutrc3.UUCP