On Thu, Mar 04, 2021 at 06:46:14PM +0800, Qian Yun wrote:
> Another tricky bug on Windows is that, we can't compile TMFORM
> with default heap size, so we need to pass "--dynamic-space-size 4096".
>
> That is not a problem on Linux, but on Windows, it's complicated.
>
> First, by default, SBCL installation path contains spaces.
> ("C:\Program Files\Steel Bank Common Lisp\2.0.0")
>
> Our configure script and Makefile are not happy about it.
>
> Is it a bug that we can't compile FriCAS with SBCL installed in a
> directory which contains spaces (on either linux or windows).
>
> Second, I can tweak build script to make previous problem go away,
> but to combine "SBCL path contains space" and "pass additional
> parameters to SBCL", it seems impossible? I can't work out the
> correct combination between quote chars and escape chars.
IIUC Windows has "shortcuts" which are supposed to act like
Unix symbolic links. Maybe it is enough to create a
shortcut?
> Anyway, we can simply install SBCL into "C:\sbcl" and call it a day,
> but still, can we improve the current situation?
>
> Third, is it a bug that compile TMFORM requires so much RAM?
> We should look into it to see if RAM usage can be reduced.
AFAICS RAM usage during compilation of TMFORM is really sbcl
bug. It seem that the problem is the same as AWAIC.
Namely, we need to initialise a table and at Lisp level
it is longish segment of code with calls but no jump.
Apparently sbcl thinks that this is excellent opportunity
to optimize and collects insane amounts of information,
consequently running out of resources.
For the record, ECL has no trouble to compile (tranlate to C)
those files. On AWAIC gcc exibits high memory usage and
long compile time but after 10 minutes it finished.
We could try to tweak Lisp output by Spad compiler, but it is
not clear how much we can gain in this way.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/20210304153721.GA31886%40math.uni.wroc.pl.