Le 02/09/2018 à 14:13, Simon King a écrit :
5. Use Macaulay2
    Bad: (a) The experimental spkg is broken, it won't install.
         (b) The installation instructions for Ubuntu on the project
            pages are rather verbose and require adding obscure
            repositories.
        (c) Installation from sources (release-1.12 from github):
            i. Although I installed all dependencies listed in the
               INSTALL file, "make" fails because additionally givaro
               is required. And 'export MAKE="make -j3"' makes Macaulay2
               believe that gnu make is not installed.
            ii. I tried installation in a Sage shell, as givaro is
               in Sage. However, "make" fails as follows:
/home/king/Projekte/Macaulay2/M2/M2/usr-host/include/fflas-ffpack/fflas/fflas_ftrsm_src.inl:279:27:
 error: ‘openblas_set_num_threads’ was not declared in this scope
    openblas_set_num_threads(__FFLASFFPACK_OPENBLAS_NUM_THREADS);
                            ^
cc1plus: warning: unrecognized command line option ‘-Wno-mismatched-tags’
../../include/config.Makefile:226: recipe for target 'interface.o' failed
make[2]: *** [interface.o] Error 1
make[2]: Leaving directory '/home/king/Projekte/Macaulay2/M2/M2/Macaulay2/d'
Makefile:20: recipe for target 'all-in-d' failed
make[1]: *** [all-in-d] Error 2
    ==> Currently Macaulay2 is no option.

Hi,

Actually, not only givaro but also fflas-ffpack (another dependency of 
macaulay2) is in sagemath.
Your compilation error seem to indicate a mess in the configuration: you have probably 2 installs of fflas-ffpack, one in SageMath, the other one in Macaulay2 of different versions and this likely causes the compilation failure. Maybe use the Sage's provided givaro is a bad idea as it forces you to also know about Sage's fflas-ffpack and I don't know if it is possible to disable Macaulay's fflas-ffpack when configuring it.

Clément

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to