[sage-support] Re: Problems Compiling 9.0
OK, I found the problem! When trying to compile 8.9 I got a more explicit error message (which I since then "lost" by compiling again) when it also failed due to openblas. The problem was using export MAKE="make -j4 -l5.5" as suggested in the README.md file. The `-l5.5` parameter was the problem. Removing it, I could compile 9.0 and now am compiling 8.9. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/e6b5f656-541d-4242-84f4-8432c5a47de6%40googlegroups.com.
[sage-support] Re: Problems Compiling 9.0
On Friday, January 3, 2020 at 11:54:04 AM UTC-8, finotti wrote: > > I'm trying to build version 9.0 from source under Linux (Debian > Unstable/Sid). The machine has Intel Core i7-8700 CPU and 48GB of RAM. > > Below is the end of the compilation: > > [snip] > > [twisted-16.3.0.p0] Finished installing twisted-16.3.0.p0.spkg > > make[3]: Leaving directory '/home/finotti/src/sage-9.0/build/make' > > make[2]: *** [Makefile:1830: all-start] Error 2 > > make[2]: Leaving directory '/home/finotti/src/sage-9.0/build/make' > > > > real21m22.729s > > user92m46.651s > > sys 9m10.370s > > *** > > Error building Sage. > > > > The following package(s) may have failed to build (not necessarily > > during this run of 'make all-start'): > > > > * package: openblas-0.3.6.p0 > > log file: /home/finotti/src/sage-9.0/logs/pkgs/openblas-0.3.6.p0.log > > build directory: /home/finotti/src/sage-9.0/local/var/tmp/sage/build/ > openblas-0.3.6.p0 > > > > The build directory may contain configuration files and other potentially > > helpful information. WARNING: if you now run 'make' again, the build > > directory will, by default, be deleted. Set the environment variable > > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. > > > > make[1]: *** [Makefile:33: all-start] Error 1 > > make[1]: Leaving directory '/home/finotti/src/sage-9.0' > > make: *** [Makefile:13: all] Error 2 > > The openblas-0.3.6.p0 directory did not seem to have any useful log file. > What about the log file listed: log file: /home/finotti/src/sage-9.0/logs/pkgs/openblas-0.3.6.p0.log ? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/a40275a0-148f-4302-a27a-9e0a6551d259%40googlegroups.com.
[sage-support] Problems Compiling 9.0
I'm trying to build version 9.0 from source under Linux (Debian Unstable/Sid). The machine has Intel Core i7-8700 CPU and 48GB of RAM. Below is the end of the compilation: [snip] [twisted-16.3.0.p0] Finished installing twisted-16.3.0.p0.spkg make[3]: Leaving directory '/home/finotti/src/sage-9.0/build/make' make[2]: *** [Makefile:1830: all-start] Error 2 make[2]: Leaving directory '/home/finotti/src/sage-9.0/build/make' real21m22.729s user92m46.651s sys 9m10.370s *** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * package: openblas-0.3.6.p0 log file: /home/finotti/src/sage-9.0/logs/pkgs/openblas-0.3.6.p0.log build directory: /home/finotti/src/sage-9.0/local/var/tmp/sage/build/ openblas-0.3.6.p0 The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. make[1]: *** [Makefile:33: all-start] Error 1 make[1]: Leaving directory '/home/finotti/src/sage-9.0' make: *** [Makefile:13: all] Error 2 The openblas-0.3.6.p0 directory did not seem to have any useful log file. Any ideas or suggestions? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/5e70969f-13d6-47dd-8a39-824b672abd99%40googlegroups.com.
[sage-support] Compiling 9.0
I'm trying to compile version 9.0 under Linux (Debian Unstable/Sid). I get: [twisted-16.3.0.p0] Finished installing twisted-16.3.0.p0.spkg make[3]: Leaving directory '/home/finotti/src/sage-9.0/build/make' make[2]: *** [Makefile:1830: all-start] Error 2 make[2]: Leaving directory '/home/finotti/src/sage-9.0/build/make' real21m22.729s user92m46.651s sys 9m10.370s *** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * package: openblas-0.3.6.p0 log file: /home/finotti/src/sage-9.0/logs/pkgs/openblas-0.3.6.p0.log build directory: /home/finotti/src/sage-9.0/local/var/tmp/sage/build/ openblas-0.3.6.p0 The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. make[1]: *** [Makefile:33: all-start] Error 1 make[1]: Leaving directory '/home/finotti/src/sage-9.0' make: *** [Makefile:13: all] Error 2 Any ideas or suggestions? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/151f7444-4b86-440d-bde1-734506e5a28f%40googlegroups.com.
[sage-support] Lie algebra morphism, mutable matrices, basis not defined
Dear sage-support, At Sage Days 106 we are trying to learn some of the Lie algebra functionality in SageMath and have two small questions regarding Lie algebra morphisms. We define the Lie algebra sl_2(QQ) in two ways as follows: sage: sl2 = lie_algebras.sl(QQ, 2, representation='matrix') sage: sl2.inject_variables() Defining e1, f1, h1 sage: sl2bis = LieAlgebra(QQ, {('e', 'h'): {'e': -2}, ('f', 'h'): {'f': 2}, ('e', 'f'): {'h': 1}}, names='e, f, h') sage: sl2bis.inject_variables() Defining e, f, h Trying to define a Lie algebra morphism between the two fails with this error: sage: sl2.morphism({e1: e, f1: f, h1: h}) Traceback (most recent call last) ... TypeError: mutable matrices are unhashable and I was wondering why the basis is not made of immutable matrices. Trying to define the morphism the other way around, fails with this error: sage: sl2bis.morphism({e: e1, f: f1, h: h1}) Traceback (most recent call last) ... NotImplementedError: the basis is not defined and I was wondering what is the problem here. Kind regards, Samuel Lelièvre -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAEcArF2%2Bh4FtFXGNXo7-aRPeiwzzRAGE%2BzSOsocvU545TFfpag%40mail.gmail.com.